summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/fs.md b/docs/fs.md
index bcf5dd5b..df1b128c 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -504,7 +504,10 @@ selection, and leaves `look` reading back empty.
`/pane/<n>/name` reads the pane's file name (a terminal's directory) and
writing it renames the buffer; a relative name resolves against the pane's
-directory. The write is the name and its newline, nothing trimmed: a blank
+directory. A name alone is no edit: the pane's `dirty` stays what its text made it
+(a renamed clean file is still 0, and nothing asks about it at Exit,
+Restore or Del, which ask only about text edited), and `Save` writes it
+under the new name all the same. The write is the name and its newline, nothing trimmed: a blank
inside a name is taken (`two words.zig`), but one at either end, or a
control character, is refused, `bad character in file name` (EINVAL), as
acme refuses a blank (xfid.c:650), rather than quietly cut off. `body` appends on write and replaces on truncating open. A