diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-21 22:53:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-22 10:03:15 -0300 |
| commit | 7e9d2c4169245072265b483ffaa6aa05f23f08d3 (patch) | |
| tree | 5a116f6072ae5b8f771832c68376ee87b570d174 /src/CHANGELOG.md | |
| parent | 6076ab9e805838d4c4e8bb795428fae0a85671e9 (diff) | |
| download | pardes-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 'src/CHANGELOG.md')
| -rw-r--r-- | src/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index ab9432ef..24ee3b0e 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -13,6 +13,11 @@ Signatures use syntax colors; only calls to the queried function get background emphasis, and tree guides continue through multiline signatures and wrapped rows. Cross-directory call locations use shorter relative paths. +- A terminal follows the shell at its prompt (the tty's foreground group), + not the process pardes started: a shell that re-execs itself under a + wrapper (fish's `exec 9ns --mntgen -- fish`) no longer leaves the pane + in its first directory, where `b/c.txt` printed by `fd` after a `cd` + looked up nothing. - Workspace, column and pane tags share a tighter text inset. - A diff paged into a session (`git show | pardes -`) opens its `+Diff` alone; the `+Pager` no longer stays folded under it. |
