@@ -3,91 +3,18 @@
33set timeout -1
44spawn ./prybar-tcl -q -i
55match_max 100000
6−expect -exact "\[J\[2K\r--> "
7−send -- "p"
8−expect -exact "\[J\[2K\r--> p"
9−send -- "u"
10−expect -exact "\[J\[2K\r--> pu"
11−send -- "t"
12−expect -exact "\[J\[2K\r--> put"
13−send -- "s"
14−expect -exact "\[J\[2K\r--> puts"
15−send -- " "
16−expect -exact "\[J\[2K\r--> puts "
17−send -- "\""
18−expect -exact "\[J\[2K\r--> puts \""
19−send -- "h"
20−expect -exact "\[J\[2K\r--> puts \"h"
21−send -- "e"
22−expect -exact "\[J\[2K\r--> puts \"he"
23−send -- "y"
24−expect -exact "\[J\[2K\r--> puts \"hey"
25−send -- "\""
26−expect -exact "\[J\[2K\r--> puts \"hey\""
27−send -- "\r"
28−expect -exact "\[J\[2K\r--> puts \"hey\"\[J\[2K\r--> puts \"hey\"\r
29−hey\r\r
30−\r
31−\[J\[2K\r--> "
32−send -- "p"
33−expect -exact "\[J\[2K\r--> p"
34−send -- "u"
35−expect -exact "\[J\[2K\r--> pu"
36−send -- "t"
37−expect -exact "\[J\[2K\r--> put"
38−send -- "s"
39−expect -exact "\[J\[2K\r--> puts"
40−send -- " "
41−expect -exact "\[J\[2K\r--> puts "
42−send -- "\""
43−expect -exact "\[J\[2K\r--> puts \""
44−send -- "h"
45−expect -exact "\[J\[2K\r--> puts \"h"
46−send -- "e"
47−expect -exact "\[J\[2K\r--> puts \"he"
48−send -- "y"
49−expect -exact "\[J\[2K\r--> puts \"hey"
50−send -- "\""
51−expect -exact "\[J\[2K\r--> puts \"hey\""
52−send -- "\r"
53−expect -exact "\[J\[2K\r--> puts \"hey\"\[J\[2K\r--> puts \"hey\"\r
54−hey\r\r
55−\r
56−\[J\[2K\r--> "
57−send -- "p"
58−expect -exact "\[J\[2K\r--> p"
59−send -- "u"
60−expect -exact "\[J\[2K\r--> pu"
61−send -- "t"
62−expect -exact "\[J\[2K\r--> put"
63−send -- "s"
64−expect -exact "\[J\[2K\r--> puts"
65−send -- " "
66−expect -exact "\[J\[2K\r--> puts "
67−send -- "\""
68−expect -exact "\[J\[2K\r--> puts \""
69−send -- "h"
70−expect -exact "\[J\[2K\r--> puts \"h"
71−send -- "e"
72−expect -exact "\[J\[2K\r--> puts \"he"
73−send -- "e"
74−expect -exact "\[J\[2K\r--> puts \"hee"
75−send -- "e"
76−expect -exact "\[J\[2K\r--> puts \"heee"
77−send -- "e"
78−expect -exact "\[J\[2K\r--> puts \"heeee"
79−send -- "e"
80−expect -exact "\[J\[2K\r--> puts \"heeeee"
81−send -- "e"
82−expect -exact "\[J\[2K\r--> puts \"heeeeee"
83−send -- "y"
84−expect -exact "\[J\[2K\r--> puts \"heeeeeey"
85−send -- "\""
86−expect -exact "\[J\[2K\r--> puts \"heeeeeey\""
87−send -- "\r"
88−expect -exact "\[J\[2K\r--> puts \"heeeeeey\"\[J\[2K\r--> puts \"heeeeeey\"\r
89−heeeeeey\r\r
90−\r
91−\[J\[2K\r--> "
92−send -- ""
93−expect eof
6+
7+send "puts \"hey\"\r"
8+expect -exact "puts \"hey\"\r"
9+expect -exact "hey\r"
10+expect -exact "--> "
11+
12+send "puts \"hey\"\r"
13+expect -exact "puts \"hey\"\r"
14+expect -exact "hey\r"
15+expect -exact "--> "
16+
17+send "puts \"hello\"\r"
18+expect -exact "puts \"hello\"\r"
19+expect -exact "hello\r"
20+expect -exact "--> "