Mercurial > vim
comparison src/testdir/screendump.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 | 60b5abfc4897 |
children | 54e33757d1ec |
comparison
equal
deleted
inserted
replaced
27625:bba604950a7e | 27626:95d6e3c9aa1e |
---|---|
24 let reference = 'dumps/' . a:filename . '.dump' | 24 let reference = 'dumps/' . a:filename . '.dump' |
25 let testfile = 'failed/' . a:filename . '.dump' | 25 let testfile = 'failed/' . a:filename . '.dump' |
26 | 26 |
27 " Starting a terminal to make a screendump is always considered flaky. | 27 " Starting a terminal to make a screendump is always considered flaky. |
28 let g:test_is_flaky = 1 | 28 let g:test_is_flaky = 1 |
29 | |
30 " wait for the pending updates to be handled. | |
31 call TermWait(a:buf) | |
29 | 32 |
30 " Redraw to execute the code that updates the screen. Otherwise we get the | 33 " Redraw to execute the code that updates the screen. Otherwise we get the |
31 " text and attributes only from the internal buffer. | 34 " text and attributes only from the internal buffer. |
32 redraw | 35 redraw |
33 | 36 |