diff --git a/programs/develop/libraries/console_coff/console.asm b/programs/develop/libraries/console_coff/console.asm index 3f4825eece..ea3b2cdf50 100644 --- a/programs/develop/libraries/console_coff/console.asm +++ b/programs/develop/libraries/console_coff/console.asm @@ -1909,6 +1909,8 @@ con_kbhit: jnz @f mov eax, [con.input_start] cmp eax, [con.input_end] + jnz @f + cmp [con.entered_char], 0xffff @@: setnz al movzx eax, al