Fixed an issue with the input where you can't backspace properly
This commit is contained in:
@@ -57,8 +57,8 @@ keyboard_display_input:
|
||||
ret ; Return to the parent function (whatever that may be)
|
||||
|
||||
.backspace:
|
||||
call .move_cursor_back ; then .move_cursor_back
|
||||
call .loop ; Else .loop
|
||||
jmp .move_cursor_back ; then .move_cursor_back
|
||||
jmp .loop ; Else .loop
|
||||
|
||||
.move_cursor_back:
|
||||
mov ah, 0Eh
|
||||
@@ -71,7 +71,7 @@ keyboard_display_input:
|
||||
int 10h
|
||||
|
||||
dec di
|
||||
jmp keyboard_display_input
|
||||
jmp .loop
|
||||
|
||||
.print_current_input: ; Echo back that character and return the key inputing
|
||||
stosb
|
||||
|
||||
Reference in New Issue
Block a user