diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 18:04:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 21:13:33 -0300 |
| commit | 7ba57610929544bf3d1b3d0bf65dbb039d97942b (patch) | |
| tree | 3cfa59be7b0b56e82b8bff80856eaa7f1cf63b53 /test/snapshots/dump.golden | |
| parent | 70de5ec5ff3dad01afcc45244ad5e5a481486da6 (diff) | |
| download | pardes-7ba57610929544bf3d1b3d0bf65dbb039d97942b.tar.gz pardes-7ba57610929544bf3d1b3d0bf65dbb039d97942b.zip | |
snapshots: dump, load, restore, tagnav and headersweep-restored show the session as it was dumped: a terminal's view, its prompts hidden in text mode, a pane's message, typed text over its history
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/dump.golden')
| -rw-r--r-- | test/snapshots/dump.golden | 141 |
1 files changed, 24 insertions, 117 deletions
diff --git a/test/snapshots/dump.golden b/test/snapshots/dump.golden index 2704918d..c9e8b73b 100644 --- a/test/snapshots/dump.golden +++ b/test/snapshots/dump.golden @@ -1,117 +1,24 @@ -== file dump -.{ - .magic = "pardes-dump", - .version = 1, - .screen = .{ .cols = 100, .rows = 31 }, - .active = 0, - .topbar = "Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit", - .topbar_custom = null, - .theme = "orchard", - .locations_config = .{ - .context = 0, - .tscontext = false, - .tslocations = true, - .layout = .stacked, - }, - .tree_context_tag_style = true, - .columns = .{ .{ - .serial = 1, - .tag = null, - .weight = 1, - .panes = .{ 0, 1 }, - }, .{ - .serial = 2, - .tag = null, - .weight = 1, - .panes = .{2}, - } }, - .panes = .{ - .{ - .kind = .terminal, - .tag = "/tmp/pardes-snap/dump/cwd Tty+bash Save Mode Filter Collapse Del", - .body = "ls\nd.txt\n\n\n\n typed-marker\n\n\n\n\n\n\n", - .scroll = 0, - .cols = 48, - .rows = 13, - .vweight = 1, - .collapsed = false, - .serial = 1, - .tag_tail = null, - .attached_to = null, - .terminal = .{ - .cwd = "/tmp/pardes-snap/dump/cwd", - .shell = "", - .command = "", - .status = null, - .stream = "ls\nd.txt\n", - .stream_b64 = <elided> - .stream_is_screen = true, - .cursor = .{ .col = 2, .row = 2 }, - .petscii = false, - }, - .file = null, - .image = null, - }, - .{ - .kind = .terminal, - .tag = "/tmp/pardes-snap/dump/cwd Tty+bash Save Mode Filter Collapse Del", - .body = "ls\nd.txt\n\n\n\n\n\n\n\n\n\n", - .scroll = 0, - .cols = 48, - .rows = 12, - .vweight = 1, - .collapsed = false, - .serial = 2, - .tag_tail = null, - .attached_to = null, - .terminal = .{ - .cwd = "/tmp/pardes-snap/dump/cwd", - .shell = "", - .command = "", - .status = null, - .stream = "ls\nd.txt\n", - .stream_b64 = <elided> - .stream_is_screen = true, - .cursor = .{ .col = 2, .row = 2 }, - .petscii = false, - }, - .file = null, - .image = null, - }, - .{ - .kind = .terminal, - .tag = "/tmp/pardes-snap/dump/cwd Tty+bash Save Mode Filter Collapse Del", - .body = "ls\nd.txt\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", - .scroll = 0, - .cols = 48, - .rows = 27, - .vweight = 1, - .collapsed = false, - .serial = 3, - .tag_tail = null, - .attached_to = null, - .terminal = .{ - .cwd = "/tmp/pardes-snap/dump/cwd", - .shell = "", - .command = "", - .status = null, - .stream = "ls\nd.txt\n", - .stream_b64 = <elided> - .stream_is_screen = true, - .cursor = .{ .col = 2, .row = 2 }, - .petscii = false, - }, - .file = null, - .image = null, - }, - }, - .mounts = .{}, - .settings = .{ - "MessageAnimation off", - "MessageLinger 0", - "Shell bash", - }, - .incl = .{ "/usr/include", "/usr/local/include" }, - .carried = null, -} -== end file +== snap loaded grid=100x31 cursor=16,9 +| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit +| New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol +| /tmp/pardes-snap/dump/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/dump/cwd Tty+bash Save Mode Fil +| ter Collapse Del ter Collapse Del +| ls Dump ls +| d.txt d.txt +| +| ── restored history ── ── restored history ── +| +| typed-marker +| +| +| +| +| +| +| +| /tmp/pardes-snap/dump/cwd Tty+bash Save Mode Fil +| ter Collapse Del +| ls +| d.txt +| +| ── restored history ── |
