summaryrefslogtreecommitdiff
path: root/docs/design.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/design.typ')
-rw-r--r--docs/design.typ10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/design.typ b/docs/design.typ
index 2a60c088..0b545bae 100644
--- a/docs/design.typ
+++ b/docs/design.typ
@@ -105,7 +105,8 @@ layout is committed immediately; tracks are finite presentation data.)
*Effect* (out, queued): `spawn{pane, cwd}`, `write{pane, bytes}`,
`resize_pty{pane, cols, rows}`, `open_link`,
-`save_file{pane}`, `write_dump`, `set_clipboard`, `read_clipboard`, `lsp`,
+`save_file{pane}`, `save_text{pane, serial, path}`, `write_dump`,
+`set_clipboard`, `read_clipboard`, `lsp`,
`pipe`, `watch`, `quit`.
The core never performs IO for any of these; it asks — and four of the asks have an
answer coming back: `read_clipboard` returns an ordinary `paste` event (or
@@ -429,8 +430,11 @@ cannot clobber what the desktop was holding. A paste from an outer terminal
arrives bracketed, as one `paste` event.
*Tag.* Live prefix (mode indicator, cwd or path) + editable tail with the
-full modal editor; defaults `New Del` / `Save New Del`, while terminals use
-`New Del Filter`, with `*` after an unsaved file's name; an image tag reports
+full modal editor. Save leads the tail of every pane holding text of its own:
+`Save New Newtty Del` for a file or an output buffer,
+`Save New Newtty Del Filter` for a terminal, and the plain `New Newtty Del`
+for an image or a PDF, with `*` after an unsaved file's name; an image tag
+reports
`img petscii:<on|off> palette:<commodore|terminal> ascii:<on|off> <path>`
before the ordinary tail (its renderer toggles are builtins under `SPC t
p/l/a`). Topbar: