blob: f77808cb1e1d6f79428f929e86ec05d392f18be5 (
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
|
# tag editor: click the tag row, edit the tail modally, execute a typed word
file t.txt x
start 30 100
wait 8000 t.txt
stable 700 20000
# click into the tag tail (after "Del", col past prefix) of pane 0
press left 40 2
release left 40 2
stable 400 5000
snap tag-focus
# append a word: A enters insert at end of tail
key A
send \x20echo\x20TAG''OK
key esc
settle 700
stable 400 5000
snap tag-typed
# v-select "echo TAG''OK" (col 4 .. line end) and execute it with Tab
key g h
key l l l l
key v
key g l
stable 400 5000
key tab
wait 10000 TAGOK
stable 700 10000
snap tag-exec
# v-select a few chars and delete them
key g h
stable 400 5000
key v l l
stable 400 5000
snap tag-vsel
snapstyle tag-vsel
key d
stable 400 5000
snap tag-del
# esc: first collapses selection state, then leaves tag editing
key esc
settle 700
snap tag-exit
|