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
|
# every pane close hands its space to ONE sibling, the rest of the column
# keeps its sizes: Alt-c move-out, tag Del, and shell exit (pty EOF); an
# emptied column stays, as acme's does, its tag over blank space
file marker.txt x
start 41 140 -n 3
wait 8000 marker.txt
stable 700 20000
# build a left column of five: Alt-n three times from pane 0 (active follows
# the new pane, each split takes from the freshly split pane only)
press left 5 9
release left 5 9
stable 400 5000
key a-n
stable 700 15000
key a-n
stable 700 15000
key a-n
stable 700 15000
snap built
# Alt-c: the active (4th) pane moves to a fresh column; the pane above it
# absorbs its rows, the other three keep theirs (columns reflow horizontally)
key a-c
stable 700 15000
snap altc
# Del the 2nd pane: source-local column insertion makes this column too narrow
# to expose its tag words, so focus its body and invoke the same pane-scoped
# builtin by chord. With panes above and below, the chord asks which one
# takes the rows: k, the pane above, which also takes the focus. The other
# panes keep their rows.
press left 5 9
release left 5 9
stable 400 5000
key space d
key k
stable 700 10000
snap del
# exit the (now) 2nd shell through its real tty: pty EOF, again only the pane
# above absorbs — and takes the focus too, not the pane that had it before
# this one (the moved-out column)
press left 40 9
release left 40 9
stable 400 5000
press left 5 24
release left 5 24
stable 400 5000
key c-b
stable 400 5000
text exit
key enter
stable 700 10000
snap exit
# exit the moved-out pane's shell: its column stays where it was, empty, the
# keyboard on its tag; the other columns keep their widths
press left 40 9
release left 40 9
stable 400 5000
key c-b
stable 400 5000
text exit
key enter
stable 700 10000
snap colclose
|