diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-18 15:08:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-18 15:08:19 +0100 |
commit | b2f0ca820eae50994745106d824e215d87bd7926 (patch) | |
tree | 9fa5e1872f7138b1794aef6ffd85209874d125b8 /src/errors.h | |
parent | 566badc76ba7c0fbdc75e62f79486182304fc7cc (diff) | |
download | vim-git-b2f0ca820eae50994745106d824e215d87bd7926.tar.gz |
patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visiblev9.0.0500
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.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index e29387652..0882325b5 100644 --- a/src/errors.h +++ b/src/errors.h @@ -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")); |