diff src/testdir/test_messages.vim @ 29459:7a2569ab418e v9.0.0071

patch 9.0.0071: command overlaps with printed text in scrollback Commit: https://github.com/vim/vim/commit/ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed Author: zeertzjq <zeertzjq@outlook.com> Date: Mon Jul 25 19:50:57 2022 +0100 patch 9.0.0071: command overlaps with printed text in scrollback Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes #10765, closes #10764)
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Jul 2022 21:00:03 +0200
parents 7824e49e5f51
children e988bbf50e09
line wrap: on
line diff
--- a/src/testdir/test_messages.vim
+++ b/src/testdir/test_messages.vim
@@ -233,7 +233,8 @@ func Test_message_more()
 
   " Up all the way with 'g'.
   call term_sendkeys(buf, 'g')
-  call WaitForAssert({-> assert_equal('  5 5', term_getline(buf, 5))})
+  call WaitForAssert({-> assert_equal('  4 4', term_getline(buf, 5))})
+  call WaitForAssert({-> assert_equal(':%p#', term_getline(buf, 1))})
   call WaitForAssert({-> assert_equal('-- More --', term_getline(buf, 6))})
 
   " All the way down. Pressing f should do nothing but pressing