1
0
forked from aniani/vim

patch 8.2.2416: may get stuck in command line window state

Problem:    May get stuck in command line window state.
Solution:   Reset "cmdwin_type" when editing buffer fails.  Make arglist test
            pass on MS-Windows.
This commit is contained in:
Bram Moolenaar
2021-01-27 20:34:29 +01:00
parent 21829c5f2c
commit bed72df3e6
3 changed files with 12 additions and 3 deletions

View File

@@ -4214,6 +4214,7 @@ open_cmdwin(void)
// Some autocommand messed it up?
win_close(curwin, TRUE);
ga_clear(&winsizes);
cmdwin_type = 0;
return Ctrl_C;
}