summaryrefslogtreecommitdiff
path: root/test/snapshots/look-fd-deep.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-21 22:53:57 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:15 -0300
commit7e9d2c4169245072265b483ffaa6aa05f23f08d3 (patch)
tree5a116f6072ae5b8f771832c68376ee87b570d174 /test/snapshots/look-fd-deep.golden
parent6076ab9e805838d4c4e8bb795428fae0a85671e9 (diff)
downloadpardes-7e9d2c4169245072265b483ffaa6aa05f23f08d3.tar.gz
pardes-7e9d2c4169245072265b483ffaa6aa05f23f08d3.zip
A terminal under a wrapper is where its foreground shell is, not where the wrapper stays
A shell that re-execs itself under a wrapper (fish's `exec 9ns --mntgen -- fish` when NINE_MOUNT is unset) left /proc/<forked pid>/cwd at the wrapper's first directory, so the pane never followed a cd and a relative path printed after one (fd's b/c.txt) looked up nothing. host_io.ttyCwd: while the forked process still runs the shell pardes started, its own directory, as before, so a job in another directory (a nested pardes, (cd sub && make)) never names the pane; once it is something else, the tty's foreground group's when that is the same shell, else no answer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/look-fd-deep.golden')
-rw-r--r--test/snapshots/look-fd-deep.golden30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/snapshots/look-fd-deep.golden b/test/snapshots/look-fd-deep.golden
new file mode 100644
index 00000000..c0e0c304
--- /dev/null
+++ b/test/snapshots/look-fd-deep.golden
@@ -0,0 +1,30 @@
+== snap listed grid=100x31 cursor=4,9
+| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
+| New Tty Find Grep Joincol Delcol
+|$ /tmp/pardes-snap/look-fd-deep/cwd/a Tty+bash Save Mode Filter Collapse Del
+| $ exec timeout --foreground 600 bash -i
+| $ cd a && ls && fd
+| b top.txt
+| b/
+| b/c.txt
+| top.txt
+| $
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| /tmp/pardes-snap/look-fd-deep/cwd/+New Save Tty Collapse Del
+| 1
+== snap fd-path-looked grid=100x31 cursor=7,11
+|10: /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt Save Tty Collapse Del
+|11: 1 deep-marker
+== snap ls-name-looked grid=100x31 cursor=7,14
+|13: /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt Save Tty Collapse Del
+|14: 1 top-marker