Mercurial > vim
diff src/testdir/test_terminal.vim @ 27626:95d6e3c9aa1e v8.2.4339
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
Commit: https://github.com/vim/vim/commit/560dff49c0095111fc96b4b8dd7f4d269aba9473
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Feb 10 19:52:10 2022 +0000
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
Problem: CTRL-A does not work properly with the cmdline popup menu.
Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
menu. Remove TermWait() before VeriryScreenDump(). Refactor the
cmdline popup code. (Yegappan Lakshmanan, closes #9735)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Feb 2022 21:00:04 +0100 |
parents | 68c33419fdc6 |
children | 6c87f679ed29 |
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -1137,18 +1137,15 @@ func Test_aa_terminal_focus_events() " Send a focus event to ourselves, it should be forwarded to the terminal call feedkeys("\<Esc>[O", "Lx!") - call TermWait(buf) call VerifyScreenDump(buf, 'Test_terminal_focus_1', {}) call feedkeys("\<Esc>[I", "Lx!") - call TermWait(buf) call VerifyScreenDump(buf, 'Test_terminal_focus_2', {}) " check that a command line being edited is redrawn in place call term_sendkeys(buf, ":" .. repeat('x', 80)) call TermWait(buf) call feedkeys("\<Esc>[O", "Lx!") - call TermWait(buf) call VerifyScreenDump(buf, 'Test_terminal_focus_3', {}) call term_sendkeys(buf, "\<Esc>")