summaryrefslogtreecommitdiff
path: root/docs/fs.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 11:40:03 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit2f187232227dde2755a7f2f2ce717f3e1f685f5c (patch)
tree0aebb2ad5831e235ab5833b514493878a00faf8c /docs/fs.md
parentf0fc0be608bb1ee96c20d9f9baaefd2543fed7a2 (diff)
downloadpardes-2f187232227dde2755a7f2f2ce717f3e1f685f5c.tar.gz
pardes-2f187232227dde2755a7f2f2ce717f3e1f685f5c.zip
Recent keeps only files on disk, and its cap never drops an open one
A renamed scratch never saved and a /virtual/ pane were recorded as recent files, and at 200 the oldest entry went even when that file was open. Opens, renames and closes now record a path only when it is a file on this host, and the cap drops the oldest closed entry. A name with a newline is not written to the kept list, where it would read back as two. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
-rw-r--r--docs/fs.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/fs.md b/docs/fs.md
index dfd888b5..b588b1f1 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -128,7 +128,9 @@ Existing Plan9port/v9fs clients need a userspace bridge for QUIC.
/recent the files opened lately, closed ones too, most recent first, a line each:
`open <path>` or `closed <path>` (read-only; `Recent` shows them in a pane,
a look at a row reopening the file at its last dot; kept across sessions
- in $XDG_STATE_HOME/pardes/recent, 200 files; acme has none, its dump and
+ in $XDG_STATE_HOME/pardes/recent, 200 files, the oldest closed one dropped
+ first, never an open one; only files on disk, not a name never saved nor
+ /virtual/; a name escaped as /index's is; acme has none, its dump and
Load the nearest)
/layout one line per column (16 at most; the board 6; Newcol past that fails,
`no space for a column: 16 max`, ENOSPC), left to right: serial index x width current|notcurrent