blob: 4a3fa2a8dbd194ca1128954010cf232a10edb05c (
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
45
46
47
48
49
50
51
52
53
|
# The command words of every pane in a LAYOUT COLUMN end at the same screen
# column. tag_right_pad sets that end, but a path too long to fit inside the
# pad used to collapse its own gap alone, so one row's New/Del sat hard against
# its path while the row below it kept its own out at the pad — two ragged
# columns of words you read (and click) down.
#
# Here the file's path is 43 columns longer than the shell's cwd, and long
# enough (85 of the pane's 98 columns) that its own gap is zero. The shell
# below it moves out to the file's end instead of the pad's, so both rows spell
# New and Del in the same two places.
dirmk deep
dirmk deep/nested-project-directory
file deep/nested-project-directory/document.txt alpha\nbeta\ngamma
start 30 100 deep/nested-project-directory/document.txt
wait 8000 New Newcol
wait 8000 document.txt
stable 700 20000
# Alt-n: a shell BELOW the file, in the same column
key a-n
stable 700 15000
snap aligned
# A pane whose tag does not FIT is counted AT its right edge rather than
# dropped from the vote. Dropping it would be a threshold: here the file's tag
# is 85 columns, so one column of resize either side of that would move BOTH
# rows of words by the whole pad, and dragging a window edge across the width
# would snap them back and forth under the pointer. 87 -> 86 moves them one
# column, and the file's own tag is the only thing that loses a character.
resize 30 87
stable 400 5000
snap fits
resize 30 86
stable 400 5000
snap overby1
resize 30 100
stable 700 15000
# A left click on a tagline SEEDS its tail: the gap stops being computed and
# becomes ordinary characters you own. It must not stop the pane VOTING —
# this clicks the FILE's path, and the file is the widest tag in the column,
# the one holding the end out. The shell's row below must not move a column
# (it did once: every other tagline in the column snapped left on the click,
# and a middle-click that used to hit Del landed on whitespace).
press left 12 2
release left 12 2
stable 400 5000
snap clicked
# ...and proving that with the words themselves: Del at the columns the two
# snaps above put it. It closes the file, so the shell is alone in the column
# and falls back to tag_right_pad short of its own edge — the shared end is
# the LIVE widest, not a high-water mark.
press middle 86 2
release middle 86 2
stable 700 15000
snap alone
|