From 42c0524b94d67caebbf71cd8a82d7690380195fa Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 27 Jul 2026 01:03:46 -0300 Subject: trim the taglines: image renderer toggles and Colors/Crt become leader-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The image tag spelled out `Petscii Ascii` and actOnSelection matched those words by hand before the builtin dispatch. They are three real Builtins now (SPC t p/l/a), so the by-word matching is gone, the tag is a plain `img Del`, and with nothing live left in it the image early-returns in curTail, enterTagEdit and the tag-click guard go too — an image tag edits like every other pane's. Colors and Crt leave the topbar for SPC t c / SPC t r: set-once display switches should not spend width in a bar you read every frame. NextColor stays, it is the one you cycle repeatedly. Both remain full builtins. The snap scripts that clicked those words now press the leader instead, and images.snap finally exercises the palette and ascii toggles for real: its old clicks at x=57 landed on the neighbouring shell's tag, so that toggle had never been covered. The test PPM grew to 512x512 with LCG noise so the ASCII bitmaps actually win cells and dropping them visibly changes the art. --- test/snapshots/theme.snap | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'test/snapshots/theme.snap') diff --git a/test/snapshots/theme.snap b/test/snapshots/theme.snap index ed060f03..9fdabe35 100644 --- a/test/snapshots/theme.snap +++ b/test/snapshots/theme.snap @@ -1,24 +1,27 @@ -# topbar builtins: NextColor cycles to acme-light and back; Colors toggles -# the recolor passes off and on +# NextColor (still in the topbar) cycles to acme-light and back; Colors, which +# left the bar for its leader path, toggles the recolor passes off and on from +# SPC t c — the same builtin either way file t.txt x start 30 100 -n 3 wait 8000 t.txt stable 700 20000 -press middle 32 1 -release middle 32 1 +press middle 25 1 +release middle 25 1 stable 700 10000 snap acme snapstyle acme -press middle 25 1 -release middle 25 1 +key space +key t +key c stable 700 10000 snap colors-off snapstyle colors-off +key space +key t +key c +stable 700 10000 press middle 25 1 release middle 25 1 stable 700 10000 -press middle 32 1 -release middle 32 1 -stable 700 10000 snap dark-again snapstyle dark-again -- cgit v1.3