blob: 358811900b653ec0a1d47c323fb5f75e5b4b8753 (
plain) (
blame)
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
|
# a giant accidental middle-drag: the whole selection is executed, chunked
# into 64-byte write effects in ONE update — this used to burst the fixed
# 64-slot effect ring and panic the core (assert in emit). Needs a big grid:
# the selection must exceed 64*64 bytes, more than any 30x100 pane can hold.
lines big.txt 3000
# Builtins announce themselves by default, and an announcement is a band at
# the top of the body -- which moves every row this script clicks. What the
# verbs do is what is under test, not the announcement.
config Verbose off
start 61 200 -n 3
wait 8000 big.txt
stable 500 20000
press left 105 9
release left 105 9
stable 300 5000
key i
text tr -d '\n' < big.txt
key esc
settle 100
press middle 105 9
drag middle 126 9
release middle 126 9
stable 800 30000
# the accidental sweep over the full-height right pane, then release
press middle 105 5
drag middle 150 31
drag middle 198 59
release middle 198 59
stable 500 8000
stable 800 30000
# still alive: type and execute a marker command
press left 105 41
release left 105 41
stable 300 5000
key i
text echo alive-o''k
key esc
settle 100
press middle 105 41
drag middle 119 41
release middle 119 41
wait 10000 alive-ok
stable 800 20000
snap alive
|