mirror of
https://github.com/sethm/symon.git
synced 2024-12-27 19:30:03 +00:00
#13: Move cursor backward on ASCII Backspace
This commit is contained in:
parent
67f5e17f78
commit
5e56627f32
@ -215,7 +215,8 @@ public class Vt100TerminalModel extends AbstractTerminalModel {
|
||||
case '\t':
|
||||
while ((++cursorColumn % TAB_WIDTH) != 0);
|
||||
continue;
|
||||
case 127:
|
||||
case 8: // ASCII Backspace
|
||||
case 127: // ASCII Delete
|
||||
if (cursorColumn > 0) {
|
||||
cells[cursorRow][--cursorColumn] = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user