diff options
Diffstat (limited to 'test/snapshots/images.snap')
| -rw-r--r-- | test/snapshots/images.snap | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/test/snapshots/images.snap b/test/snapshots/images.snap index e285d4bf..9c510bed 100644 --- a/test/snapshots/images.snap +++ b/test/snapshots/images.snap @@ -1,5 +1,7 @@ # image panes: right-click a .ppm opens petscii glyph art (no kitty in the -# harness); the live tag toggles palette (C64<->Term) and Ascii glyphs +# harness). The tag is an ordinary `img <path> 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 @@ -17,13 +19,27 @@ wait 10000 img stable 700 20000 snap img-open snapstyle img-open -# toggle palette to terminal colors: middle-click the C64 word in the tag -press middle 57 2 -release middle 57 2 +# 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 -# toggle Ascii off -press middle 62 2 -release middle 62 2 +# 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 -snapstyle no-ascii +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 +press left 20 2 +release left 20 2 +stable 400 5000 +text Zork +stable 400 5000 +snap tag-edit |
