blob: 0eccda499664cf7f3fd82760c1f4fa997b4834c7 (
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
|
# image panes: right-click a .ppm opens petscii glyph art (no kitty in the
# harness). The tag is an ordinary `img <path> New Del` — its renderer toggles are
# builtins now, pressed under SPC t (the old tag words sat past the pane's
# right edge, so clicking them only ever hit the neighbouring shell's tag).
ppmdiag pic.ppm
start 30 150 -n 3
wait 8000 pic.ppm
stable 700 20000
press left 5 8
release left 5 8
stable 400 5000
key i
text pic.ppm
key esc
settle 100
press right 6 8
release right 6 8
wait 10000 img
stable 700 20000
snap img-open
snapstyle img-open
# SPC t l: the C64 Pepto palette gives way to the terminal's own 16 (the cells
# stop carrying truecolor and carry ansi indices instead)
key space
key t
key l
stable 700 15000
snapstyle term-palette
# SPC t a: drop the printable-ASCII bitmaps from the matcher's glyph set, so
# the art is blocks and sextants only. Captured as TEXT — this toggle changes
# which glyph each cell picks, which a style capture cannot see (the reason
# the old click-at-x=57 version of this step proved nothing even when it hit).
key space
key t
key a
stable 700 15000
snap no-ascii
# the tag takes an edit like any other pane's now — nothing live left in it to
# protect, so the image early-return in enterTagEdit is gone. Col 42 is the
# FIRST EDITABLE column (right after "img <path>"): a tag column is a column of
# the whole rendered tag, and the live prefix is read-only, so a click at col 20
# would land in the path and the typing below would be inert.
press left 42 2
release left 42 2
stable 400 5000
text Zork
stable 400 5000
snap tag-edit
|