From c5657611743aee8a7910041c38afc058e917d845 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 8 Aug 2021 19:51:29 +0000 Subject: [PATCH] Fix con_kbhit git-svn-id: svn://kolibrios.org@9127 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/console_coff/console.asm | 2 ++ 1 file changed, 2 insertions(+) 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