]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(syntax-tests): Clear and redraw the ruler line with the shell info
authorAliaksei Budavei <0x000c70@gmail.com>
Mon, 20 May 2024 22:12:22 +0000 (01:12 +0300)
committerChristian Brabandt <cb@256bit.org>
Sat, 6 Jul 2024 09:56:56 +0000 (11:56 +0200)
The current contents of sh_01_99.dump and sh_09_99.dump
begin with ":redraw" in the ruler line whereas both the
comment and the need for the redraw command execution imply
blanks "       ".

related: #15150

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/dumps/sh_01_99.dump
runtime/syntax/testdir/dumps/sh_09_99.dump
runtime/syntax/testdir/runtest.vim

index 687677ed059063bdd0b383cefee805301ea83e92..58b51b975bb413ab5839f282329aa0b70f92e315 100644 (file)
@@ -17,4 +17,4 @@
 |~| @73
 |~| @73
 |~| @73
-|:+0#0000000&|r|e|d|r|a|w| @49|4|,|1| @10|A|l@1| 
+| +0#0000000&@56|4|,|1| @10|A|l@1| 
index b97cfa3955b026bc0859c0c4e170674dc566f6ce..f3931f36711e7da9a44166b9e3ac872bd8af6c2a 100644 (file)
@@ -17,4 +17,4 @@
 |(+0#e000e06&| |c+0#af5f00255&|d| +0#e000e06&|$|{|H|O|M|E|}| |)| +0#0000000&||| |w|c| |-+0#e000e06&|c| +0#0000000&@52
 |(|(+0#e000e06&|n+0#00e0e07&|=+0#0000000&|1+0#e000002&|+|2|)+0#e000e06&|)+0#ffffff16#ff404010| +0#0000000#ffffff0@65
 >l+0#af5f00255&|e|t| +0#0000000&|n+0#00e0e07&|=+0#0000000&|1+0#e000002&|++0#0000000&|2+0#e000002&| +0#0000000&@65
-|:|r|e|d|r|a|w| @49|1|9|,|1| @9|A|l@1| 
+@57|1|9|,|1| @9|A|l@1| 
index 32b1663dabf45a147860004fc010d9ed6042d7b8..f2f86c06863d8d92eaa8679d43c13871a9788066 100644 (file)
@@ -307,7 +307,7 @@ func RunTest()
 
       " Clear the shell info if there are not enough lines to cause a scroll
       if filetype == 'sh' && IsWinNumOneAtEOF(in_name_and_out_name)
-       call term_sendkeys(buf, ":redraw\<CR>")
+       call term_sendkeys(buf, ":redraw!\<CR>")
       endif
 
       " Make a Screendump every 18 lines of the file: failed/root_NN.dump