blob: b9ef80e6023aff41de063c35294b31e538a46a09 (
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
|
# The path is part of the tag's text for the mouse -- a sweep selects across
# the path and the commands after it -- but never for the keyboard: the tag's
# cursor lives in its own text, so `0` goes to the start of that, not of the
# path. A click on the path drafts a new name there instead. Escape cancels;
# Enter changes buffer identity, never renames a disk file.
lines c.txt 4
start 31 100 c.txt
wait 8000 Newcol Joincol
wait 8000 c.txt
stable 700 20000
snap start
key :
stable 400 5000
snap colon
key 0
stable 400 5000
snap col0
# Sweep across the path / command boundary without injected padding.
press left 12 3
drag left 30 3
drag left 42 3
release left 42 3
stable 400 5000
snap drag-cross
snapstyle drag-cross
key esc
settle 100
key :
stable 400 5000
# a click on the path is a name draft, the caret where it was clicked
press left 4 3
release left 4 3
text /renamed
stable 400 5000
snap name-draft
key esc
stable 400 5000
snap name-cancelled
press left 4 3
release left 4 3
text /renamed
key enter
stable 400 5000
snap name-committed
|