blob: 80133c38a5ca5cef4575968bc6e00157564e40c2 (
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
|
# A file opened from a terminal joins the column a FILE PANE was last used in.
# a.txt boots on the left and b.txt joins it there; b.txt is then dragged into
# the RIGHT column and worked in, so that column is the newest one a doc was
# read in while a.txt keeps the lowest pane id. The c.txt look then comes from
# the right shell and must land under b.txt. Slot order — the rule this
# replaces — would have answered a.txt (pane 0) and put c.txt back on the left.
file a.txt AAA
file b.txt BBB\nB-TWO
file c.txt CCC
start 30 100 -n 2 a.txt
wait 8000 c.txt
stable 700 20000
snap boot
# look b.txt in the shell's ls output: the second doc splits the first, so
# both docs are in the left column and a.txt is the lower-numbered pane
press right 60 4
release right 60 4
wait 10000 BBB
stable 700 20000
snap two-docs
# drag b.txt's layout box (the gutter cells of its tag row) into the right
# column, below the shell
press left 1 17
drag left 75 20
release left 75 20
stable 700 15000
snap moved
# use a.txt, then b.txt: what counts is the doc last USED, so a.txt being the
# most recent for a moment must not survive the click into b.txt
press left 5 3
release left 5 3
stable 400 5000
press left 60 21
release left 60 21
key j
stable 400 5000
snap worked
# look c.txt from the shell: below b.txt, in the right column
press right 67 4
release right 67 4
wait 10000 CCC
stable 700 20000
snap third
|