comparison src/main.c @ 29179:432e1535ef2c v8.2.5109

patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode Commit: https://github.com/vim/vim/commit/7a1d32809bb5c1527314000983e75125d79192e0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 16 13:04:45 2022 +0100 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 https://github.com/vim/vim/issues/10581)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Jun 2022 14:15:03 +0200
parents d8a962d7b008
children 89e1d67814a9
comparison
equal deleted inserted replaced
29178:5c6a9452357f 29179:432e1535ef2c
1417 { 1417 {
1418 mch_disable_flush(); // Stop issuing gui_mch_flush(). 1418 mch_disable_flush(); // Stop issuing gui_mch_flush().
1419 update_screen(0); 1419 update_screen(0);
1420 mch_enable_flush(); 1420 mch_enable_flush();
1421 } 1421 }
1422 else if (redraw_cmdline || clear_cmdline) 1422 else if (redraw_cmdline || clear_cmdline || redraw_mode)
1423 showmode(); 1423 showmode();
1424 redraw_statuslines(); 1424 redraw_statuslines();
1425 if (need_maketitle) 1425 if (need_maketitle)
1426 maketitle(); 1426 maketitle();
1427 #ifdef FEAT_VIMINFO 1427 #ifdef FEAT_VIMINFO