Fix con_kbhit

git-svn-id: svn://kolibrios.org@9127 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2021-08-08 19:51:29 +00:00
parent fa01917d38
commit c565761174

View File

@ -1909,6 +1909,8 @@ con_kbhit:
jnz @f jnz @f
mov eax, [con.input_start] mov eax, [con.input_start]
cmp eax, [con.input_end] cmp eax, [con.input_end]
jnz @f
cmp [con.entered_char], 0xffff
@@: @@:
setnz al setnz al
movzx eax, al movzx eax, al