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
63
64
65
66
67
68
69
70
71
72
73
|
# Del from the keyboard on a pane with open panes above AND below asks, on the
# pane's notice band, which one takes its rows: k above, j below, anything else
# keeps the pane. A click, and DelAbove/DelBelow (Del k / Del j), never ask.
file top.txt top-marker
start 36 100 top.txt
wait 8000 top-marker
stable 700 20000
# two scratch panes below the file, each saying which it is, then focus the
# middle one
key space f n
stable 400 5000
key i
text middle-pane
key esc
settle 100
key space f n
stable 400 5000
key i
text bottom-pane
key esc
settle 100
key c-w k
stable 400 5000
snap three
# asked, and nothing closes yet
key space d
stable 400 5000
snap asked
# Esc takes the question back: the pane stays
key esc
settle 100
stable 400 5000
snap kept
# j: the pane below grows over the middle one's rows, the file keeps its own
key space d
stable 400 5000
key j
stable 700 10000
snap below-took
# a pane under it, and DelBelow (Del j) appended to the middle one's text and
# executed with a click: no question, the pane below takes the rows
key space f n
stable 400 5000
key i
text third-pane
key esc
settle 100
key c-w k
stable 400 5000
key A
send \x20DelBelow
key esc
settle 100
stable 400 5000
snap typed
press middle @DelBelow 21
release middle @DelBelow 21
stable 700 10000
snap below-took-click
# a fresh pane at the foot of the column (acme's New takes the bottom half of
# the last pane), and the third one, now between the file and it, closed by a
# middle click on its tag's Del: no question, and the rows go up as they
# always have
press left 10 5
release left 10 5
stable 400 5000
key space f n
stable 400 5000
snap four
press middle @Del 20
release middle @Del 20
stable 700 10000
snap mouse-del
|