patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode

Problem:    Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution:   Set redraw_mode and use it. (closes #10581)
This commit is contained in:
Bram Moolenaar
2022-06-16 13:04:45 +01:00
parent 308660bd26
commit 7a1d32809b
5 changed files with 28 additions and 3 deletions

View File

@ -1419,7 +1419,7 @@ main_loop(
update_screen(0);
mch_enable_flush();
}
else if (redraw_cmdline || clear_cmdline)
else if (redraw_cmdline || clear_cmdline || redraw_mode)
showmode();
redraw_statuslines();
if (need_maketitle)