comparison src/testdir/screendump.vim @ 13331:1ba4f926247c v8.0.1540

patch 8.0.1540: popup menu positioning fails with longer string commit https://github.com/vim/vim/commit/2b10bcbfc1c025bf7e6358326ee70105e7d30e96 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 24 21:25:44 2018 +0100 patch 8.0.1540: popup menu positioning fails with longer string Problem: Popup menu positioning fails with longer string. Solution: Only align with right side of window when width is less than 'pumwidth' (closes #2661)
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Feb 2018 21:30:05 +0100
parents 424321d6eea7
children eb960e9c75c8
comparison
equal deleted inserted replaced
13330:6f51f5408677 13331:1ba4f926247c
46 endfunc 46 endfunc
47 47
48 " Stop a Vim running in terminal buffer "buf". 48 " Stop a Vim running in terminal buffer "buf".
49 func StopVimInTerminal(buf) 49 func StopVimInTerminal(buf)
50 call assert_equal("running", term_getstatus(a:buf)) 50 call assert_equal("running", term_getstatus(a:buf))
51 call term_sendkeys(a:buf, ":qa!\<cr>") 51 call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>")
52 call WaitFor('term_getstatus(' . a:buf . ') == "finished"') 52 call WaitFor('term_getstatus(' . a:buf . ') == "finished"')
53 only! 53 only!
54 endfunc 54 endfunc
55 55
56 " Verify that Vim running in terminal buffer "buf" matches the screen dump. 56 " Verify that Vim running in terminal buffer "buf" matches the screen dump.