sync: umm progress
This commit is contained in:
@@ -25,15 +25,17 @@ export class Wush extends Shell {
|
||||
if (!isCharacter)
|
||||
switch (key) {
|
||||
case 'Backspace':
|
||||
this.terminal.RemoveCells(1)
|
||||
this.terminal.RemoveCell()
|
||||
this.terminal.MoveCursor(-1, 0)
|
||||
break
|
||||
case 'Enter':
|
||||
this.terminal.MoveCursor(0, 4, { x: true, y: false })
|
||||
this.Prompt()
|
||||
break
|
||||
}
|
||||
else {
|
||||
this.terminal.Write(key)
|
||||
this.terminal.AdjustCursorPosition(1, 0)
|
||||
this.terminal.MoveCursor(1, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user