aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index dcc0b71..ccf84b0 100644
--- a/src/util.c
+++ b/src/util.c
@@ -260,7 +260,7 @@ check_for_keystroke(void)
{
struct bregs br;
memset(&br, 0, sizeof(br));
- br.flags = F_IF;
+ br.flags = F_IF|F_ZF;
br.ah = 1;
call16_int(0x16, &br);
return !(br.flags & F_ZF);