diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-24 23:00:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-25 09:42:07 -0300 |
| commit | 28c70cabb6ceb7e5fecfd74f6984f5a995269f01 (patch) | |
| tree | 3785f3dde630e9d33725f4e76a37ea6e8803c634 /docs | |
| parent | 08eadb3b46dc70a297ff89308dd1cd26237785d6 (diff) | |
| download | pardes-28c70cabb6ceb7e5fecfd74f6984f5a995269f01.tar.gz pardes-28c70cabb6ceb7e5fecfd74f6984f5a995269f01.zip | |
builtins + config: Save reaches every pane holding text of its own, and takes a path argument
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design.typ | 10 |
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: |
