sync: umm progress

This commit is contained in:
2026-03-25 23:07:44 +01:00
parent e03aa97716
commit 141204164a
2 changed files with 33 additions and 25 deletions

View File

@@ -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)
}
}
}