0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0083: ModeChanged event not triggered when leaving cmdline window

Problem:    ModeChanged event not triggered when leaving the cmdline window.
Solution:   Call may_trigger_modechanged(). (closes #10791)
This commit is contained in:
zeertzjq
2022-07-26 18:12:38 +01:00
committed by Bram Moolenaar
parent 3cfae39b08
commit c9e8fd6fc7
4 changed files with 107 additions and 91 deletions

View File

@@ -4649,6 +4649,7 @@ open_cmdwin(void)
# endif
State = save_State;
may_trigger_modechanged();
setmouse();
return cmdwin_result;