summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-27 20:34:29 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-27 20:34:29 +0100
commitbed72df3e61a8908ed6324212595118f305dded0 (patch)
tree6c18a3f46cb6794d166f81d35cb8bbbe7b4ca8cc /src/ex_getln.c
parent21829c5f2c86cd525c8468121b4fc54c5d75bf6e (diff)
patch 8.2.2416: may get stuck in command line window statev8.2.2416
Problem: May get stuck in command line window state. Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test pass on MS-Windows.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index d025368218..d6712c126a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -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;
}