From 010b123a88aa5278c499f83098c00bdbdb0093ce Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 14:28:27 -0300 Subject: A terminal's Tty word names its shell, Tty+fish, and a click on it opens another A terminal's tag said Tty whatever shell it ran. The host's acknowledgement of the shell it forked now sets the word to Tty+, tinted like the tag's name. Word+arg is taken as Word arg, one word a tag can hold and a click can take whole (+ is a word character), so Tty+fish opens a terminal on fish, as Tty fish does; Tty takes the shell as its argument, which the host forks for that pane instead of the configured one. Every snapshot whose screen shows a terminal's tag changes: 69 goldens, re-recorded by name, whose 297 changed lines are all Tty becoming Tty+bash (the harness runs bash), the cursor columns and style spans that moved with it, or that text cut at a pane's width. Co-Authored-By: Claude Opus 5.5 --- test/snapshots/tty.golden | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/snapshots/tty.golden') diff --git a/test/snapshots/tty.golden b/test/snapshots/tty.golden index 3bb73d72..6c17c625 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -1,7 +1,7 @@ == snap tty-on grid=100x31 cursor=4,5 |Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Exit | New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol -|$ /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C +|$ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil | $ ls ls | m.txt m.txt | $ @@ -16,7 +16,7 @@ | | | -| /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C +| /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil | ls | m.txt == snap tty-echo grid=100x31 cursor=4,7 @@ -24,12 +24,12 @@ |6: SNAPOK |7: $ == snap tty-off grid=100x31 cursor=4,7 -|2: /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C +|2: /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |3: ls ls |5: echo SNAP''OK |7: == snap shift-esc-on grid=100x31 cursor=4,7 -|2: $ /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C +|2: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |3: $ ls ls |5: $ echo SNAP''OK |7: $ @@ -37,6 +37,6 @@ |3: $ ls Last ls == snap ctrl-b-off grid=100x31 cursor=4,20 |3: $ ls ls -|17: $ /tmp/pardes-snap/tty/cwd Tty Save Mode Filter C +|17: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |18: $ ls |20: $ -- cgit v1.3