summaryrefslogtreecommitdiffstats
path: root/src/testdir/screendump.vim
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-02-10 19:52:10 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-10 19:52:10 +0000
commit560dff49c0095111fc96b4b8dd7f4d269aba9473 (patch)
treecd986c6411c522080f4e4d360bcfcfc99841162c /src/testdir/screendump.vim
parent74a0a5b26d0180f3ea89e9495dff6a26f0df23cb (diff)
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menuv8.2.4339
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)
Diffstat (limited to 'src/testdir/screendump.vim')
-rw-r--r--src/testdir/screendump.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/screendump.vim b/src/testdir/screendump.vim
index 8ea708a39f..8fc496d1e1 100644
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -27,6 +27,9 @@ func VerifyScreenDump(buf, filename, options, ...)
" Starting a terminal to make a screendump is always considered flaky.
let g:test_is_flaky = 1
+ " wait for the pending updates to be handled.
+ call TermWait(a:buf)
+
" Redraw to execute the code that updates the screen. Otherwise we get the
" text and attributes only from the internal buffer.
redraw