diff options
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index efb0cfd612..7cb45d557c 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -1678,7 +1678,7 @@ WaitForChar(long msec, int ignore_input) # ifdef FEAT_MBYTE_IME // May have to redraw if the cursor ends up in the wrong place. // Only when not peeking. - if (State & CMDLINE && msg_row == Rows - 1 && msec != 0) + if (State == MODE_CMDLINE && msg_row == Rows - 1 && msec != 0) { CONSOLE_SCREEN_BUFFER_INFO csbi; |