Mercurial > vim
diff src/errors.h @ 30329:8496a2c45962 v9.0.0500
patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible
Commit: https://github.com/vim/vim/commit/b2f0ca820eae50994745106d824e215d87bd7926
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 18 15:08:19 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Sep 2022 16:15:03 +0200 |
parents | 029c59bf78f1 |
children | fc0830246f49 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -17,7 +17,7 @@ EXTERN char e_backslash_should_be_follow 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"));