diff options
-rw-r--r-- | mbbsd/io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -639,7 +639,8 @@ igetkey() mode = last = 0; while (1) { - ch = igetch(); + if( !(ch = igetch()) ) + continue; if (mode == 0) { if (ch == KEY_ESC) mode = 1; |