summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-16 13:04:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-16 13:04:45 +0100
commit7a1d32809bb5c1527314000983e75125d79192e0 (patch)
tree453ba22001b7fd204dc3ec34f9dc8a598f6966d8 /src/main.c
parent308660bd263367a4f1a75498cbd2e29cade47f4d (diff)
patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert modev8.2.5109
Problem: Mode not updated after CTRL-O CTRL-C in Insert mode. Solution: Set redraw_mode and use it. (closes #10581)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3d86796906..2ffee14226 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)