diff src/ex_getln.c @ 23750:d98dcbc57f7f v8.2.2416

patch 8.2.2416: may get stuck in command line window state Commit: https://github.com/vim/vim/commit/bed72df3e61a8908ed6324212595118f305dded0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 27 20:34:29 2021 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Jan 2021 20:45:04 +0100
parents 7c730cf4fb82
children a91f3147d06e
line wrap: on
line diff
--- 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;
     }