mirror of
https://github.com/sethm/symon.git
synced 2024-12-29 02:31:59 +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':
|
case '\t':
|
||||||
while ((++cursorColumn % TAB_WIDTH) != 0);
|
while ((++cursorColumn % TAB_WIDTH) != 0);
|
||||||
continue;
|
continue;
|
||||||
case 127:
|
case 8: // ASCII Backspace
|
||||||
|
case 127: // ASCII Delete
|
||||||
if (cursorColumn > 0) {
|
if (cursorColumn > 0) {
|
||||||
cells[cursorRow][--cursorColumn] = null;
|
cells[cursorRow][--cursorColumn] = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user