Terminate program on ^C

This commit is contained in:
Juhani Krekelä 2022-02-25 01:42:51 +02:00
parent a6adf07fc7
commit e2cbdcaf92
1 changed files with 6 additions and 0 deletions

View File

@ -155,6 +155,9 @@ read_guess:
mov ah, 8
int 0x21
cmp al, 3
je .ctrl_c
cmp al, 8
je .backspace
@ -214,6 +217,9 @@ read_guess:
jmp .loop
.ctrl_c:
ret
.done:
check_hard_mode: