File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const navigateHistory = (direction: number) => {
228228 historyIndex .value = Math .max (0 , Math .min (commandHistory .value .length , historyIndex .value + direction ))
229229
230230 if (historyIndex .value < commandHistory .value .length ) {
231- currentCommand .value = commandHistory .value [historyIndex .value ]
231+ currentCommand .value = commandHistory .value [historyIndex .value ]!
232232 } else {
233233 currentCommand .value = ' '
234234 }
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ const navigateHistory = (direction: number) => {
215215 historyIndex .value = Math .max (0 , Math .min (commandHistory .value .length , historyIndex .value + direction ))
216216
217217 if (historyIndex .value < commandHistory .value .length ) {
218- currentCommand .value = commandHistory .value [historyIndex .value ]
218+ currentCommand .value = commandHistory .value [historyIndex .value ]!
219219 } else {
220220 currentCommand .value = ' '
221221 }
You can’t perform that action at this time.
0 commit comments