diff src/testdir/test_display.vim @ 30653:ac8817a83a56 v9.0.0661

patch 9.0.0661: multi-byte "lastline" in 'fillchars' does not work properly Commit: https://github.com/vim/vim/commit/18b3500b8c517e44c23197e558aa36aed1c6916c Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Oct 4 20:35:37 2022 +0100 patch 9.0.0661: multi-byte "lastline" in 'fillchars' does not work properly Problem: Multi-byte "lastline" item in 'fillchars' does not work properly when the window is two columns wide. Solution: Compute the text length correctly. (closes #11280)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Oct 2022 21:45:03 +0200
parents dfb02f9dcbe8
children f784ea65b258
line wrap: on
line diff
--- a/src/testdir/test_display.vim
+++ b/src/testdir/test_display.vim
@@ -419,6 +419,10 @@ func Run_Test_display_lastline(euro)
   call term_sendkeys(buf, ":3split\<CR>")
   call VerifyScreenDump(buf, $'Test_display_lastline_{a:euro}5', {})
 
+  call term_sendkeys(buf, ":close\<CR>")
+  call term_sendkeys(buf, ":2vsplit\<CR>")
+  call VerifyScreenDump(buf, $'Test_display_lastline_{a:euro}6', {})
+
   call StopVimInTerminal(buf)
 endfunc