blob: 5a602304e3abd793f5e6c89c444cfa90a6201946 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Dump writes the whole session to this fixture's $DUMP path, a dump of the
# walk (src/walk.zig), and `-l` of it is that session again: the text typed
# into a terminal over its history comes back where it was.
file d.txt x
start 31 100 -n 3
wait 8000 d.txt
stable 700 20000
press left 5 10
release left 5 10
stable 400 5000
key i
text typed-marker
key esc
settle 100
stable 400 5000
press middle @Dump 1
release middle @Dump 1
stable 600 8000
start 31 100 -l $DUMP
wait 8000 typed-marker
stable 700 20000
snap loaded
|