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/scrolloff.golden | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/snapshots/scrolloff.golden') diff --git a/test/snapshots/scrolloff.golden b/test/snapshots/scrolloff.golden index 3db010c7..3efc0d6b 100644 --- a/test/snapshots/scrolloff.golden +++ b/test/snapshots/scrolloff.golden @@ -1,5 +1,5 @@ == snap top grid=150x11 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt @@ -11,7 +11,7 @@ | 8 line 8 | 9 line 9 == snap edge grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt @@ -23,7 +23,7 @@ | 8 line 8 | 9 line 9 == snap scrolled1 grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 2 line 2 | 3 line 3 g.txt g.txt @@ -35,7 +35,7 @@ | 9 line 9 | 10 line 10 == snap jdown grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 6 line 6 | 7 line 7 g.txt g.txt @@ -47,7 +47,7 @@ | 13 line 13 | 14 line 14 == snap end grid=150x11 cursor=7,9 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 33 line 33 | 34 line 34 g.txt g.txt @@ -59,7 +59,7 @@ | 40 line 40 | 41 == snap kup grid=150x11 cursor=7,5 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 29 line 29 | 30 line 30 g.txt g.txt @@ -71,7 +71,7 @@ | 36 line 36 | 37 line 37 == snap top2 grid=150x11 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt -- cgit v1.3