From f12b67b9b1870fca92fdd6ef12873934d8ac63de Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 31 May 2007 15:43:49 -0700 Subject: [PATCH] Correct inverted handling of Ctrl-F --- ui.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui.inc b/ui.inc index bb34084..d357585 100644 --- a/ui.inc +++ b/ui.inc @@ -72,13 +72,13 @@ got_ascii: cmp al,7Fh ; == cmp di,command_line ; Space must not be first je short get_char enter_char: test byte [FuncFlag],1 - je ctrl_f ; Keystroke after + jnz ctrl_f ; Keystroke after cmp di,max_cmd_len+command_line ; Check there's space jnb short get_char stosb ; Save it call writechr ; Echo to screen jmp short get_char -not_ascii: mov byte [FuncFlag],0 +not_ascii: cmp al,0Dh ; Enter je command_done cmp al,'F' & 1Fh ; -- 2.7.4