From 6dfe81c92ee532eb9e804dfda2fa05cc36515aa1 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 10:05:40 -0300 Subject: A switch setting clicked with a selection held flips again, unless the selection is on or off Giving panel and scene effects on/off made every switch a word that takes an argument, so a middle click on Verbose or PanelSlide with other text selected passed that text as its value and failed. The click path now passes a held selection to a switch only when it says on or off, and the word flips as it did bare; a ctl write is still checked strictly. The topbarexec golden had been recorded with that failure (Debug clicked with a sweep opening nothing, the very thing the script says it guards); it now shows the overlay again. Co-Authored-By: Claude Opus 5.5 --- test/snapshots/topbarexec.golden | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test') diff --git a/test/snapshots/topbarexec.golden b/test/snapshots/topbarexec.golden index d70652a9..4218825b 100644 --- a/test/snapshots/topbarexec.golden +++ b/test/snapshots/topbarexec.golden @@ -15,6 +15,25 @@ | ls | zmarkfile.txt == snap noarg-runs grid=90x21 cursor=14,4 +|1: New Tty Find Grep Joincol Delcol New ╭────────────────────────────────────╮ +|2: /tmp/pardes-snap/topbarexec/cwd Tty Save M /tmp│pardes resizes=1 │ +|3: ls ls │theme orchard │ +|4: zmarkfile.txt zmark│font default │ +|5: │terms 3 cols 2 │ +|6: │active #0 43x9 │ +|7: │scroll 0/9 │ +|8: │pinch 1.0000 │ +|9: │tscroll 0.0000 │ +|10: ╰────────────────────────────────────╯ == snap arg-still-spliced grid=90x21 cursor=14,4 +|1: New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol +|2: /tmp/pardes-snap/topbarexec/cwd Tty Save M /tmp/pardes-snap/topbarexec/cwd Tty Save M +|3: ls ls +|4: zmarkfile.txt zmarkfile.txt +|5: +|6: +|7: +|8: +|9: |10: /tmp/pardes-snap/topbarexec/cwd/+Search Sa |11: 1 zmarkfile.txt -- cgit v1.3