From 399d005f1997f23d50f36829946f2d5d7a98b928 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 06:18:15 -0300 Subject: A pane from pane/new is the session's directory's scratch, not the last active pane's No pane asked for it, so borrowing the directory of whichever pane last had the keyboard named it after an accident; acme's new window has acme's directory. Co-Authored-By: Claude Opus 5.5 --- docs/fs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/fs.md b/docs/fs.md index 9ba9c0e4..0da2ccd0 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -71,7 +71,9 @@ for any process, and `$NINE_MOUNT/pardes/NAME/` a `--detach=NAME` session's. 9ns exports `$NINE_MOUNT` to everything it starts, so a script checks that variable to know the mount is there, and takes the name from `$PARDES_9P` (`pardes-9p-.sock`). A new pane made through `pane/new` is a scratch named -`/+New` until it is given a name. A column may hold no pane, as in acme: +`/+New` until it is given a name, where `` is the session's +directory (the one pardes started in), whichever pane last had the keyboard: +no pane asked for it, as acme's new window has acme's directory. A column may hold no pane, as in acme: `Newcol` makes one empty, and closing a column's last pane leaves it empty with its tag holding the keyboard (`focus` reads empty) and logs only the `del`. `pane/new` places its pane as acme's makenewwindow(nil) does: in the -- cgit v1.3