diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-09 23:15:39 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 23:15:53 -0300 |
| commit | 0b4cfd4b416d03ef64ccd908dfee810c6a498569 (patch) | |
| tree | 83da4851e30b4dd0e788b66f0024d5b55eaee421 /docs/typ/reference.typ | |
| parent | 7e6fc8c9f62bc3dc08e24856cc647fa0adefb32c (diff) | |
| download | pardes-0b4cfd4b416d03ef64ccd908dfee810c6a498569.tar.gz pardes-0b4cfd4b416d03ef64ccd908dfee810c6a498569.zip | |
a session's end leaves a slim dump and History lists them, the tags gain Follow, History and the window's Fonts: every way out (Exit, the last pane's Del, the host's quit) runs Pardes.endSession, which puts a dump of the session in the state file under the usual label before quitting, slim by the dump's own means (dumpJoin's slim_terminals, and Store's slim-file swap now a Slim struct: no undo, a clean file's text read from its file again by revivePane, a terminal a size for a new shell), none for a session of shells alone; the dump's image carries the panes' names, which /dumps rows end with; the History builtin (SPC f h) lists the state file's dumps in a +History pane and a look at a row is a Restore of its label; the default tags: Follow after Collapse on text panes, History before Debug on the workspace row, Fonts after Themes in a window's view alone (tagline.topbarDefault picks the row per view; both rows are known defaults to the docs and tutor tests); the tty goldens re-recorded (the new words; a narrow pane's tag wraps to a second row, so its body rows shift), builtins JSON regenerated
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'docs/typ/reference.typ')
| -rw-r--r-- | docs/typ/reference.typ | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 48bdfdbe..e1c9e263 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -396,7 +396,15 @@ Writes take settings and session builtins (`scope = .session` in #word("Restore") `<label>` word naming it to the workspace tag (the last dump's, replacing an earlier one's). The state file keeps the newest 32 dumps, and a text unchanged since an earlier one once; #file("/dumps") - lists them. `Dump export <path>` writes the dump to a file of its own + lists them. A session's end (#word("Exit"), the last pane's #word("Del"), + its terminal or window gone) leaves a dump there too, slim: its panes + with their files, directories and places, not a clean file's text (its + file's, read again), an undo history or a terminal's screen (a new shell + starts in the directory); a session of shells alone leaves none. + #word("History") (`SPC f h`) lists the state file's dumps in a `+History` + pane, the newest first, a row each: its label, date, size, pane count and + what its panes showed, a word each; a look at a row is a + #word("Restore") of its label. `Dump export <path>` writes the dump to a file of its own instead (`~` the home directory; the tag's word then names the path), which `-l <path>` and #word("Restore") `<path>` read: the way to carry a session to another machine. |
