view src/libvterm/t/90vttest_01-movement-1.test @ 34641:b41af4b613da v9.1.0206

patch 9.1.0206: unused display_text_first boolean var in win_line() Commit: https://github.com/vim/vim/commit/c8b47f26d8ae0db2d65a1cd34d7e34a2c7a6b462 Author: Dylan Thacker-Smith <dylan.ah.smith@gmail.com> Date: Tue Mar 26 18:05:01 2024 +0100 patch 9.1.0206: unused display_text_first boolean var in win_line() Problem: unused display_text_first boolean var in win_line() Solution: Remove unused display_text_first boolean variable (Dylan Thacker-Smith) The only place it is used, uses its initial constant value, then the following conditionally values set to the variable are unused. Specifically, it was commit 234c3fab28c14846b962c90097496b27ee1b4df8 that changed the use of display_text_first such that it doesn't have any effect. closes: #14305 Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 26 Mar 2024 18:15:05 +0100
parents b8299e742f41
children
line wrap: on
line source

INIT
WANTSTATE
WANTSCREEN

RESET

PUSH "\e#8"

PUSH "\e[9;10H\e[1J"
PUSH "\e[18;60H\e[0J\e[1K"
PUSH "\e[9;71H\e[0K"

$SEQ 10 16: PUSH "\e[\#;10H\e[1K\e[\#;71H\e[0K"

PUSH "\e[17;30H\e[2K"

$SEQ 1 80: PUSH "\e[24;\#f*\e[1;\#f*"

PUSH "\e[2;2H"

$REP 22: PUSH "+\e[1D\eD"

PUSH "\e[23;79H"
$REP 22: PUSH "+\e[1D\eM"

PUSH "\e[2;1H"
$SEQ 2 23: PUSH "*\e[\#;80H*\e[10D\eE"

PUSH "\e[2;10H\e[42D\e[2C"
$REP 76: PUSH "+\e[0C\e[2D\e[1C"

PUSH "\e[23;70H\e[42C\e[2D"

$REP 76: PUSH "+\e[1D\e[1C\e[0D\b"

PUSH "\e[1;1H"
PUSH "\e[10A"
PUSH "\e[1A"
PUSH "\e[0A"
PUSH "\e[24;80H"
PUSH "\e[10B"
PUSH "\e[1B"
PUSH "\e[0B"
PUSH "\e[10;12H"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

$REP 58: PUSH " "
PUSH "\e[1B\e[58D"

PUSH "\e[5A\e[1CThe screen should be cleared,  and have an unbroken bor-"
PUSH "\e[12;13Hder of *'s and +'s around the edge,   and exactly in the"
PUSH "\e[13;13Hmiddle  there should be a frame of E's around this  text"
PUSH "\e[14;13Hwith  one (1) free position around it.    Push <RETURN>"

# And the result is...

!Output
            ?screen_row  0 = "********************************************************************************"
            ?screen_row  1 = "*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*"
$SEQ  2  7: ?screen_row \# = "*+                                                                            +*"
            ?screen_row  8 = "*+        EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE        +*"
            ?screen_row  9 = "*+        E                                                          E        +*"
            ?screen_row 10 = "*+        E The screen should be cleared,  and have an unbroken bor- E        +*"
            ?screen_row 11 = "*+        E der of *'s and +'s around the edge,   and exactly in the E        +*"
            ?screen_row 12 = "*+        E middle  there should be a frame of E's around this  text E        +*"
            ?screen_row 13 = "*+        E with  one (1) free position around it.    Push <RETURN>  E        +*"
            ?screen_row 14 = "*+        E                                                          E        +*"
            ?screen_row 15 = "*+        EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE        +*"
$SEQ 16 21: ?screen_row \# = "*+                                                                            +*"
            ?screen_row 22 = "*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*"
            ?screen_row 23 = "********************************************************************************"

?cursor = 13,67