]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1965: q can accidentally start recording at more prompt v9.1.1965
authorBjoern Foersterling <bjoern.foersterling@gmail.com>
Tue, 9 Dec 2025 12:27:00 +0000 (13:27 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 9 Dec 2025 12:27:00 +0000 (13:27 +0100)
commitecce3497fa9e1a7452ccfa8ba9cbdadb92bfb7fb
tree1c87fcf9570805b40ee9446c0064eb8022e962a2
parente72eacceab2647e37e7d7a8a70e89dcd6ad01288
patch 9.1.1965: q can accidentally start recording at more prompt

Problem:  When exiting at the end of the more prompt (at the hit enter
          prompt) by hitting q the recording mode will be started.
          (Jakub Łuczyński)
Solution: Don't add the q key to the typeahead buffer
          in the function wait_return (Bjoern Foersterling)

fixes: #2589
closes: #18889

Signed-off-by: Bjoern Foersterling <bjoern.foersterling@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/message.txt
src/message.c
src/testdir/test_messages.vim
src/version.c