patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible
Problem: When quitting the cmdline window with CTRL-C it remains visible.
Solution: Redraw to avoid confusion. Adjust the error message.
(closes #11152) Adjust the cursor position after CTRL-C.
diff --git a/src/errors.h b/src/errors.h
index e293876..0882325 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -17,7 +17,7 @@
INIT(= N_("E10: \\ should be followed by /, ? or &"));
#ifdef FEAT_CMDWIN
EXTERN char e_invalid_in_cmdline_window[]
- INIT(= N_("E11: Invalid in command-line window; <CR> executes, CTRL-C quits"));
+ INIT(= N_("E11: Invalid in command-line window; :q<CR> closes the window"));
#endif
EXTERN char e_command_not_allowed_from_vimrc_in_current_dir_or_tag_search[]
INIT(= N_("E12: Command not allowed from exrc/vimrc in current dir or tag search"));