Mercurial > vim
comparison src/testdir/test_display.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 | c75f70257cf5 |
children | bdd6df4832ba |
comparison
equal
deleted
inserted
replaced
27625:bba604950a7e | 27626:95d6e3c9aa1e |
---|---|
173 END | 173 END |
174 let filename = 'Xdrawscreen' | 174 let filename = 'Xdrawscreen' |
175 call writefile(lines, filename) | 175 call writefile(lines, filename) |
176 let buf = RunVimInTerminal('-S '.filename, #{rows: 5, cols: 50}) | 176 let buf = RunVimInTerminal('-S '.filename, #{rows: 5, cols: 50}) |
177 call term_sendkeys(buf, "k") | 177 call term_sendkeys(buf, "k") |
178 call TermWait(buf) | |
179 call VerifyScreenDump(buf, 'Test_winline_rnu', {}) | 178 call VerifyScreenDump(buf, 'Test_winline_rnu', {}) |
180 | 179 |
181 " clean up | 180 " clean up |
182 call StopVimInTerminal(buf) | 181 call StopVimInTerminal(buf) |
183 call delete(filename) | 182 call delete(filename) |