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/ttylook.golden | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/snapshots/ttylook.golden') diff --git a/test/snapshots/ttylook.golden b/test/snapshots/ttylook.golden index c36f8f92..7592c375 100644 --- a/test/snapshots/ttylook.golden +++ b/test/snapshots/ttylook.golden @@ -1,5 +1,5 @@ == snap tok1 grid=120x30 cursor=2,3 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -30,7 +30,7 @@ | | == style tok1 -|0: 0-48 #969696,#2c2a3e, 49-119 d,#2c2a3e, +|0: 0-37 #969696,#2c2a3e, 38-119 d,#2c2a3e, |1: 0-1 d,#6e4fd0, 2-37 #969696,#2c2a3e, 38-59 d,#2c2a3e, 60-61 d,#383c54, 62-97 #969696,#2c2a3e, 98-119 d,#2c2a3e, |2: 0-1 d,#525252, 2-59 d,d, 60-61 d,#525252, 62-119 d,d, |3: 0-1 d,#525252, 2-8 #d8c8a8,#4a3a1e, 9-59 d,d, 60-61 d,#525252, 62-119 d,d, @@ -61,7 +61,7 @@ |28: 0-1 d,#525252, 2-59 d,d, 60-61 d,#525252, 62-119 d,d, |29: 0-1 d,#525252, 2-59 d,d, 60-61 d,#525252, 62-119 d,d, == snap tok2 grid=120x30 cursor=11,3 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -92,7 +92,7 @@ | | == snap tokback grid=120x30 cursor=2,3 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -123,7 +123,7 @@ | | == snap insert grid=120x30 cursor=4,3 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | nnbig.txt plain.txt sub big.txt plain.txt sub @@ -154,7 +154,7 @@ | | == snap tok3 grid=120x30 cursor=22,3 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -185,7 +185,7 @@ | | == snap diropen grid=120x30 cursor=4,7 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -216,7 +216,7 @@ | | == snap noop grid=120x30 cursor=4,7 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -247,7 +247,7 @@ | | == snap fileopen grid=120x30 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/ttylook/cwd/big.t NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | 1 line 1 | 2 line 2 big.txt plain.txt sub big.txt plain.txt sub -- cgit v1.3