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/leader.golden | 83 +++++++++++++++++++++++++++++++++----------- 1 file changed, 62 insertions(+), 21 deletions(-) (limited to 'test/snapshots/leader.golden') diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 47b1cb4e..497f1e3d 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -1,5 +1,5 @@ == snap spc grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Sav SPC NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -40,7 +40,7 @@ | | == snap spc-h grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt S SPC h NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -81,7 +81,7 @@ | | == snap abandoned grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -122,7 +122,7 @@ | | == snap unmapped grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -163,7 +163,7 @@ | | == snap help-word grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -198,13 +198,13 @@ | 11 SPC k Kill | 12 SPC s d Dump | 13 SPC s r Restore -| 14 SPC t c Colors -| 15 SPC t d Debug -| 16 SPC t n NextColor -| 17 SPC t r Crt -| 18 SPC w h Left +| 14 SPC t a Ascii +| 15 SPC t c Colors +| 16 SPC t d Debug +| 17 SPC t l Palette +| 18 SPC t n NextColor == snap help-group grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -245,7 +245,7 @@ | | == snap tutor grid=100x40 cursor=7,32 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -286,7 +286,7 @@ | 7 Press j until you reach the introdu | 8 == snap deleted grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -327,7 +327,7 @@ | | == snap help-all grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -362,13 +362,54 @@ | 11 SPC k Kill | 12 SPC s d Dump | 13 SPC s r Restore -| 14 SPC t c Colors -| 15 SPC t d Debug -| 16 SPC t n NextColor -| 17 SPC t r Crt -| 18 SPC w h Left +| 14 SPC t a Ascii +| 15 SPC t c Colors +| 16 SPC t d Debug +| 17 SPC t l Palette +| 18 SPC t n NextColor +== snap help-toggles grid=100x40 cursor=7,22 +|Kill Newcol Tutor Debug NextColor Dump +| NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del +| 1 Help +| cmds.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| NOR /tmp/pardes-snap/leader/cwd/+Help Del +| 1 pardes builtins under SPC t +| 2 +| 3 SPC t a Ascii +| 4 SPC t c Colors +| 5 SPC t d Debug +| 6 SPC t l Palette +| 7 SPC t n NextColor +| 8 SPC t p Petscii +| 9 SPC t r Crt +| 10 +| +| +| +| +| +| +| +| == snap help-window grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -409,7 +450,7 @@ | | == snap esc-del grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug Colors NextColor Crt Dump +|Kill Newcol Tutor Debug NextColor Dump | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt -- cgit v1.3