diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-24 21:25:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-24 21:25:44 +0100 |
commit | 2b10bcbfc1c025bf7e6358326ee70105e7d30e96 (patch) | |
tree | bb749db849a551b73f39c1111351118c06edc372 /src/testdir/screendump.vim | |
parent | 6bb2cdfe604e51eec216cbe23bb6e8fb47810347 (diff) |
patch 8.0.1540: popup menu positioning fails with longer stringv8.0.1540
Problem: Popup menu positioning fails with longer string.
Solution: Only align with right side of window when width is less than
'pumwidth' (closes #2661)
Diffstat (limited to 'src/testdir/screendump.vim')
-rw-r--r-- | src/testdir/screendump.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/screendump.vim b/src/testdir/screendump.vim index 584f9ac714..1016646c5b 100644 --- a/src/testdir/screendump.vim +++ b/src/testdir/screendump.vim @@ -48,7 +48,7 @@ endfunc " Stop a Vim running in terminal buffer "buf". func StopVimInTerminal(buf) call assert_equal("running", term_getstatus(a:buf)) - call term_sendkeys(a:buf, ":qa!\<cr>") + call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>") call WaitFor('term_getstatus(' . a:buf . ') == "finished"') only! endfunc |