From 2b10bcbfc1c025bf7e6358326ee70105e7d30e96 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 24 Feb 2018 21:25:44 +0100 Subject: 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) --- src/testdir/screendump.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/screendump.vim') 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!\") + call term_sendkeys(a:buf, "\\:qa!\") call WaitFor('term_getstatus(' . a:buf . ') == "finished"') only! endfunc -- cgit v1.2.3