summaryrefslogtreecommitdiff
path: root/test/snapshots/ttyprompt.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 14:28:27 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit010b123a88aa5278c499f83098c00bdbdb0093ce (patch)
tree0c90aab9ff023a3967225377994d4244d187c828 /test/snapshots/ttyprompt.golden
parente7c181d6238dae4b08a02c1a9828917c2497f89d (diff)
downloadpardes-010b123a88aa5278c499f83098c00bdbdb0093ce.tar.gz
pardes-010b123a88aa5278c499f83098c00bdbdb0093ce.zip
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+<shell>, 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 <[email protected]>
Diffstat (limited to 'test/snapshots/ttyprompt.golden')
-rw-r--r--test/snapshots/ttyprompt.golden8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/snapshots/ttyprompt.golden b/test/snapshots/ttyprompt.golden
index 28cdbbee..bfdfcd4b 100644
--- a/test/snapshots/ttyprompt.golden
+++ b/test/snapshots/ttyprompt.golden
@@ -1,7 +1,7 @@
== snap greeted 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/ttyprompt/cwd Tty Save Mode Fi /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi
+| /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo
| ls ls
| probe.txt probe.txt
|
@@ -16,14 +16,14 @@
|
|
|
-| /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi
+| /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo
| ls
| probe.txt
== snap in-tty grid=100x31 cursor=17,5
-|2: $ /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi
+|2: $ /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo
|3: $ ls ls
|5: $ echo ABCDEFGH
== snap out-of-tty grid=100x31 cursor=17,5
-|2: /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi /tmp/pardes-snap/ttyprompt/cwd Tty Save Mode Fi
+|2: /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo /tmp/pardes-snap/ttyprompt/cwd Tty+bash Save Mo
|3: ls ls
|5: echo ABCDEFGH