terminal/text: Treat delete (ASCII 127) as backspace
This commit is contained in:
parent
9aca4e2e57
commit
8d3ef81cba
|
@ -59,6 +59,8 @@ print_character_to_terminal_allow:
|
||||||
ifz jmp print_character_to_terminal_lf
|
ifz jmp print_character_to_terminal_lf
|
||||||
cmp.8 r0, 13 ; carriage return
|
cmp.8 r0, 13 ; carriage return
|
||||||
ifz jmp print_character_to_terminal_cr
|
ifz jmp print_character_to_terminal_cr
|
||||||
|
cmp.8 r0, 127 ; delete
|
||||||
|
ifz jmp print_character_to_terminal_bs
|
||||||
|
|
||||||
; check if we are at the end of this line
|
; check if we are at the end of this line
|
||||||
cmp.8 [terminal_x], TERMINAL_X_SIZE
|
cmp.8 [terminal_x], TERMINAL_X_SIZE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user