diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 17:01:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 21:13:33 -0300 |
| commit | 70de5ec5ff3dad01afcc45244ad5e5a481486da6 (patch) | |
| tree | cd4b723dcc2cfd94c4ba2361c134927b0e2df60b /test/snapshots | |
| parent | 349790339897466f323ff28748916aa48aa344f7 (diff) | |
| download | pardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.tar.gz pardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.zip | |
dump: one walker dump of the whole session, by name across builds, for Restore, -l, Handover and the store; dump.zig's hand-written schema gone
A dump is walk.zig's walk of the core with a table of every type it reaches
(fields, enum and union names, number widths), read back by name; terminals
are ghostty's snapshot (screens, history, kitty images); a failed load frees
what it made.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots')
| -rw-r--r-- | test/snapshots/dump.snap | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/snapshots/dump.snap b/test/snapshots/dump.snap index 29e7b09e..5a602304 100644 --- a/test/snapshots/dump.snap +++ b/test/snapshots/dump.snap @@ -1,4 +1,6 @@ -# Dump serializes the session to this fixture's $DUMP path. +# Dump writes the whole session to this fixture's $DUMP path, a dump of the +# walk (src/walk.zig), and `-l` of it is that session again: the text typed +# into a terminal over its history comes back where it was. file d.txt x start 31 100 -n 3 wait 8000 d.txt @@ -14,4 +16,7 @@ stable 400 5000 press middle @Dump 1 release middle @Dump 1 stable 600 8000 -snapfile dump $DUMP +start 31 100 -l $DUMP +wait 8000 typed-marker +stable 700 20000 +snap loaded |
