summaryrefslogtreecommitdiffstats
path: root/src/libvterm/t/90vttest_01-movement-1.test
blob: c1a8cb91943641e7b6dd7ae54f3ed05a683dd8b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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