1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2022-09-18 15:08:19 +01:00
parent 566badc76b
commit b2f0ca820e
6 changed files with 57 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ EXTERN char e_backslash_should_be_followed_by[]
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"));