summaryrefslogtreecommitdiff
path: root/test/snapshots/colgrip.snap
blob: c2b403ed8c558ea68f2b9677aa977f9b2f4d006f (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
# Column grips: the two cells left of a column tag carry the column. A grabbed
# grip lights, and a rail in its color stands where the column will land.
# The right column is at x 50; its grip is cells 51-52 (1-based) on row 2.
file w.txt x
start 24 100 w.txt
wait 8000 Newcol Joincol
wait 8000 w.txt
stable 700 20000
key a-n
key a-c
stable 700 15000
snapstyle rest
# held on its own grip: lit, and no rail, since it lands where it is
press left 51 2
stable 400 5000
snapstyle held
# dropped short of the left column's middle, the left edge moves: the rail is
# in the seam cell left of where the column's rule will be
drag left 41 2
stable 400 5000
snap resize-drag
snapstyle resize-drag
release left 41 2
stable 700 15000
snap resize-done
# carried over the left column's left half it goes first; the window edge
# has no seam, so the rail runs in the gutter's last cell
press left 41 2
drag left 10 2
stable 400 5000
snap reorder-drag
snapstyle reorder-drag
release left 10 2
stable 700 15000
snap reorder-done