From f26cf0be705280ff28ca69aaef6cc64e1466ed4e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 18:52:44 -0300 Subject: messages: one session-wide list of live messages replaces each pane's stack of chips (pick-ui SPEC §10.1, walk UI line C item 1): Messages.Said is a kind (echo, notice, warn, error, question, progress), its cause first as a word a Look understands (a file's path, @pN and its command), its text, the places it names and the lines that explain it, the pane it is about, the question it asks, ×n and the core's clock, in a fixed list of 16 (Messages.live); a new message retires every echo and notice, a new error the error before it, the same message right after itself is counted, progress from the same cause runs in place and is never the notice row's; an echo or a notice dims after MessageLinger (now 4000 ms, a warning twice as long: test configs' MessageLinger 0 keep their meaning, nothing dims and nothing wakes), and the core sleeps to that dim (Messages.dimDue in nextWake) instead of a frame-counted linger; no key or click dismisses a message any more: Esc in normal mode takes the warnings and errors first, then goes back as before; every call site says what it said, mapped by its entry: setMessage a notice, setStatus progress, reportError and reportFailure an error, a builtin's announcement an echo (exec.zig), the sent-to-a-REPL arrow an echo; the log ring stays the history and 9P /log (each line now with its kind); gone: Pane.msg, msg_older and their lives, slots, announcement, status and sent flags, dismissMessage, advanceMessages, holdMessages, messageWake, expireUnattended and the detached shells' 100 ms message waits; until the notice row (item 2) a pane's one message chip shows the newest message said of it (Messages.saidBy); an Upgrade's outcome is said once and is every view's; tests: Messages.zig 'an echo or a notice retires those before it, an error the error before it, a repeat counts and progress runs in place', 'Msg says a notice by hand ... and the next message retires it', 'an idle core wants no wake, and a message wakes it once, when it dims', runtime/upgrade.zig 'an upgrade's outcome stays on every view's notice row until something else is said'; core-test 862 pass 162 skip, pane-test and shell-test pass; behaviour-test: the pdf addon's script golden and one PDF Restore test move with the chip over a PDF's body, which item 2 takes away MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- core/Core.zig | 60 +++++++++++++++++++++-------------------------------------- 1 file changed, 21 insertions(+), 39 deletions(-) (limited to 'core/Core.zig') diff --git a/core/Core.zig b/core/Core.zig index 835eb86c..a4c1d086 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -350,8 +350,8 @@ chrome: colors.ChromeTheme = colors.initial_chrome, frames: *FrameStats = undefined, own_frames: FrameStats = .{}, quit: bool = false, -/// A detached session with no frontend attached: nothing renders, so -/// no input ever dismisses a message (Messages.expireUnattended). +/// A detached session with no frontend attached: nothing renders, and a +/// 9P write may size its view (ninep/ctl.zig `size`). unattended: bool = false, haptic: HapticSlot = if (platform == .macos) .none else {}, /// The look just run found nothing (look.zig missed). @@ -1576,11 +1576,6 @@ pub fn pump(p: *Pardes, host: Host) !void { } else 0; _ = p.tape.host(p, .wait_input, .{timeout}); } - // Detached, nobody's key dismisses a message: they go on the clock, - // here in the step, where the clock read is taped (the host's wait - // did it, untaped, and a replay kept a message its session had let - // go). - Messages.expireUnattended(p); p.frames.mark_start = FrameStats.nowNs(); if (p.tape.host(p, .now, .{})) |now| p.advance(now); p.settle(); @@ -1708,11 +1703,6 @@ fn updateInner(p: *Pardes, ev: Event) void { // the screen. p.needs_frame = p.needs_frame or ev != .tick; p.shell_rows.sweep(p.gpa); - Messages.expireUnattended(p); - // An announcement stands in only until its own step says more. - for (p.panes) |slot| if (slot) |pane| { - pane.msg_announcement = false; - }; // A Look's hover outlives a tick, a batch of rows coming in (no // gesture), a move with no button, and a change to another pane. const hover_stays = switch (ev) { @@ -1727,15 +1717,9 @@ fn updateInner(p: *Pardes, ev: Event) void { look.cancelLookHover(p); } switch (ev) { - .key, .mouse => { - for (p.panes) |slot| { - if (slot) |pane| Messages.dismissMessage(p, pane); - } - v.clip_pending = null; - }, + .key, .mouse => v.clip_pending = null, .tick => { Stream.step(p); - Messages.advanceMessages(p); for (0..p.panes.len) |id| exec.flushReplEnter(p, id, false); }, else => {}, @@ -1902,10 +1886,10 @@ pub const SavePath = Effect.Buf(effect_path_cap); pub const noteLateFailure = pardes.tape.taped(noteLateFailureInner); fn noteLateFailureInner(p: *Pardes, id: Pane.Id) void { // Said by reportFailure just now: its words fitted whole, the - // reason kept; else what the message row has. + // reason kept; else what was said of the pane last. const said = if (p.fs.said_at == p.fs.failures and p.fs.said_len > 0) p.fs.said[0..p.fs.said_len] - else if (p.panes[id.index()]) |pane| pane.msg[0..pane.msg_len] else return; + else if (p.panes[id.index()]) |pane| p.messages.saidBy(pane) else return; const kept = @import("Messages.zig").clip(said, p.fs.late_failure.len); @memcpy(p.fs.late_failure[0..kept.len], kept); p.fs.late_failure_len = @intCast(kept.len); @@ -2164,10 +2148,11 @@ pub fn nextWake(p: *const Pardes) ?u64 { const delay = config.look_preview_delay_frames; frames = @max(1, delay -| waiting.frames); } - for (p.panes) |slot| if (slot) |pane| { - const wait = Messages.messageWake(p, pane) orelse continue; + // A message dims at the end of its bright time. + if (Messages.dimDue(p)) |due| { + const wait = @max(1, (due - p.clock.stepped_ns + frame_ns - 1) / frame_ns); frames = if (frames) |soonest| @min(soonest, wait) else wait; - }; + } // Del's question goes up at the end of its delay: a frame then, and // none after (stepped time has reached it). for (p.panes) |slot| if (slot) |pane| if (pane.prompt == .del_side and pane.question_due_ns > p.clock.stepped_ns and pane.question_due_ns != Pane.question_asked) { @@ -2225,7 +2210,6 @@ fn advanceInner(p: *Pardes, now_ns: u64) void { // Only waiting until `due`: its counters move there at once. const held = (due - p.clock.stepped_ns) / frame; if (held > 1) { - Messages.holdMessages(p, held - 1); if (p.look_hover_wait) |*waiting| waiting.frames +|= @intCast(@min(held - 1, std.math.maxInt(u16))); p.clock.stepped_ns += (held - 1) * frame; } @@ -2621,14 +2605,13 @@ test "TreeContext rows in the tag style keep the message rows" { p.update(.{ .resize = .{ .cols = 60, .rows = 16, .row_metrics = .{ .body_w = 10, .body_h = 20, .tagline_w = 6, .tagline_h = 12 } } }); pane.file.?.tree_context = true; pane.file.?.scroll = 8; - pane.msg_len = 0; + p.messages.live_len = 0; p.sync(); _ = try p.render(p.scratch.allocator()); const full_height = p.surface.body_layers[0].viewport.h; try std.testing.expect(p.surface.body_layers[0].rows > full_height); try std.testing.expectEqual(FontRole.tagline, p.surface.body_layers[0].cells[0].style.font_role); - pane.msg[0] = '!'; - pane.msg_len = 1; + _ = Messages.keep(p, .notice, pane.serial, "", "!"); p.sync(); _ = try p.render(p.scratch.allocator()); // An overlay takes nothing: the message is a chip OVER the body's first @@ -2645,7 +2628,7 @@ test "TreeContext rows in the tag style keep the message rows" { try std.testing.expectEqual(r.x + r.w, band.viewport.x + band.viewport.w); try std.testing.expect(band.viewport.w < r.w - config.GUTTER); try std.testing.expectEqualStrings("!", band.cells[layout.tagCapacity(p, band.viewport.w) - 2].grapheme()); - pane.msg_len = 0; + p.messages.live_len = 0; p.view().prefix = .leader; p.sync(); _ = try p.render(p.scratch.allocator()); @@ -3032,7 +3015,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe try std.testing.expect(file.repl == null); try std.testing.expect(p.executeBuiltinLine(1, "Repl pithon")); try std.testing.expect(p.panes[1].?.repl == null); - try std.testing.expect(std.mem.indexOf(u8, p.panes[1].?.msg[0..p.panes[1].?.msg_len], "python") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(p.panes[1].?), "python") != null); try std.testing.expect(p.executeBuiltinLine(1, "Repl python")); // again, as a code fence may name it: no change try std.testing.expect(p.executeBuiltinLine(1, "Repl PY")); @@ -3046,8 +3029,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe Sent.drain(p); try std.testing.expectEqualStrings("ls\r", Sent.said(1)); try std.testing.expect(!Sent.spawned); - try std.testing.expect(file.msg_sent); - try std.testing.expectEqualStrings("\u{2192} python-a", file.msg[0..file.msg_len]); + try std.testing.expectEqualStrings("\u{2192} python-a", p.messages.saidBy(file)); // A body's click written back to event is done as the click: sent. A // line written to exec came back as F and runs as the command it was. { @@ -3170,7 +3152,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe p.update(.{ .key = .{ .cp = 'b' } }); Sent.drain(p); try std.testing.expect(Sent.len[1] == 0 and Sent.len[2] == 0); - try std.testing.expectEqualStrings("Repl: the REPL chosen is gone; nothing sent", file.msg[0..file.msg_len]); + try std.testing.expectEqualStrings("Repl: the REPL chosen is gone; nothing sent", p.messages.saidBy(file)); try std.testing.expect(p.executeBuiltinLine(2, "Repl python")); try std.testing.expectEqualStrings("python-b", exec.replId(&idbuf, p.panes[2].?)); @@ -3187,7 +3169,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe try std.testing.expectEqual(Pane.Prompt.none, file.prompt); Sent.drain(p); try std.testing.expect(Sent.len[1] == 0 and Sent.len[2] == 0 and !Sent.spawned); - try std.testing.expect(std.mem.indexOf(u8, file.msg[0..file.msg_len], "no program running") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(file), "no program running") != null); host.taken[1] = true; host.taken[2] = true; @@ -3197,7 +3179,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe try std.testing.expect(p.executeBuiltinLine(1, "Repl python")); try std.testing.expectEqualStrings("python-a", exec.replId(&idbuf, p.panes[1].?)); try std.testing.expect(p.executeBuiltinLine(2, "Repl")); - try std.testing.expectEqualStrings("Repl: python-b", p.panes[2].?.msg[0..p.panes[2].?.msg_len]); + try std.testing.expectEqualStrings("Repl: python-b", p.messages.saidBy(p.panes[2].?)); // A command pane is a REPL while its command runs: done, it is none, // and a done one cannot be bound. A document pane is no terminal. @@ -3276,13 +3258,13 @@ test "Term+fish, one word a tag can hold, opens a terminal on that shell" { const caller = p.panes[0].?; try std.testing.expect(p.executeBuiltinLine(0, "Term /nonexistent")); try std.testing.expect(p.view().active == before and caller.shell == null); - try std.testing.expect(std.mem.indexOf(u8, caller.msg[0..caller.msg_len], "shell \"/nonexistent\" not found") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(caller), "shell \"/nonexistent\" not found") != null); try std.testing.expect(p.executeBuiltinLine(0, "Term fsh-not-a-shell")); try std.testing.expect(caller.shell == null); // A directory passes access(X_OK); it is no shell either. try std.testing.expect(p.executeBuiltinLine(0, "Term /etc")); try std.testing.expect(p.view().active == before); - try std.testing.expect(std.mem.indexOf(u8, caller.msg[0..caller.msg_len], "Term: not a shell: /etc is a directory") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(caller), "Term: not a shell: /etc is a directory") != null); // Only a word that says so splits at `+`: `Dump+x.zon` is no Dump. try std.testing.expect(!p.executeBuiltinLine(0, "Dump+x.zon")); try std.testing.expect(!p.executeBuiltinLine(0, "Msg+hello")); @@ -3642,7 +3624,7 @@ test "Tab N draws every pane's tab N cells wide and clicks count past it; bare T try std.testing.expectEqual(@as(i32, 1), pane.body.cur_col); // Bare, it says the width. try std.testing.expect(p.executeBuiltinLine(0, "Tab")); - try std.testing.expectEqualStrings("Tab 8", pane.msg[0..pane.msg_len]); + try std.testing.expectEqualStrings("Tab 8", p.messages.saidBy(pane)); // Out of range: refused, the width kept. try std.testing.expect(p.executeBuiltinLine(0, "Tab 0")); try std.testing.expectEqual(@as(u16, 8), p.settings.tab); @@ -4072,7 +4054,7 @@ test "bytes for a terminal past what may wait for it are dropped and said, never p.emitWrite(0, big); try std.testing.expectEqual(@as(usize, 0), p.pending_write_bytes); const pane = p.panes[0].?; - try std.testing.expect(std.mem.indexOf(u8, pane.msg[0..pane.msg_len], "dropped") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(pane), "dropped") != null); } test "a bracketed paste larger than the ring still closes its bracket" { -- cgit v1.3 From c40d447e63663d947f241d60a2bdb8ce1bd141c0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 19:28:29 -0300 Subject: messages: one notice row at the window's foot indexes the live messages, and the chips over the bodies go (pick-ui SPEC §10.3, walk UI line C item 2): the panes' area ends a row higher (layout.noticeRowHeight, none on a screen under 3 rows, as the column tags); the row is a header layer of its own (Layer.Kind.notice_row, NOTICE_ROW_LAYER, Region.Kind.notice_row) in the workspace tag's colours: on the left the message the row leads with (error > question > warn > notice > echo, the newest within a rank: its glyph in its kind's ink, its cause unless its words name it, its words without a host's clock stamp, ×n, its places as words), dimmed once its bright time is over; on the right +N more, N questions · SPC e, SPC e walk for an error with places, or N messages · SPC h m; with nothing live the focused pane's path:line (a terminal's directory); built each frame from the state (Messages.noticeRow, bounded by notice_row_cap), the left part giving way to the right; B2 runs and B3 Looks at a word on it (mouse.zig); Pane.Notices keeps the leader's and a prompt's chips only; a latent fault found by it: a kind's pane reopened (its file changed on disk, a Restore) kept the hashes of the views its old state was told, so the new state was never told its view and a PDF stayed blank until something moved its pane; the reloaded message's chip used to move it (Kind.reopen now tells a new state every view; behaviour addons_pdf's disk-change and Restore tests, failing before the fix); a message's cause for a kind's pane is its path; every frame changes (the foot row): boot's foot reads '/tmp/pardes-snap/boot/cwd', msg's 'repainted' '· saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m' where a chip stood on the body's first row; the 98 tty goldens rewritten and read (57 the rows shifted alone, the rest the chips gone and racy shell output re-recorded; no file-written block and no snapshot's name changed), the four tty cases that click at fixed rows given a row more (chordcut, layout-open, images, respawn: their cursors unchanged), the addon scripts' outputs (fake, snake, life, pdf: windows a row shorter, the chip gone), hxdiff's core a row taller (22 rows as helix's), the tests over tiny screens a row taller, the drag edge of a bottom pane over the notice row (mouse.zig); tests: Messages.zig 'the notice row leads with the most important live message ...', 'a builtin announces itself on the notice row, an echo ...', draw.zig 'the word under the pointer on the notice row is lit ...', 'a message wider than the notice row ... gives way to the row's right end'; tui gate: core-test, pane-test, shell-test, behaviour-test (and --replay: 20 seeds, 0 failures), term-test, kitty-test pass; process-test 0 of 146 failed; the gui build is gated at the line's end MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- addons/fake/fake.out | 37 +-- addons/life/life.out | 19 +- addons/pdf/pdf.out | 80 ++--- addons/snake/snake.out | 27 +- core/Core.zig | 19 +- core/Kind.zig | 3 + core/Layer.zig | 3 +- core/Messages.zig | 208 +++++++----- core/draw.zig | 94 ++++-- core/layout.zig | 30 +- core/mouse.zig | 21 +- core/ninep/ctl.zig | 2 +- core/panes.zig | 5 +- core/replica.zig | 4 +- core/root.zig | 6 +- core/surface.zig | 3 + dev/gui/gui.zig | 2 +- test/behaviour/keys.zig | 17 +- test/behaviour/placement.zig | 7 +- test/behaviour/tags.zig | 8 +- test/hxdiff.zig | 5 +- test/panes.zig | 4 +- test/process/root_ctl.zig | 9 +- test/process/tty_editing.zig | 3 +- test/process/tty_images.zig | 3 +- test/process/tty_layout.zig | 3 +- test/process/tty_terminals.zig | 3 +- test/snapshots/argv.golden | 74 +++++ test/snapshots/badutf.golden | 47 +++ test/snapshots/boot.golden | 28 +- test/snapshots/builtins.golden | 67 +++- test/snapshots/callstack.golden | 23 +- test/snapshots/chordcut.golden | 42 ++- test/snapshots/cmdexit.golden | 40 ++- test/snapshots/cmdword.golden | 56 +++- test/snapshots/colgrip.golden | 21 +- test/snapshots/collapse.golden | 35 +- test/snapshots/cursorline.golden | 75 +++-- test/snapshots/delask.golden | 32 +- test/snapshots/diffstack.golden | 13 +- test/snapshots/diffview.golden | 50 +-- test/snapshots/dirpane.golden | 16 + test/snapshots/dump.golden | 12 +- test/snapshots/edit.golden | 22 +- test/snapshots/emptycol.golden | 20 ++ test/snapshots/exec-bigdrag.golden | 29 +- test/snapshots/exec.golden | 20 +- test/snapshots/fileedit.golden | 49 ++- test/snapshots/filewatch.golden | 13 +- test/snapshots/find.golden | 134 +++++--- test/snapshots/follow.golden | 106 +++--- test/snapshots/fsearch.golden | 128 ++++---- test/snapshots/ghostty-mid.golden | 12 +- test/snapshots/grep.golden | 70 ++-- test/snapshots/headersweep-restored.golden | 31 +- test/snapshots/headersweep.golden | 24 +- test/snapshots/hscroll.golden | 32 +- test/snapshots/images.golden | 69 ++-- test/snapshots/jumps.golden | 138 ++++---- test/snapshots/layout-close.golden | 47 ++- test/snapshots/layout-open.golden | 23 +- test/snapshots/leader.golden | 82 +++-- test/snapshots/load.golden | 36 +- test/snapshots/logquiet.golden | 25 ++ test/snapshots/look-center.golden | 65 ++-- test/snapshots/look-fd-deep.golden | 10 + test/snapshots/look-file-1col.golden | 4 +- test/snapshots/look-file.golden | 69 ++-- test/snapshots/lookloaded.golden | 46 ++- test/snapshots/lookpanes.golden | 42 ++- test/snapshots/lookrange.golden | 73 +++-- test/snapshots/lsp-client-edit.golden | 18 +- test/snapshots/lsp-client.golden | 24 +- test/snapshots/lsp-rename-files.golden | 11 +- test/snapshots/lsp-rename.golden | 10 +- test/snapshots/lsp.golden | 38 ++- test/snapshots/lspcomplete.golden | 81 ++++- test/snapshots/lspcompletemoved.golden | 7 +- test/snapshots/lspdebug.golden | 36 +- test/snapshots/lsprelpath.golden | 119 ++++--- test/snapshots/markup.golden | 31 +- test/snapshots/mini.golden | 55 +++- test/snapshots/modal.golden | 37 ++- test/snapshots/msg.golden | 34 +- test/snapshots/multicursor.golden | 95 +++--- test/snapshots/nested-optout.golden | 21 +- test/snapshots/nested.golden | 24 ++ test/snapshots/ninep.golden | 29 +- test/snapshots/pagercolor.golden | 46 +-- test/snapshots/pipe.golden | 8 + test/snapshots/psearch.golden | 12 +- test/snapshots/reflow.golden | 6 + test/snapshots/respawn.golden | 24 +- test/snapshots/restore.golden | 26 +- test/snapshots/savepane.golden | 30 +- test/snapshots/scroll.golden | 116 +++---- test/snapshots/scrolloff.golden | 61 ++-- test/snapshots/selarg.golden | 14 +- test/snapshots/selregex.golden | 21 +- test/snapshots/shellset.golden | 19 +- test/snapshots/shrinktag.golden | 20 +- test/snapshots/stepgrain.golden | 76 +++-- test/snapshots/syntax.golden | 57 ++-- test/snapshots/tag.golden | 20 +- test/snapshots/tagalign.golden | 105 ++++++ test/snapshots/tagalign2col.golden | 24 ++ test/snapshots/tagcmd.golden | 24 +- test/snapshots/tagnav.golden | 38 ++- test/snapshots/tagpath.golden | 27 +- test/snapshots/theme.golden | 257 ++++++++------- test/snapshots/themesel.golden | 506 +++++++++++++++-------------- test/snapshots/topbarexec.golden | 23 +- test/snapshots/tty.golden | 33 +- test/snapshots/ttyclick.golden | 12 +- test/snapshots/ttyedit.golden | 15 +- test/snapshots/ttyfollow.golden | 55 ++-- test/snapshots/ttyhelp.golden | 11 +- test/snapshots/ttylook.golden | 39 ++- test/snapshots/ttyonly.golden | 10 +- test/snapshots/ttypaste.golden | 12 +- test/snapshots/ttyprompt.golden | 12 +- test/snapshots/ttytaken.golden | 47 ++- test/snapshots/tutor.golden | 24 +- test/snapshots/wheeldrift.golden | 7 +- test/snapshots/winch.golden | 28 +- test/snapshots/windownav.golden | 42 ++- test/snapshots/windowops.golden | 24 +- test/snapshots/wrap.golden | 16 +- test/snapshots/yankpaste.golden | 24 ++ test/terminal.zig | 2 +- 130 files changed, 3560 insertions(+), 1758 deletions(-) (limited to 'core/Core.zig') diff --git a/addons/fake/fake.out b/addons/fake/fake.out index 1699ffa6..4216d91e 100644 --- a/addons/fake/fake.out +++ b/addons/fake/fake.out @@ -1,12 +1,11 @@ > seed 7 > size 60 20 -window 58x7 +window 58x6 tag fake petscii:on palette:commodore ascii:on |count 0 | | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 4b3cd99b86ea3486 @@ -15,8 +14,7 @@ tag fake petscii:on palette:commodore ascii:on |count 2 |kb | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key fdcaab9076ad067e @@ -25,8 +23,7 @@ tag fake petscii:on palette:commodore ascii:on |count 3 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 71e39225f0cec2a5 @@ -35,8 +32,7 @@ tag fake petscii:on palette:commodore ascii:on |count 13 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 54740e23065232cf @@ -45,8 +41,7 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -55,8 +50,7 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -65,19 +59,17 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 2 58x7 -| +|view 2 58x6 | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 > size 70 30 -window 68x12 +window 68x11 tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 2 68x12 -| +|view 2 68x11 | | | @@ -91,8 +83,7 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -101,8 +92,7 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -111,8 +101,7 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x7 glyphs -| +|view 1 58x6 glyphs | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 diff --git a/addons/life/life.out b/addons/life/life.out index fb5a7b13..e6da2e40 100644 --- a/addons/life/life.out +++ b/addons/life/life.out @@ -1,6 +1,6 @@ > seed 7 > size 40 36 -window 38x16 +window 38x15 tag gen 0 alive 130 |.#.#.......##......#...#..#..... |#.#......#......#......#.#...... @@ -17,7 +17,6 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. -|..#..##.#.......##.....#...#.... > tick 100 tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -35,7 +34,6 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. -|..#..##.#.......##.....#...#.... > tick 100 tag gen 1 alive 170 |.#.#............##....##..#..... @@ -53,7 +51,6 @@ tag gen 1 alive 170 |#######..#.###....#......#....## |...#.#...#....##..##.......#.#.# |...#..##.#.#######........#.###. -|..####.......#.#####......##.... > tick 100 tag gen 2 alive 126 |.#...........###......######.... @@ -71,7 +68,6 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. -|.....##......#...........##.##.. > key x x tag gen 3 alive 131 paused |.#.........#...#......#.....#... @@ -88,7 +84,6 @@ tag gen 3 alive 131 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. -|.....##.##...................##. > tick 300 tag gen 3 alive 131 paused |.#.........#...#......#.....#... @@ -105,7 +100,6 @@ tag gen 3 alive 131 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. -|.....##.##...................##. > key lljx tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -122,7 +116,6 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. -|.....##.##...................##. > key k tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -139,7 +132,6 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. -|.....##.##...................##. > body =.#.........#...#......#.....#... =...........#...................# @@ -174,7 +166,6 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. -|.....##.##...................##. > key r tag gen 0 alive 130 paused |.#.#.......##......#...#..#..... @@ -191,7 +182,6 @@ tag gen 0 alive 130 paused |.#..##.......#..#..#....#.#..... |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# -|....#......##.##..#.#.....#.#.#. > key h l tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -209,7 +199,6 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. -|..#..##.#.......##.....#...#.... > tick 100 tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -227,7 +216,6 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. -|..#..##.#.......##.....#...#.... > tick 100 tag gen 2 alive 126 |.#...........###......######.... @@ -245,7 +233,6 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. -|.....##......#...........##.##.. > blur tag gen 2 alive 126 |.#...........###......######.... @@ -263,7 +250,6 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. -|.....##......#...........##.##.. > tick 300 tag gen 2 alive 126 |.#...........###......######.... @@ -281,7 +267,6 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. -|.....##......#...........##.##.. > focus tag gen 2 alive 126 |.#...........###......######.... @@ -299,7 +284,6 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. -|.....##......#...........##.##.. > tick 200 tag gen 3 alive 131 |.#.........#...#......#.....#... @@ -317,4 +301,3 @@ tag gen 3 alive 131 |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. -|.....###....##.........#....###. diff --git a/addons/pdf/pdf.out b/addons/pdf/pdf.out index 2d4566b1..1c438783 100644 --- a/addons/pdf/pdf.out +++ b/addons/pdf/pdf.out @@ -1,5 +1,5 @@ > open docs/design.pdf -window 78x9 +window 78x8 tag [1/16] petscii:on palette:commodore ascii:on docs/design.pdf |Pardes: A Text Environment |Architecture and implementation of the rewrite @@ -9,7 +9,6 @@ tag [1/16] petscii:on palette:commodore ascii:on docs/design.pdf |— where the prototype had three parallel implementations of one editor. Two se |is a state machine over plain values: Event in, Surface and a queue of Effect |said in those types exists in pardes. Downward, host.VTable is twenty-one opti -|one answered in-process, so the zero-method host is both the test harness and > graphics on tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -20,10 +19,9 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x184 over 0,0 78x9 key 3017bc3ce49f9593 at 0,0 624x144 +placement 794x1123 src 0,0 794x163 over 0,0 78x8 key 3017bc3ce49f9593 at 0,0 624x128 > size 60 20 -window 58x7 +window 58x6 tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | @@ -31,8 +29,7 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 +placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 > key j tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -41,8 +38,7 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,27 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 +placement 794x1123 src 0,27 794x165 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 > key 3j tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -51,8 +47,7 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,109 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 +placement 794x1123 src 0,109 794x166 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 > key G tag [16/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -61,8 +56,7 @@ tag [16/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1182c0220e1b5a25 at 0,0 464x112 +placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 1182c0220e1b5a25 at 0,0 464x96 > key gg tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -71,8 +65,7 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 5400263dddff499a at 0,0 464x112 +placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 5400263dddff499a at 0,0 464x96 > key 3gg tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -81,8 +74,7 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1da05d9257cc481d at 0,0 464x112 +placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 1da05d9257cc481d at 0,0 464x96 > PdfFit tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -91,8 +83,7 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key acaee8c0ff4f63a6 at 192,0 79x112 +placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key acaee8c0ff4f63a6 at 198,0 67x96 > ctl =fit:height tint:filtered > PdfTint full @@ -103,30 +94,27 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 11acd08483d3011b at 192,0 79x112 +placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 > ctl =fit:height tint:full > PdfTint loud tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf -|ent: PdfTint takes disabled, filtered or full, not "loud" | | | | | | -placement 794x1123 src 0,0 794x1123 over 0,1 58x6 key a790cfe920570b8b at 198,0 67x96 +placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 > key tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf -|ent: PdfTint takes disabled, filtered or full, not "loud" -| Last | | | | | -placement 794x1123 src 0,0 794x1123 over 0,2 58x5 key b7d9755f4d1c3b06 at 204,0 56x80 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 > dump dump 24 bytes tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf @@ -136,8 +124,7 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -| -placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 4a2b3987bae4cbef at 192,0 79x112 +placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 4a2b3987bae4cbef at 198,0 67x96 > graphics off tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |The watch path, in full, because it is the ask with the mo @@ -146,7 +133,6 @@ tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |otify or a macOS kqueue behind one mark/reconcile transact |the native macOS host watches with debounced DispatchSourc |instead, then restats the exact path under a pane-generati -|guard. All three macOS watchers mark the same two things f > key j tag [4/16] petscii:on palette:commodore ascii:on docs/design.pdf |/// How to route a method, read off its own name. A method @@ -155,7 +141,6 @@ tag [4/16] petscii:on palette:commodore ascii:on docs/design.pdf |/// user: one Ctrl-V pasting twice. |fn isPull(comptime name: []const u8) bool { | if (std.mem.startsWith(u8, name, "pull_")) return true -| if (std.mem.startsWith(u8, name, "push_")) { > key 2k tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |the core — src/pardes.zig @@ -164,7 +149,6 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |emit(e) → fixed ring, limits.effect_cap |nextEffect() → perform(e) |single-threaded by construction -|native input > key 3gj tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |emit(e) → fixed ring, limits.effect_cap @@ -173,7 +157,6 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |native input |termios+vaxis / SDL / DOM / |AppKit / a byte sink on a UART -|Event > key gk tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |render(arena) → *Surface @@ -182,10 +165,8 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |single-threaded by construction |native input |termios+vaxis / SDL / DOM / -|AppKit / a byte sink on a UART > key 999gj tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf -|detach is served only by a detached core’s host, and the n |is the point rather than an oversight — a local tty or SDL |has no session to leave, so perform reports that on the pa |message row instead of quietly quitting something (the .de @@ -200,37 +181,36 @@ tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |otify or a macOS kqueue behind one mark/reconcile transact |the native macOS host watches with debounced DispatchSourc |instead, then restats the exact path under a pane-generati -|guard. All three macOS watchers mark the same two things f > open test/pdf-fixtures/huge-pages.pdf -window 58x1 +window 58x2 tag [1/4] petscii:on palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size +| | > graphics on tag [1/4] petscii:off palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size | -placement 1x1 src 0,0 1x1 over 0,1 58x1 key fb85a0e4117bdb75 at 0,0 464x1 -placement 1200x1200 src 0,0 1200x19 over 0,1 58x1 key a44f40e9b170318e at 0,9 464x7 +| +placement 1x1 src 0,0 1x1 over 0,0 58x2 key fb85a0e4117bdb75 at 0,0 464x1 +placement 1200x1200 src 0,0 1200x60 over 0,0 58x2 key a44f40e9b170318e at 0,9 464x23 > size 60 20 -window 58x1 +window 58x2 tag [1/4] petscii:off palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size | -placement 1x1 src 0,0 1x1 over 0,1 58x1 key fb85a0e4117bdb75 at 0,0 464x1 -placement 1200x1200 src 0,0 1200x19 over 0,1 58x1 key a44f40e9b170318e at 0,9 464x7 +| +placement 1x1 src 0,0 1x1 over 0,0 58x2 key fb85a0e4117bdb75 at 0,0 464x1 +placement 1200x1200 src 0,0 1200x60 over 0,0 58x2 key a44f40e9b170318e at 0,9 464x23 > key j tag [2/4] petscii:off palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size | -placement 1200x1200 src 0,18 1200x42 over 0,1 58x1 key a44f40e9b170318e at 0,0 464x16 +| +placement 1200x1200 src 0,18 1200x83 over 0,0 58x2 key a44f40e9b170318e at 0,0 464x32 > key 2j tag [2/4] petscii:off palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size | -placement 1200x1200 src 0,100 1200x43 over 0,1 58x1 key a44f40e9b170318e at 0,0 464x16 +| +placement 1200x1200 src 0,100 1200x84 over 0,0 58x2 key a44f40e9b170318e at 0,0 464x32 > key G tag [4/4] petscii:off palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf -| a page past 16777216 pt on a side: laid out at that size | -placement 816x64 src 0,0 816x29 over 0,1 58x1 key aa6de78f475e58f7 at 0,0 464x16 +| +placement 816x64 src 0,0 816x57 over 0,0 58x2 key aa6de78f475e58f7 at 0,0 464x32 diff --git a/addons/snake/snake.out b/addons/snake/snake.out index 6869c5cc..3249eaf9 100644 --- a/addons/snake/snake.out +++ b/addons/snake/snake.out @@ -1,6 +1,6 @@ > seed 3 > size 40 30 -window 38x13 +window 38x12 tag Snake 0 |###################### |# # @@ -14,7 +14,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 0 |###################### @@ -29,7 +28,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 0 |###################### @@ -44,7 +42,6 @@ tag Snake 0 | | | -| > key k tag Snake 0 |###################### @@ -59,7 +56,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 0 |###################### @@ -74,7 +70,6 @@ tag Snake 0 | | | -| > key l tag Snake 0 |###################### @@ -89,7 +84,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 0 |###################### @@ -104,7 +98,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 1 |###################### @@ -119,7 +112,6 @@ tag Snake 1 | | | -| > key h tag Snake 1 |###################### @@ -134,7 +126,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 |###################### @@ -149,7 +140,6 @@ tag Snake 1 | | | -| > key j tag Snake 1 |###################### @@ -164,7 +154,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 |###################### @@ -179,7 +168,6 @@ tag Snake 1 | | | -| > ctl =score 1 =length 4 @@ -202,7 +190,6 @@ tag Snake 1 | | | -| > settle tag Snake 1 |###################### @@ -217,7 +204,6 @@ tag Snake 1 | | | -| > tick 600 tag Snake 1 |###################### @@ -232,7 +218,6 @@ tag Snake 1 | | | -| > focus tag Snake 1 |###################### @@ -247,7 +232,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 |###################### @@ -262,7 +246,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 |###################### @@ -277,7 +260,6 @@ tag Snake 1 | | | -| > dump dump 240 bytes tag Snake 1 @@ -293,7 +275,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 |###################### @@ -308,7 +289,6 @@ tag Snake 1 | | | -| > tick 150 tag Snake 1 over |###################### @@ -323,7 +303,6 @@ tag Snake 1 over | | | -| > tick 150 tag Snake 1 over |###################### @@ -338,7 +317,6 @@ tag Snake 1 over | | | -| > settle tag Snake 1 over |###################### @@ -353,7 +331,6 @@ tag Snake 1 over | | | -| > key x tag Snake 0 |###################### @@ -368,7 +345,6 @@ tag Snake 0 | | | -| > tick 150 tag Snake 0 |###################### @@ -383,4 +359,3 @@ tag Snake 0 | | | -| diff --git a/core/Core.zig b/core/Core.zig index a4c1d086..27a0da4f 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -2611,28 +2611,23 @@ test "TreeContext rows in the tag style keep the message rows" { const full_height = p.surface.body_layers[0].viewport.h; try std.testing.expect(p.surface.body_layers[0].rows > full_height); try std.testing.expectEqual(FontRole.tagline, p.surface.body_layers[0].cells[0].style.font_role); + // A message is on the notice row, not over the body: the viewport + // keeps every row it had. _ = Messages.keep(p, .notice, pane.serial, "", "!"); p.sync(); _ = try p.render(p.scratch.allocator()); - // An overlay takes nothing: the message is a chip OVER the body's first - // row, so the viewport keeps every row it had. try std.testing.expectEqual(full_height, p.surface.body_layers[0].viewport.h); + // ...and the leader's chip is an overlay that takes nothing either. const r = p.view().rects[0]; + p.view().prefix = .leader; + p.sync(); + _ = try p.render(p.scratch.allocator()); + try std.testing.expectEqual(full_height, p.surface.body_layers[0].viewport.h); const band = for (p.surface.tagLayers()) |*layer| { if (layer.rows != 0 and layer.kind == .notice) break layer; } else return error.NoNoticeBand; try std.testing.expectEqual(p.bodyTop(pane, r), band.viewport.y); - try std.testing.expectEqual(p.surface.body_layers[0].viewport.y, band.viewport.y); - // Sized to its message, flush with the pane's right edge, and the text - // right aligned a cell short of that edge. try std.testing.expectEqual(r.x + r.w, band.viewport.x + band.viewport.w); - try std.testing.expect(band.viewport.w < r.w - config.GUTTER); - try std.testing.expectEqualStrings("!", band.cells[layout.tagCapacity(p, band.viewport.w) - 2].grapheme()); - p.messages.live_len = 0; - p.view().prefix = .leader; - p.sync(); - _ = try p.render(p.scratch.allocator()); - try std.testing.expectEqual(full_height, p.surface.body_layers[0].viewport.h); p.view().prefix = .none; } diff --git a/core/Kind.zig b/core/Kind.zig index 764b6f06..806cd858 100644 --- a/core/Kind.zig +++ b/core/Kind.zig @@ -312,6 +312,9 @@ pub fn reopen(p: *Pardes, id: usize, s: *Slot, bytes: ?[]const u8) bool { s.tail.len = @intCast(w.buffered().len); } s.opened = if (bytes) |b| std.hash.Wyhash.hash(0, b) else 0; + // A state made afresh is told every view afresh: the views told the + // one before (a file changed on disk, a Restore) are not its. + s.views = @splat(0); // Its file not read (not here): it waits for it, a placeholder. if (s.ops != null and bytes == null and s.path.len > 0) _ = cl.refused.print("{s} is not here", .{s.path}) else if (s.ops) |ops| { const path_z = s.arena.allocator().dupeSentinel(u8, s.path, 0) catch ""; diff --git a/core/Layer.zig b/core/Layer.zig index 8128543a..79552631 100644 --- a/core/Layer.zig +++ b/core/Layer.zig @@ -20,7 +20,8 @@ const Layer = @This(); /// chord -- carried as a tagline-shaped band so it gets the tagline's height, /// small-font metrics, band offset and border instead of being a body-grid row /// wearing a tagline font. -pub const Kind = enum(u8) { workspace, column, pane, notice, body }; +/// `notice_row` is the window's foot row, the live messages' index. +pub const Kind = enum(u8) { workspace, column, pane, notice, body, notice_row }; pub const Metrics = struct { body_w: u16 = 1, diff --git a/core/Messages.zig b/core/Messages.zig index 747e5e2f..b4950b4f 100644 --- a/core/Messages.zig +++ b/core/Messages.zig @@ -2,8 +2,9 @@ //! word a Look understands, its text, the places it names and the lines //! that explain it, kept in a fixed list while it lives; the log of //! everything said behind them (the history, `SPC h m`, and 9P `/log`); -//! and the transient bands a pane shows over its body's top rows (the -//! pending leader chord, a prompt waiting for input). +//! the notice row at the window's foot that indexes them; and the +//! transient bands a pane shows over its body's top rows (the pending +//! leader chord, a prompt waiting for input). const pardes = @import("root.zig"); const memory = @import("memory.zig"); const std = @import("std"); @@ -277,7 +278,7 @@ pub fn say(p: *Pardes, kind: Kind, id: usize, text: []const u8) void { const pane: ?*Pane = if (id < MAX_PANES and !p.fs.session_write) p.panes[id] else null; var src: Buf(96) = .{}; if (pane) |cause| { - if (cause.file) |f| src.set(f.path) else if (cause.command) |line| { + if (cause.file) |f| src.set(f.path) else if (if (cause.addon) |k| k.path.len > 0 else false) src.set(cause.addon.?.path) else if (cause.command) |line| { const first = line[0 .. std.mem.indexOfAny(u8, line, "\r\n") orelse line.len]; var cut = @min(first.len, 64); while (cut < first.len and cut > 0 and first[cut] & 0xC0 == 0x80) cut -= 1; @@ -407,11 +408,80 @@ pub fn dimDue(p: *const Pardes) ?u64 { return soonest; } +/// The notice row's line (SPEC §10.3), `width` columns: on the left the +/// message the row leads with (`headline`), its glyph, its cause, its +/// words, `×n` and the places it names; on the right how many more live, +/// the questions waiting, or the way to the history. With nothing live the +/// left says where the focused pane's caret is. Built each frame from the +/// state, in `out`. +pub const Row = struct { + /// The left part's end and the right part's start, in bytes of `text`. + left: usize = 0, + right: usize = 0, + text: []const u8 = "", +}; + +/// Room for the notice row's line: the widest window's at the tagline's +/// pitch (Layer.capacity) is cut to it. +pub const notice_row_cap = 1024; + +pub fn noticeRow(p: *const Pardes, width: usize, out: *[notice_row_cap]u8) Row { + const m = &p.messages; + var w: std.Io.Writer = .fixed(out); + var live: usize = 0; + var questions: usize = 0; + for (m.live[0..m.live_len]) |*s| { + if (s.kind == .progress) continue; + live += 1; + if (s.kind == .question) questions += 1; + } + const lead = m.headline(); + if (lead) |s| { + w.print("{s} ", .{s.kind.glyph()}) catch {}; + // Its cause first, unless its words name it already. + const words = s.words(); + if (s.src.len > 0 and std.mem.indexOf(u8, words, s.src.slice()) == null) w.print("{s} ", .{s.src.slice()}) catch {}; + w.writeAll(words) catch {}; + if (s.n > 1) w.print(" \u{d7}{d}", .{s.n}) catch {}; + for (s.places[0..s.places_len], 0..) |*place, i| w.print("{s} {s}:{d}:{d}", .{ if (i > 0) " \u{b7}" else "", place.path.slice(), place.line, place.col }) catch {}; + } else if (p.panes[p.view().active]) |pane| { + if (pane.file) |f| w.print("{s}:{d}", .{ f.path, pane.body.cur_row + 1 }) catch {} else w.writeAll(pane.cwdSlice()) catch {}; + } + const left_end = w.end; + var right: [64]u8 = undefined; + var r: std.Io.Writer = .fixed(&right); + if (live > 1) r.print("+{d} \u{b7} ", .{live - 1}) catch {}; + if (questions > 0) + r.print("{d} question{s} \u{b7} SPC e", .{ questions, if (questions == 1) "" else "s" }) catch {} + else if (lead != null and lead.?.kind == .@"error" and lead.?.places_len > 0) + r.writeAll("SPC e walk") catch {} + else if (m.len > 0) + r.print("{d} message{s} \u{b7} SPC h m", .{ m.len, if (m.len == 1) "" else "s" }) catch {}; + const tail = r.buffered(); + // The left cut to make room for the right, a blank between them. + const tab = p.settings.tab; + const tail_w = panes.File.displayWidth(tab, tail); + const room = width -| (tail_w + 1); + var cut = left_end; + if (panes.File.displayWidth(tab, out[0..cut]) > room) { + cut = panes.File.rawAtDisplay(tab, out[0..left_end], room); + while (cut > 0 and panes.File.displayWidth(tab, out[0..cut]) > room) { + cut -= 1; + while (cut > 0 and out[cut] & 0xC0 == 0x80) cut -= 1; + } + } + w.end = cut; + const gap = width -| (panes.File.displayWidth(tab, out[0..cut]) + tail_w); + for (0..gap) |_| w.writeByte(' ') catch {}; + const right_at = w.end; + w.writeAll(tail) catch {}; + return .{ .left = cut, .right = right_at, .text = w.buffered() }; +} + /// What notice band `i` says. The grid pass and the band layers both /// read it here, so a terminal and a pixel shell show the same line. pub fn noticeText(p: *const Pardes, pane: *const Pane, i: usize, leader_buf: *[16]u8) []const u8 { return switch (pane.notices.kinds[i]) { - .message => p.messages.saidBy(pane), .leader => leaderText(p, leader_buf), .prompt => pane.promptText() orelse "", }; @@ -603,8 +673,6 @@ pub fn collectNotices(p: *Pardes, pane: *Pane, r: Rect, id: usize) void { pub fn bands(p: *const Pardes, v: *const Pardes.View, pane: *const Pane, tag_rows: u16, r: Rect, id: usize) Pane.Notices { var n: Pane.Notices = .{}; if (r.w <= config.GUTTER or r.h <= tag_rows) return n; - // The newest message said of it on top. - if (p.messages.saidBy(pane).len > 0) n.push(.message); if (id == v.active and v.prefix == .leader) n.push(.leader); // Del's question shows once its delay is up: answered before that, it // was never there. @@ -769,7 +837,7 @@ test "an echo or a notice retires those before it, an error the error before it, try std.testing.expectEqualStrings("w3", m.live[0].text.slice()); } -test "a builtin announces itself on the message row, and Verbose silences it" { +test "a builtin announces itself on the notice row, an echo, and Verbose silences it" { if (pardes.Term.ops == null) return error.SkipZigTest; // a terminal's tag row const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 24 }); defer p.deinit(); @@ -777,39 +845,35 @@ test "a builtin announces itself on the message row, and Verbose silences it" { p.sync(); try std.testing.expect(p.settings.verbose); - // Wrap, not Collapse: a builtin that folds its own pane away leaves no row - // for its announcement, which is correct and not what this is testing. + // Wrap, not Collapse: a builtin that folds its own pane away is not + // what this is testing. try std.testing.expect(p.executeBuiltinLine(p.view().active, "Wrap")); try std.testing.expectEqualStrings("Wrap", p.messages.saidBy(pane)); - // A value it does not take is said, in place of the announcement. + try std.testing.expectEqual(Kind.echo, p.messages.headline().?.kind); + // A value it does not take is said, an error, and leads the row. const wrapped = p.settings.wrap; try std.testing.expect(p.executeBuiltinLine(p.view().active, "Wrap maybe")); try std.testing.expectEqualStrings("Wrap: takes on, off", p.messages.saidBy(pane)); try std.testing.expectEqual(wrapped, p.settings.wrap); - // The notice list is what the paint pass reads, so the announcement has to - // reach it, not just the buffer. - collectNotices(p, pane, p.view().rects[p.view().active], p.view().active); - try std.testing.expect(pane.notices.len > 0); - try std.testing.expectEqual(Pane.Notices.Kind.message, pane.notices.kinds[0]); - - // ...and it is carried as a tagline band, not a body row: that is what - // gives it the tagline's height, its small font and its border. + // ...on the window's foot row, a tagline-shaped layer, not on a chip + // over the pane's body. var frame = std.heap.ArenaAllocator.init(std.testing.allocator); defer frame.deinit(); - _ = try p.render(frame.allocator()); - const r = p.view().rects[p.view().active]; - const band = for (p.surface.tagLayers()) |*layer| { - if (layer.rows != 0 and layer.kind == .notice) break layer; - } else return error.NoNoticeBand; - try std.testing.expectEqual(@as(u16, 1), band.viewport.h); - try std.testing.expectEqual(r.y + BOX_H, band.viewport.y); - // Right aligned: the text ends at the band's right edge. - const line = band.cells[0..band.cols]; - var last: usize = line.len; - while (last > 0 and line[last - 1].grapheme()[0] == ' ') last -= 1; - try std.testing.expect(last > 0); - try std.testing.expect(line[0].grapheme()[0] == ' '); + const s = try p.render(frame.allocator()); + try std.testing.expectEqual(@as(u8, 0), pane.notices.len); + const row = for (s.tagLayers()) |*layer| { + if (layer.rows != 0 and layer.kind == .notice_row) break layer; + } else return error.NoNoticeRow; + try std.testing.expectEqual(@as(u16, 1), row.viewport.h); + try std.testing.expectEqual(p.view().screen_h - 1, row.viewport.y); + var want: [64]u8 = undefined; + const said = try std.fmt.bufPrint(&want, "\u{2717} @p{d} Wrap: takes on, off", .{pane.serial}); + const grid = s.cells[@as(usize, row.viewport.y) * s.cols ..][0..s.cols]; + var text: std.ArrayList(u8) = .empty; + defer text.deinit(std.testing.allocator); + for (grid) |cell| try text.appendSlice(std.testing.allocator, cell.grapheme()); + try std.testing.expect(std.mem.indexOf(u8, text.items, said) != null); // Msg owns the row itself, so it does not announce over its own text. try std.testing.expect(p.executeBuiltinLine(p.view().active, "Msg hello")); @@ -821,52 +885,48 @@ test "a builtin announces itself on the message row, and Verbose silences it" { try std.testing.expectEqual(@as(usize, 0), p.messages.saidBy(pane).len); } -test "notices stack over the body's top rows without moving them" { - const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 24 }); +test "the notice row leads with the most important live message, its count and places, and says how many more; with none, where the caret is" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 80, .rows = 24 }); defer p.deinit(); + const pane = try p.setTestFile("one\ntwo\nthree\n"); const id = p.view().active; - const pane = p.panes[id].?; - p.sync(); - var frame = std.heap.ArenaAllocator.init(std.testing.allocator); - defer frame.deinit(); - - const r = p.view().rects[id]; - const top = p.bodyTop(pane, r); - - // A message and a leader prefix at once: two chips, in the order - // collectNotices chose, each one row tall and each one row further down. - try std.testing.expect(p.executeBuiltinLine(id, "Msg first")); - p.view().prefix = .leader; - p.view().leader_n = 0; - _ = frame.reset(.retain_capacity); - _ = try p.render(frame.allocator()); - try std.testing.expectEqual(@as(u8, 2), pane.notices.len); - // An overlay, not a reservation: the body still starts where it did. - try std.testing.expectEqual(top, p.bodyTop(pane, r)); - - var seen: usize = 0; - for (p.surface.tagLayers()) |*layer| { - if (layer.rows == 0 or layer.kind != .notice) continue; - try std.testing.expectEqual(@as(u16, 1), layer.viewport.h); - // Sized to its own message, right up against the pane's right edge -- - // not the width of the pane. - try std.testing.expectEqual(r.x + r.w, layer.viewport.x + layer.viewport.w); - try std.testing.expect(layer.viewport.w < r.w - config.GUTTER); - try std.testing.expect(layer.viewport.y == top or layer.viewport.y == top + 1); - try std.testing.expectEqual(pane.notices.left[layer.viewport.y - top], layer.viewport.x); - seen += 1; - } - try std.testing.expectEqual(@as(usize, 2), seen); - // "first" is longer than "SPC", so its chip is wider. - try std.testing.expect(pane.notices.left[0] < pane.notices.left[1]); - - // Gone with the notices: no stale chip left behind. - p.view().prefix = .none; p.messages.live_len = 0; - _ = frame.reset(.retain_capacity); - _ = try p.render(frame.allocator()); - for (p.surface.tagLayers()) |*layer| - try std.testing.expect(layer.rows == 0 or layer.kind != .notice); + p.messages.len = 0; + pane.body.cur_row = 1; + var buf: [notice_row_cap]u8 = undefined; + var row = noticeRow(p, 60, &buf); + try std.testing.expectEqualStrings("/test.txt:2", row.text[0..row.left]); + try std.testing.expectEqual(@as(usize, 60), panes.File.displayWidth(p.settings.tab, row.text)); + // A notice, then an error and a warning: the error leads, newest first + // within a rank; the others are counted. + say(p, .notice, id, "indexed"); + say(p, .warn, id, "careful"); + say(p, .@"error", id, "broke"); + row = noticeRow(p, 60, &buf); + try std.testing.expectEqualStrings("\u{2717} /test.txt broke", row.text[0..row.left]); + try std.testing.expect(std.mem.endsWith(u8, row.text, "+1 \u{b7} 3 messages \u{b7} SPC h m")); + // A burst of the same: one message, counted; the row keeps its width. + for (0..9) |_| say(p, .@"error", id, "broke"); + row = noticeRow(p, 60, &buf); + try std.testing.expectEqualStrings("\u{2717} /test.txt broke \u{d7}10", row.text[0..row.left]); + try std.testing.expectEqual(@as(usize, 60), panes.File.displayWidth(p.settings.tab, row.text)); + // An error that names places offers the walk, its places as words. + const err = keep(p, .@"error", 0, "@p9 zig build", "exit 1"); + err.places[0] = .{ .line = 25, .col = 12 }; + err.places[0].path.set("core/pick.zig"); + err.places_len = 1; + row = noticeRow(p, 80, &buf); + try std.testing.expectEqualStrings("\u{2717} @p9 zig build exit 1 core/pick.zig:25:12", row.text[0..row.left]); + try std.testing.expect(std.mem.endsWith(u8, row.text, "+1 \u{b7} SPC e walk")); + // Too narrow: the left gives way, the right stays whole. + row = noticeRow(p, 30, &buf); + try std.testing.expect(std.mem.endsWith(u8, row.text, "+1 \u{b7} SPC e walk")); + try std.testing.expect(panes.File.displayWidth(p.settings.tab, row.text) <= 30); + // A question outranks a warning, not an error; it is counted on the right. + _ = keep(p, .question, pane.serial, "/test.txt", "changed on disk"); + row = noticeRow(p, 80, &buf); + try std.testing.expect(std.mem.startsWith(u8, row.text, "\u{2717} @p9")); + try std.testing.expect(std.mem.endsWith(u8, row.text, "+2 \u{b7} 1 question \u{b7} SPC e")); } test "an idle core wants no wake, and a message wakes it once, when it dims" { diff --git a/core/draw.zig b/core/draw.zig index c3c80934..a7513468 100644 --- a/core/draw.zig +++ b/core/draw.zig @@ -160,10 +160,12 @@ pub fn place(p: *Pardes, s: *Surface) void { const active_col = if (layout.findPane(p, v.active)) |found| found.col else null; for (0..p.view().ncol) |c| { if (v.col_w[c] == 0) continue; - s.addRegion(.{ .kind = .column, .owner = @intCast(c), .serial = v.cols[c].serial, .active = active_col == c, .rect = .{ .x = v.col_x[c], .y = p.topBarHeight(), .w = v.col_w[c], .h = s.rows -| p.topBarHeight() } }); + s.addRegion(.{ .kind = .column, .owner = @intCast(c), .serial = v.cols[c].serial, .active = active_col == c, .rect = .{ .x = v.col_x[c], .y = p.topBarHeight(), .w = v.col_w[c], .h = s.rows -| (p.topBarHeight() + layout.noticeRowHeight(p)) } }); } if (p.settings.workspace_tag) s.addRegion(.{ .kind = .workspace_tag, .rect = .{ .x = 0, .y = 0, .w = s.cols, .h = p.topBarHeight() } }); + const foot = layout.noticeRowHeight(p); + if (foot > 0) s.addRegion(.{ .kind = .notice_row, .rect = .{ .x = 0, .y = s.rows - foot, .w = s.cols, .h = foot } }); } /// A pane's grip in the grid: `box` focused, else halfway between its ring @@ -346,7 +348,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { // Separators have their own role; a scrollbar need not frame the page. const whole = s.regions[0].rect; s.fill(whole.x, whole.y, whole.w, whole.h, .{ .bg = .{ .rgb = chrome.border } }); - for (0..p.view().ncol) |c| if (v.cols[c].n == 0) s.fill(v.col_x[c], p.topBarHeight() + layout.columnBarHeight(p), v.col_w[c], s.rows -| (p.topBarHeight() + layout.columnBarHeight(p)), .{ .bg = .{ .rgb = chrome.empty_col } }); + for (0..p.view().ncol) |c| if (v.cols[c].n == 0) s.fill(v.col_x[c], p.topBarHeight() + layout.columnBarHeight(p), v.col_w[c], s.rows -| (p.topBarHeight() + layout.columnBarHeight(p) + layout.noticeRowHeight(p)), .{ .bg = .{ .rgb = chrome.empty_col } }); for (&p.panes, 0..) |*slot, id| { const pane = slot.* orelse continue; @@ -359,6 +361,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { } try paintHeaders(p, s); + try paintNoticeRow(p, s); // debug overlay: a small stats box drawn last, top-right ("Debug") if (p.settings.debug) if (p.panes[v.active]) |at| { @@ -572,6 +575,43 @@ fn paintHeaders(p: *Pardes, s: *Surface) !void { }; } +/// The notice row (Messages.noticeRow), the live messages' index at the +/// window's foot: a header layer at the tagline's pitch in the workspace +/// tag's colours, the glyph in its kind's, a message gone dim and the +/// counts at the right end dimmed. +fn paintNoticeRow(p: *Pardes, s: *Surface) !void { + const region = s.region(.notice_row, Region.none) orelse return; + const chrome = p.chromeTheme(); + var viewport = region.rect; + const inset = @min(TAG_TEXT_INSET, viewport.w); + s.fill(viewport.x, viewport.y, inset, viewport.h, .{ .bg = .{ .rgb = chrome.tagline_bg }, .font_role = .tagline }); + viewport.x += inset; + viewport.w -= inset; + var buf: [Messages.notice_row_cap]u8 = undefined; + const row = Messages.noticeRow(p, layout.tagCapacity(p, viewport.w) -| 1, &buf); + const layer = &s.tag_layers[pardes.NOTICE_ROW_LAYER]; + try renderHeaderLayer(p, layer, .notice_row, 0, viewport, row.text, 0, chrome.tagline_bg, chrome.tagline_fg); + if (layer.rows == 0) return; + const dim: Color = .{ .rgb = colors.mix(chrome.tagline_fg, chrome.tagline_bg) }; + const ink: Color = .{ .rgb = chrome.tagline_fg }; + const cells = layer.cells[0..layer.cols]; + const tab = p.settings.tab; + const left = @min(cells.len, panes.File.displayWidth(tab, row.text[0..row.left])); + const right = @min(cells.len, panes.File.displayWidth(tab, row.text[0..row.right])); + if (p.messages.headline()) |lead| { + if (lead.kind == .@"error" or lead.kind == .warn) if (cells.len > 0 and std.meta.eql(cells[0].style.fg, ink)) { + cells[0].style.fg = .{ .rgb = if (lead.kind == .@"error") chrome.diagnostic_error else chrome.diagnostic_warning }; + }; + if (lead.faded(p.clock.now_ns, p.settings.message_linger_ms)) for (cells[0..left]) |*cell| { + if (std.meta.eql(cell.style.fg, ink)) cell.style.fg = dim; + }; + } + for (cells[right..]) |*cell| if (std.meta.eql(cell.style.fg, ink)) { + cell.style.fg = dim; + }; + joinHeaderRows(s, layer, chrome.tagline_fg); +} + /// Copy a header's layer into the grid under it, row by row, and its caret. fn joinHeaderRows(s: *Surface, layer: *const pardes.Layer, fg: [3]u8) void { const v = layer.viewport; @@ -664,7 +704,7 @@ fn renderHeaderLayer(p: *Pardes, layer: *pardes.Layer, kind: TagKind, id: u16, v const editing: ?*Text = if (v.header != null and switch (kind) { .workspace => p.headerColumn() == null, .column => p.headerColumn() == id, - .pane, .notice, .body => false, + .pane, .notice, .body, .notice_row => false, }) tagline.focusedHeader(p) else null; const scroll = if (editing != null) v.header_scroll else 0; for (0..viewport.h) |index| { @@ -716,7 +756,7 @@ fn renderHeaderLayer(p: *Pardes, layer: *pardes.Layer, kind: TagKind, id: u16, v const mine = switch (kind) { .workspace => column == null, .column => column == id, - .pane, .notice, .body => false, + .pane, .notice, .body, .notice_row => false, }; const swept = sweep.span(text.len); const start = modal.lineStartOffset(text, index + top); @@ -1131,8 +1171,8 @@ test "place puts every part where the painters and layers put it, in every layou } } -test "the word under the pointer on a notice is lit in its layer and in the grid's copy" { - const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 41, .rows = 12 }); +test "the word under the pointer on the notice row is lit in its layer and in the grid's copy" { + const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 61, .rows = 12 }); defer p.deinit(); _ = try p.setTestFile("text\n"); var arena: std.heap.ArenaAllocator = .init(std.testing.allocator); @@ -1140,36 +1180,35 @@ test "the word under the pointer on a notice is lit in its layer and in the grid try std.testing.expect(p.executeBuiltinLine(p.view().active, "Msg Look here")); p.sync(); var s = try p.render(arena.allocator()); - const notice = for (s.regionList()) |region| { - if (region.kind == .notice) break region; - } else return error.TestExpectedNotice; - const row = s.cells[@as(usize, notice.rect.y) * s.cols ..][0..s.cols]; - // "here", the chip's last word, before its blank edge. - const here = notice.rect.x + notice.rect.w - 5; + const foot = s.region(.notice_row, Region.none) orelse return error.TestExpectedNoticeRow; + try std.testing.expectEqual(s.rows - 1, foot.rect.y); + const row = s.cells[@as(usize, foot.rect.y) * s.cols ..][0..s.cols]; + // "here": the message's last word, `· /test.txt Look here`, 17 + // columns in. + const here: u16 = TAG_TEXT_INSET + 17; try std.testing.expectEqualStrings("h", row[here].grapheme()); p.view().pointer_inside = true; p.view().hover_col = here + 1; - p.view().hover_row = notice.rect.y; + p.view().hover_row = foot.rect.y; _ = arena.reset(.retain_capacity); s = try p.render(arena.allocator()); - const lit = s.cells[@as(usize, notice.rect.y) * s.cols ..][0..s.cols]; - const sel: Color = .{ .rgb = p.theme().sel_bg }; + const lit = s.cells[@as(usize, foot.rect.y) * s.cols ..][0..s.cols]; + const sel: Color = .{ .rgb = p.theme().tag_sel_bg orelse p.theme().sel_bg }; for (lit[here..][0..4]) |cell| try std.testing.expectEqual(sel, cell.style.bg); try std.testing.expect(!std.meta.eql(sel, lit[here - 2].style.bg)); - const layer = for (s.tagLayers()) |*layer| { - if (layer.rows != 0 and layer.kind == .notice) break layer; - } else return error.TestExpectedNotice; + const layer = &s.tag_layers[pardes.NOTICE_ROW_LAYER]; + try std.testing.expectEqual(TagKind.notice_row, layer.kind); const lit_in_layer = for (layer.cells) |cell| { if (std.meta.eql(sel, cell.style.bg)) break true; } else false; try std.testing.expect(lit_in_layer); } -test "a notice wider than its band, as a shader's compile error is, draws its end and nothing past it" { +test "a message wider than the notice row, as a shader's compile error is, gives way to the row's right end and draws nothing past the row" { const p = try Pardes.init(std.testing.allocator, .{ .cols = 80, .rows = 20 }); defer p.deinit(); - // A gui-shaped core: its tagline is narrower than the body, so a notice's - // band holds more columns than its chip has cells. + // A gui-shaped core: its tagline is narrower than the body, so the + // row's layer holds more columns than the grid has cells. p.update(.{ .resize = .{ .cols = 80, .rows = 20, .row_metrics = .{ .body_w = 10, .body_h = 20, .tagline_w = 6, .tagline_h = 12 } } }); _ = try p.setTestFile("text\n"); var arena: std.heap.ArenaAllocator = .init(std.testing.allocator); @@ -1182,13 +1221,12 @@ test "a notice wider than its band, as a shader's compile error is, draws its en for (0..30) |_| p.update(.tick); _ = arena.reset(.retain_capacity); const s = try p.render(arena.allocator()); - const notice = for (s.regionList()) |region| { - if (region.kind == .notice) break region; - } else return error.TestExpectedNotice; - // Text up to the chip's blank last cell, and no padding ink. - const row = s.cells[@as(usize, notice.rect.y) * s.cols ..][notice.rect.x..][0..notice.rect.w]; - try std.testing.expectEqualStrings(" ", row[row.len - 1].grapheme()); - try std.testing.expect(!std.mem.eql(u8, " ", row[row.len - 2].grapheme())); + const layer = &s.tag_layers[pardes.NOTICE_ROW_LAYER]; + try std.testing.expectEqual(layout.tagCapacity(p, s.cols - TAG_TEXT_INSET), layer.cols); + // The counts at the row's end, whole, a blank cell short of it. + const cells = layer.cells[0..layer.cols]; + try std.testing.expectEqualStrings(" ", cells[cells.len - 1].grapheme()); + try std.testing.expectEqualStrings("m", cells[cells.len - 2].grapheme()); } } diff --git a/core/layout.zig b/core/layout.zig index 7fa57ee9..ff14a789 100644 --- a/core/layout.zig +++ b/core/layout.zig @@ -613,7 +613,7 @@ pub fn minRows(p: *Pardes, id: usize) u16 { pub fn minimaFit(p: *Pardes) bool { const v = p.view(); compute(p); - const avail = v.screen_h -| (p.topBarHeight() + columnBarHeight(p)); + const avail = v.screen_h -| (p.topBarHeight() + columnBarHeight(p) + noticeRowHeight(p)); for (0..p.view().ncol) |c| { if (v.cols[c].n < 2) continue; var need: u32 = 0; @@ -647,7 +647,7 @@ pub fn shareColumn(p: *Pardes, c: usize) bool { compute(p); const n = v.cols[c].n; if (n == 0) return false; - const avail = v.screen_h -| (p.topBarHeight() + columnBarHeight(p)); + const avail = v.screen_h -| (p.topBarHeight() + columnBarHeight(p) + noticeRowHeight(p)); var mins: [MAX_PANES]u16 = undefined; var need: u32 = 0; for (v.cols[c].panes[0..n], 0..) |k, i| { @@ -1333,7 +1333,8 @@ pub fn expandedNeighbor(p: *const Pardes, col: usize, index: usize, side: enum { fn computeCollapsedColumn(p: *Pardes, c: usize, x: u16, width: u16, folded: usize) void { const v = p.view(); var y: u16 = p.topBarHeight() + columnBarHeight(p); - const available = v.screen_h -| y; + const bottom = v.screen_h -| noticeRowHeight(p); + const available = bottom -| y; var expanded_left: usize = 0; var weight: f32 = 0; for (v.cols[c].panes[0..p.view().cols[c].n]) |id| if (p.panes[id]) |pane| { @@ -1347,7 +1348,7 @@ fn computeCollapsedColumn(p: *Pardes, c: usize, x: u16, width: u16, folded: usiz var folded_left = folded; for (v.cols[c].panes[0..p.view().cols[c].n]) |id| { const pane = p.panes[id] orelse continue; - const room = v.screen_h -| y; + const room = bottom -| y; const height: u16 = if (pane.collapsed) blk: { folded_left -= 1; break :blk @min(room, BOX_H); @@ -1401,7 +1402,8 @@ pub fn compute(p: *Pardes) void { var y: u16 = p.topBarHeight() + columnBarHeight(p); const top = y; - const avail_h = v.screen_h -| y; + const bottom = v.screen_h -| noticeRowHeight(p); + const avail_h = bottom -| y; var hs: [MAX_PANES]u16 = undefined; const n = v.cols[c].n; for (0..n) |k| { @@ -1412,7 +1414,7 @@ pub fn compute(p: *Pardes) void { }; const lastk = k + 1 == n; const fh = @as(f32, @floatFromInt(avail_h)) * pane.vweight / vsum; - const room = v.screen_h -| y; + const room = bottom -| y; hs[k] = if (lastk) room else @min(room, @max(1, @as(u16, @intFromFloat(@round(fh))))); y +|= hs[k]; } @@ -1471,6 +1473,14 @@ pub fn topBarHeight(p: *const Pardes) u16 { return TOPBAR_H; } +/// The notice row's height: one row at the window's foot (pick-ui SPEC +/// §10.3), the index of the live messages, under every column; none on a +/// screen too short for it, as the column tags have none. +pub fn noticeRowHeight(p: *const Pardes) u16 { + if (p.view().screen_h < 3) return 0; + return 1; +} + /// The column tags' height: one row, as acme's (cols.c:244, colresize, /// gives a column tag one font height); a newline in one is a space /// (tagline.flattenHeaders). @@ -1668,14 +1678,14 @@ test "collapse transfers height upward and restores the original layout" { toggleCollapse(p, 1); try std.testing.expectEqual(@as(u16, 1), p.view().rects[1].h); try std.testing.expectEqual(@as(f32, @floatFromInt(original[1].h)), p.panes[1].?.vweight); - try std.testing.expectEqual(p.view().screen_h, p.view().rects[2].y + p.view().rects[2].h); + try std.testing.expectEqual(p.view().screen_h - noticeRowHeight(p), p.view().rects[2].y + p.view().rects[2].h); try std.testing.expect(p.view().rects[0].h > original[0].h); try std.testing.expectEqualDeep(original[2], p.view().rects[2]); toggleCollapse(p, 1); try std.testing.expectEqualDeep(original, p.view().rects); toggleCollapse(p, 2); try std.testing.expectEqual(@as(u16, 1), p.view().rects[2].h); - try std.testing.expectEqual(p.view().screen_h, p.view().rects[2].y + p.view().rects[2].h); + try std.testing.expectEqual(p.view().screen_h - noticeRowHeight(p), p.view().rects[2].y + p.view().rects[2].h); } test "collapse changes only one neighbor at the top middle and bottom" { @@ -1793,7 +1803,7 @@ test "collapse single and all panes leave unused column space" { try std.testing.expectEqual(p.view().rects[0].y + 1, p.view().rects[1].y); try std.testing.expect(p.view().rects[1].y + 1 < p.view().screen_h); toggleCollapse(p, 0); - try std.testing.expectEqual(p.view().screen_h - 1, p.view().rects[1].y); + try std.testing.expectEqual(p.view().screen_h - noticeRowHeight(p) - 1, p.view().rects[1].y); } test "collapse survives tiny resizes" { @@ -1854,7 +1864,7 @@ test "collapse dump restores folded state and retained expansion weight" { try std.testing.expectEqual(@as(f32, @floatFromInt(original_height)), restored.panes[0].?.vweight); try std.testing.expectEqual(@as(u16, 1), restored.view().rects[0].h); toggleCollapse(restored, 0); - try std.testing.expectEqual(restored.view().screen_h - restored.view().rects[0].y, restored.view().rects[0].h); + try std.testing.expectEqual(restored.view().screen_h - noticeRowHeight(restored) - restored.view().rects[0].y, restored.view().rects[0].h); } test "column reorder moves only crossed state and preserves weights" { diff --git a/core/mouse.zig b/core/mouse.zig index ad76c313..aab8a752 100644 --- a/core/mouse.zig +++ b/core/mouse.zig @@ -581,6 +581,21 @@ pub fn handleMouse(p: *Pardes, event: Mouse) void { v.hover_col = mcol; v.hover_row = mrow; + // The notice row: the execute or the look button on a word there runs + // it or Looks at it, as on a header (a place a message names, its + // cause); nothing else happens on it. + const foot = layout.noticeRowHeight(p); + if (foot > 0 and mrow >= v.screen_h - foot and v.drag == .none and v.header_sweep == null and !v.header_drag) { + if (m.kind != .press or (m.button != config.exec_button and m.button != config.look_button)) return; + var buf: [pardes.Messages.notice_row_cap]u8 = undefined; + const row = pardes.Messages.noticeRow(p, layout.tagCapacity(p, v.screen_w -| TAG_TEXT_INSET) -| 1, &buf); + const col = Layer.columnAt(p, .notice_row, 0, v.pointer_tag_hit, false, 0) orelse (mcol -| TAG_TEXT_INSET); + const bounds = tagline.wordBoundsAtCol(row.text, panes.File.rawAtDisplay(p.settings.tab, row.text, col)) orelse return; + const word = p.scratch.allocator().dupe(u8, row.text[bounds.lo..bounds.hi]) catch |err| return p.reportError(.at(v.active), "notice row", err); + if (m.button == config.exec_button) _ = exec.execute(p, v.active, word) else exec.runBuiltin(p, config.look_cmd, v.active, "", word); + return; + } + const hovered = paneAt(p, mcol, mrow); // any press that is NOT the execute+select chord abandons a pending @@ -938,9 +953,9 @@ pub fn dragUpdate(p: *Pardes, mcol: u16, mrow: u16, body_hit: ?Mouse.BodyHit) vo else if (mrow < body_y) -1 else if (mrow >= body_y + body_h or - // The pointer cannot leave the screen: at a bottom pane, - // its last row is the edge. - (body_y + body_h >= v.screen_h and mrow + 1 >= body_y + body_h)) + // The pointer cannot leave the screen: at a bottom pane + // (over the notice row), its last row is the edge. + (body_y + body_h + layout.noticeRowHeight(p) >= v.screen_h and mrow + 1 >= body_y + body_h)) 1 else 0; diff --git a/core/ninep/ctl.zig b/core/ninep/ctl.zig index 033a9808..c7f22b9a 100644 --- a/core/ninep/ctl.zig +++ b/core/ninep/ctl.zig @@ -2264,7 +2264,7 @@ test "a column takes panes until their documented minimums fill it, not until no const new = @backingInt(tree.TopFile.new); while (call(p, .{ .tag = 1, .op = .open, .node = new }).reply.status == .ok) p.sync(); p.sync(); - const avail = p.view().screen_h - (p.topBarHeight() + layout.columnBarHeight(p)); + const avail = p.view().screen_h - (p.topBarHeight() + layout.columnBarHeight(p) + layout.noticeRowHeight(p)); for (0..p.view().ncol) |c| { var need: u32 = 0; for (p.view().cols[c].panes[0..p.view().cols[c].n]) |k| need += layout.minRows(p, k); diff --git a/core/panes.zig b/core/panes.zig index 146b1360..ea0ff86d 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -346,8 +346,7 @@ pub const Pane = struct { ovl: ?Text.EditBuffer = null, tty_filter: bool = false, /// The transient lines this pane shows between its body and its tagline: - /// the newest message said of it, the pending leader chord, a prompt - /// waiting for input. Rebuilt every frame from the state that owns each one, so a + /// the pending leader chord, a prompt waiting for input. Rebuilt every frame from the state that owns each one, so a /// line that goes away is simply not added again and the rest close the /// gap -- there is no second copy of the truth to fall out of step. The /// body layer reserves exactly `len` rows for them, the way it already @@ -381,7 +380,7 @@ pub const Pane = struct { pub const Notices = struct { /// Painted bottom-up in this order, so a prompt keeps the row nearest /// the tagline that it has always had, and its cursor with it. - pub const Kind = enum { message, leader, prompt }; + pub const Kind = enum { leader, prompt }; pub const max = @typeInfo(Kind).@"enum".field_names.len; kinds: [max]Kind = undefined, diff --git a/core/replica.zig b/core/replica.zig index 2a66cc3d..42ce3487 100644 --- a/core/replica.zig +++ b/core/replica.zig @@ -7998,7 +7998,7 @@ test "a far client's drag in a kind's pane it grabbed, the pane since too short } for ([_]pardes.Event{ .{ .mouse = .{ .button = .left, .kind = .press, .col = col, .row = row } }, - .{ .resize = .{ .cols = 80, .rows = 4 } }, + .{ .resize = .{ .cols = 80, .rows = 5 } }, .{ .mouse = .{ .button = .left, .kind = .drag, .col = col, .row = 30 } }, .{ .mouse = .{ .button = .left, .kind = .release, .col = col, .row = 30 } }, }) |ev| { @@ -8395,7 +8395,7 @@ test "a far client's replay of a message its session's host stamped takes the se r.confirm(u); r.settle(); try agrees(a, r); - try std.testing.expect(try shows(r.core(), "--:--:-- yanked x")); + try std.testing.expectEqualStrings("--:--:-- yanked x", r.core().messages.headline().?.text.slice()); } // A script's `pty/run` in a shell (ninep/pty.zig): the open, the line, the diff --git a/core/root.zig b/core/root.zig index c7163400..5c49a038 100644 --- a/core/root.zig +++ b/core/root.zig @@ -139,8 +139,10 @@ pub const TagKind = Layer.Kind; pub const MAX_TAG_ROWS = 8; /// Panes, then columns, then the workspace bar, then each pane's notice /// bands: a band to a tag, however many lines it has. -pub const MAX_TAG_LAYERS = MAX_PANES + MAX_COLS + 1 + MAX_PANES * Pane.Notices.max; -pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 1; +pub const MAX_TAG_LAYERS = MAX_PANES + MAX_COLS + 2 + MAX_PANES * Pane.Notices.max; +/// The notice row's layer, after the workspace tag's. +pub const NOTICE_ROW_LAYER = MAX_PANES + MAX_COLS + 1; +pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 2; /// Columns a session holds (each costs about 8 KB of state, a column tag /// being most of it). pub const MAX_COLS = 16; diff --git a/core/surface.zig b/core/surface.zig index 98696721..7c04a387 100644 --- a/core/surface.zig +++ b/core/surface.zig @@ -98,6 +98,9 @@ pub const Region = struct { column_grip, column_tag, workspace_tag, + /// The row at the window's foot that indexes the live messages + /// (Messages.noticeRow). + notice_row, /// A column below the workspace tag, its bar and panes: its left /// edge is the spine a pixel shell rules down it. column, diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig index 60cb3801..923db181 100644 --- a/dev/gui/gui.zig +++ b/dev/gui/gui.zig @@ -4977,7 +4977,7 @@ fn buildDecor(g: *Gui, gpa: std.mem.Allocator, surface: *const pardes.Surface, g // A tag on the last row runs on through the pixels under the grid. const grid_bottom = @as(f32, @floatFromInt(surface.rows)) * layout.h; const tag_last = for (regions) |region| switch (region.kind) { - .grip, .tag, .column_grip, .column_tag, .workspace_tag => if (region.rect.h != 0 and region.rect.y + region.rect.h == surface.rows) break true, + .grip, .tag, .column_grip, .column_tag, .workspace_tag, .notice_row => if (region.rect.h != 0 and region.rect.y + region.rect.h == surface.rows) break true, else => {}, } else false; if (grid_bottom < win_h and tag_last) try addDecor(g, gpa, 0, grid_bottom, win_w, win_h, chrome.tag_bg, 1, win_w, win_h); diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig index e1f550e3..49c85512 100644 --- a/test/behaviour/keys.zig +++ b/test/behaviour/keys.zig @@ -353,6 +353,12 @@ test "keys: SPC j n from the pane a Look gave the keyboard walks back into the c try std.testing.expect(std.mem.startsWith(u8, try s.read(sel), "Theme ")); } +/// The screen as drawn, its notice row left out. +fn panesShown(s: *Session) ![]const u8 { + const shown = try s.screen(); + return shown[0 .. std.mem.lastIndexOfScalar(u8, shown, '\n') orelse shown.len]; +} + /// Screen row `row` as drawn. fn screenRow(s: *Session, row: usize) ![]const u8 { var rows = std.mem.splitScalar(u8, try s.screen(), '\n'); @@ -375,11 +381,12 @@ test "keys: a PDF in normal mode keeps : (its tag and back), SPC (a leader, canc try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/ctl", .{n})), " mode:normal ")); try s.keys(":"); try std.testing.expect(try s.cursor() == null); - // The leader shows its keys until one it has not. + // The leader shows its keys until one it has not (over the panes: the + // notice row under them names SPC h m). try s.keys(" "); - try std.testing.expect(std.mem.indexOf(u8, try s.screen(), " SPC") != null); + try std.testing.expect(std.mem.indexOf(u8, try panesShown(&s), " SPC") != null); try s.keys("!"); - try std.testing.expect(std.mem.indexOf(u8, try s.screen(), " SPC") == null); + try std.testing.expect(std.mem.indexOf(u8, try panesShown(&s), " SPC") == null); try s.keys("/"); try std.testing.expect(try s.cursor() != null); try std.testing.expectEqual(n, try s.focused()); @@ -393,9 +400,11 @@ test "keys: zz and zc put the cursor's line in the middle row of an odd view, as for (&lines, 0..) |*l, i| _ = try std.fmt.bufPrint(l, "l{d:0>2}\n", .{i}); var s = try Session.initFile(std.testing.allocator, std.mem.asBytes(&lines)); defer s.deinit(); + s.resize(80, 25); for ([_][]const u8{ "15jzz", "ztzc" }) |keys| { try s.keys(keys); - // 80x24 gives the pane 21 rows: l05 to l25, l15 the eleventh + // 80x25 gives the pane 21 rows (the notice row under it): l05 to + // l25, l15 the eleventh const top = (try s.where("l05"))[1]; try std.testing.expectEqual(top + 10, (try s.where("l15"))[1]); try std.testing.expectEqual(top + 20, (try s.where("l25"))[1]); diff --git a/test/behaviour/placement.zig b/test/behaviour/placement.zig index 73d69883..05f730d1 100644 --- a/test/behaviour/placement.zig +++ b/test/behaviour/placement.zig @@ -69,7 +69,8 @@ test "placement: a look from a pane pane/new made after Delcol opens its file in fn spans(s: *Session, comptime n: usize, names: [n][]const u8) ![n][2]usize { var out: [n][2]usize = undefined; for (names, 0..) |name, i| out[i][0] = try tagRow(s, name); - const rows = std.mem.count(u8, try s.screen(), "\n") + 1; + // The last pane ends over the notice row. + const rows = std.mem.count(u8, try s.screen(), "\n"); for (0..n) |i| out[i][1] = (if (i + 1 < n) out[i + 1][0] else rows) - out[i][0]; return out; } @@ -131,8 +132,8 @@ test "placement: a look from the middle of a column splits only the pane it came const names = [_][]const u8{ "/test.txt", "/mid", "/low", "/made" }; // The top and bottom panes dragged by their boxes to two and three // rows, under a placement's minimum; the middle one full of text, so - // the one halved. - const rows = std.mem.count(u8, try s.screen(), "\n") + 1; + // the one halved. (The panes end over the notice row.) + const rows = std.mem.count(u8, try s.screen(), "\n"); const r = try spans(&s, 3, names[0..3].*); try s.write("/mousein", s.at("m 0 {d} 1\nm 0 {d} 1\nm 0 {d} 0\n", .{ r[1][0], r[0][0] + 2, r[0][0] + 2 })); try s.write("/mousein", s.at("m 0 {d} 1\nm 0 {d} 1\nm 0 {d} 0\n", .{ r[2][0], rows - 3, rows - 3 })); diff --git a/test/behaviour/tags.zig b/test/behaviour/tags.zig index 395b63c8..30895ad8 100644 --- a/test/behaviour/tags.zig +++ b/test/behaviour/tags.zig @@ -323,15 +323,17 @@ test "tags: a drafted name's edits are by grapheme, and an empty one is not comm _ = try s.where("/café Save"); try s.keys("\x08"); _ = try s.where("/caf Save"); + // (The tag, not the screen: the notice row says where the caret is.) + const tagfile = s.at("/pane/{d}/tag", .{n}); try s.keys("\x15\n"); - try std.testing.expectError(error.NotOnScreen, s.where("/test.txt")); + try std.testing.expect(std.mem.indexOf(u8, try s.read(tagfile), "/test.txt") == null); try s.expect(s.at("/pane/{d}/name", .{n}), "/test.txt\n"); try s.expect(s.at("/pane/{d}/body", .{n}), "untouched\n"); // Esc keeps the draft pending; a second drops it. try s.keys("\x1b"); - try std.testing.expectError(error.NotOnScreen, s.where("/test.txt")); + try std.testing.expect(std.mem.indexOf(u8, try s.read(tagfile), "/test.txt") == null); try s.keys("\x1b"); - _ = try s.where("/test.txt"); + try std.testing.expect(std.mem.indexOf(u8, try s.read(tagfile), "/test.txt") != null); } test "tags: leaving a pane or entering a header drops an uncommitted name" { diff --git a/test/hxdiff.zig b/test/hxdiff.zig index db858561..67b4e777 100644 --- a/test/hxdiff.zig +++ b/test/hxdiff.zig @@ -327,10 +327,11 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); defer core.deinit(); // helix's harness runs at 80x24, a view of 22 text rows under its - // status and command lines; pardes's chrome takes a row more, so 25 + // status and command lines; pardes's chrome (the workspace and column + // tags, the pane's tag and the notice row) takes two rows more, so 26 // rows give its pane the same 22 that every page, half page and gb // counts in - core.update(.{ .resize = .{ .cols = 80, .rows = 25 } }); + core.update(.{ .resize = .{ .cols = 80, .rows = 26 } }); pump(core); if (std.mem.eql(u8, pane_kind, "file")) { diff --git a/test/panes.zig b/test/panes.zig index ba3466fb..60bff538 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -3029,7 +3029,7 @@ const TerminalTests = struct { // background, and wraps the glyph to the next row. A head OWNS its column, // so skipping it the way a tail is skipped left the row's final column bare. for ([_]panes.Text.Mode{ .tty, .normal }) |mode| { - const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 16, .rows = 8 }); + const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 16, .rows = 9 }); defer p.deinit(); while (p.nextEffect()) |_| {} const pane = p.panes[0].?; @@ -3214,7 +3214,7 @@ const TerminalTests = struct { test "an edit overlay never changes tty-mode ansi colors" { const testing = std.testing; - const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 18, .rows = 6 }); + const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 18, .rows = 7 }); defer p.deinit(); while (p.nextEffect()) |_| {} const pane = p.panes[0].?; diff --git a/test/process/root_ctl.zig b/test/process/root_ctl.zig index 979cfc48..7c27d33e 100644 --- a/test/process/root_ctl.zig +++ b/test/process/root_ctl.zig @@ -12,7 +12,7 @@ const check = process.check; pub const cases = .{ .{ "root-ctl: Exit is answered before the editor quits", exitAnswers }, - .{ "root-ctl: with nothing attached a message leaves after MessageLinger on its own clock", messagesExpire }, + .{ "root-ctl: with nothing attached a message stays on the notice row until the next one: no clock takes it", messagesStay }, .{ "root-ctl: Putall with one pane's file changed on disk fails, answered once the other panes' saves have landed", putallAfterSaves }, .{ "root-ctl: long and odd paths where a path goes (name, look, DumpDir, Dump, Save) are refused or said, never a crash; a bad ThemeFile fails the write", oddPaths }, .{ "root-ctl: Restore asks once about unsaved text, is answered before it cuts every connection, and the dump's panes come back under their serials", restore }, @@ -26,7 +26,7 @@ fn exitAnswers(gpa: std.mem.Allocator, exe: [:0]const u8) !void { } /// Nothing attached, no key, no click, no other request comes to move it along. -fn messagesExpire(gpa: std.mem.Allocator, exe: [:0]const u8) !void { +fn messagesStay(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // With nothing attached: a window always is. try process.only(.tui); var d = try process.Detached.start(gpa, exe, "msg", .{}); @@ -35,7 +35,10 @@ fn messagesExpire(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try expect(has(try d.files.screen(), "lingering-words")); // Reading /screen is itself a request, so wait without asking. process.sleep(2500); - try expect(!has(try d.files.screen(), "lingering-words")); + try expect(has(try d.files.screen(), "lingering-words")); + try d.files.write("/pane/1/ctl", "Msg next-words\n"); + const shown = try d.files.screen(); + try expect(has(shown, "next-words") and !has(shown, "lingering-words")); } fn putallAfterSaves(gpa: std.mem.Allocator, exe: [:0]const u8) !void { diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index 53e1da1e..efb5dc9b 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -371,7 +371,8 @@ fn chordcut(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // unrelated right column untouched. Give the caller enough cells that the selected // `echo B''OO g.txt` remains one displayed row; this test is about chords, not // soft-wrap traversal. - try t.start(31, 120, &.{ "-n", "3" }); + // A row more than its panes take: the notice row under them. + try t.start(32, 120, &.{ "-n", "3" }); try t.wait(8000, "f.txt"); try t.stable(700, 20000); // open f.txt: click a body spot, type the name, look it diff --git a/test/process/tty_images.zig b/test/process/tty_images.zig index 5c39d4f3..9c37a40d 100644 --- a/test/process/tty_images.zig +++ b/test/process/tty_images.zig @@ -15,7 +15,8 @@ fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "images"); defer t.deinit(); try t.ppmDiag("pic.ppm"); - try t.start(31, 150, &.{ "-n", "3" }); + // A row more than its panes take: the notice row under them. + try t.start(32, 150, &.{ "-n", "3" }); try t.wait(8000, "pic.ppm"); try t.stable(700, 20000); try t.press("left", "5", 9); diff --git a/test/process/tty_layout.zig b/test/process/tty_layout.zig index 08a02488..3c50b8a5 100644 --- a/test/process/tty_layout.zig +++ b/test/process/tty_layout.zig @@ -290,7 +290,8 @@ fn layout_open(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.dir("sub"); try t.file("sub/f.txt", "echo 'TTY'OK"); - try t.start(31, 100, &.{ "-n", "3" }); + // A row more than its panes take: the notice row under them. + try t.start(32, 100, &.{ "-n", "3" }); try t.wait(8000, "sub"); try t.stable(700, 20000); // give pane 0 (top-left) some content so its content-height split is visible diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index 9f7c9308..550d5922 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -590,7 +590,8 @@ fn reflow(gpa: std.mem.Allocator, exe: [:0]const u8) !void { fn respawn(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "respawn"); defer t.deinit(); - try t.start(31, 140, &.{ "-n", "3" }); + // A row more than its panes take: the notice row under them. + try t.start(32, 140, &.{ "-n", "3" }); try t.wait(8000, "Newcol Joincol"); try t.stable(700, 20000); // middle-click Del on the lower-left pane's tag: the pane id is freed while diff --git a/test/snapshots/argv.golden b/test/snapshots/argv.golden index c88ca476..be34548a 100644 --- a/test/snapshots/argv.golden +++ b/test/snapshots/argv.golden @@ -22,6 +22,14 @@ | | /tmp/pardes-snap/argv/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/argv/cwd == snap filearg grid=100x31 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -33,6 +41,27 @@ | 7 line 7 | 8 line 8 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/argv/cwd/notes.txt:3 == snap filearg-n3 grid=100x31 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -46,9 +75,54 @@ | 7 line 7 | 8 line 8 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/argv/cwd/notes.txt:1 == snap dirarg grid=100x31 cursor=4,5 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/argv/cwd/sub Term+bash Save Mode Filter Collapse Del | ls | inside.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/argv/cwd/sub diff --git a/test/snapshots/badutf.golden b/test/snapshots/badutf.golden index be23a9b2..82e5ab52 100644 --- a/test/snapshots/badutf.golden +++ b/test/snapshots/badutf.golden @@ -7,6 +7,29 @@ | 3 truncated �� here | 4 end | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/badutf/cwd/bad.txt:1 == snap hscroll-midglyph grid=50x31 cursor=46,4 | Newcol Joincol Find Grep Help Changelog Tutor Du | New Term Find Grep Joincol Delcol @@ -15,3 +38,27 @@ | 1 日本語 日本語 日本語 日本語 日本語 tail | 2 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/badutf/c 1 message · SPC h m diff --git a/test/snapshots/boot.golden b/test/snapshots/boot.golden index 1b10e36b..c64b3fc8 100644 --- a/test/snapshots/boot.golden +++ b/test/snapshots/boot.golden @@ -4,6 +4,32 @@ | /tmp/pardes-snap/boot/cwd Term+bash Save Mode Filter Collapse Del | ls | hello.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/boot/cwd == style boot grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -35,4 +61,4 @@ |27: 0-0 d,#608269, 1-99 d,#0d1410, |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, -|30: 0-0 d,#608269, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index e9786c8a..cfcb9d88 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -9,6 +9,63 @@ | 5 line 5 | 6 line 6 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/builtins/cwd/notes.txt:1 == snap column-group grid=120x67 cursor=7,10 |9: /tmp/pardes-snap/builtins/cwd/+Help Save Term Collapse Follow Del |10: 1 pardes builtins under SPC c @@ -32,9 +89,10 @@ |28: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. |29: 18 |30: ~ -|57: +Search 1/1 Save Undock Del -|58: /^ +Look -|59: @p2:220:1 Look enter, right-click +|56: +Search 1/1 Save Undock Del +|57: /^ +Look +|58: @p2:220:1 Look enter, right-click +|66: /tmp/pardes-snap/builtins/cwd/+Help:1 == snap docs-group grid=120x67 cursor=7,10 |10: 1 pardes builtins under SPC h |12: 3 SPC h b Build @@ -56,7 +114,6 @@ |29: |30: == snap tutor-from-index grid=120x67 cursor=7,37 -|10: 1 pardes builtins under SPC h Tutor |26: +Search 1/1 Save Undock Del |27: /^ +Look |28: @p2:220:1 Look enter, right-click @@ -90,4 +147,4 @@ |63: 27 Esc: blank again. |64: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the |65: 29 pane you were in before (not what helix does). Come back with -|66: 30 Esc again. +|66: ✓ /tmp/pardes-snap/builtins/cwd/+Help Tutor 2 messages · SPC h m diff --git a/test/snapshots/callstack.golden b/test/snapshots/callstack.golden index 2f666c89..71b940e7 100644 --- a/test/snapshots/callstack.golden +++ b/test/snapshots/callstack.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/callstack/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del -| 1 mod lib; --:--:-- lsp rust-analyzer: ready +| 1 mod lib; | 2 | 3 fn main() { | 4 let x = add(1, 2); @@ -23,11 +23,27 @@ | 11 ╰─ main.rs:5:13-15 | 12 let y = add(3, 4); | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/callstack/cwd/main.rs Callstack 1 message · SPC h m == style hierarchy grid=110x40 |0: 0-1 d,#1d2824, 2-109 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-109 #becfc4,#314738, |2: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-40 #d3b0d9,#1d2824, 41-109 #b2c3b8,#1d2824, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #c9a7ed,#0d1410, 11-73 #e5eee5,#0d1410, 74-74 #e5eee5,#1d2824, 75-109 #b2c3b8,#1d2824, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #c9a7ed,#0d1410, 11-109 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-109 #59675c,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-109 #e5eee5,#0d1410, |6: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, @@ -63,6 +79,5 @@ |36: 0-0 d,#608269, 1-109 d,#0d1410, |37: 0-0 d,#608269, 1-109 d,#0d1410, |38: 0-0 d,#608269, 1-109 d,#0d1410, -|39: 0-0 d,#608269, 1-109 d,#0d1410, +|39: 0-1 d,#1d2824, 2-109 #67756e,#1d2824, == snap caller grid=110x40 cursor=13,5 -|3: 1 mod lib; diff --git a/test/snapshots/chordcut.golden b/test/snapshots/chordcut.golden index e711855a..a52c6ae8 100644 --- a/test/snapshots/chordcut.golden +++ b/test/snapshots/chordcut.golden @@ -1,4 +1,4 @@ -== snap opened grid=120x31 cursor=7,9 +== snap opened grid=120x32 cursor=7,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/chordcut/cwd Term+bash Save Mode Filter C /tmp/pardes-snap/chordcut/cwd Term+bash Save Mode Filter C @@ -20,32 +20,42 @@ | ollapse Del | ls | f.txt g.txt -== snap cut grid=120x31 cursor=7,9 +| +| +| +| +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it ( 1 message · SPC h m +== snap cut grid=120x32 cursor=7,9 |7: */tmp/pardes-snap/chordcut/cwd/f.txt Save Term Collapse Fol |9: 1 1 -== snap copied grid=120x31 cursor=10,10 -== snap pointpaste grid=120x31 cursor=16,11 +== snap copied grid=120x32 cursor=10,10 +== snap pointpaste grid=120x32 cursor=16,11 |11: 3 line 3line -== snap replaced grid=120x31 cursor=11,12 +== snap replaced grid=120x32 cursor=11,12 |12: 4 lline 4 -== snap cancelexec grid=120x31 cursor=25,9 +== snap cancelexec grid=120x32 cursor=25,9 |9: 1 1echo B''OO g.txt -== snap execafter grid=120x31 cursor=25,9 -|9: 1 1echo B''OO g.txt Exec +== snap execafter grid=120x32 cursor=25,9 |17: /tmp/pardes-snap/chordcut/cwd Term+bash Save Mode Filter C /tmp/pardes-snap/chordcut/cwd (echo B''OO) exit 0 Kill Sav |18: ollapse Del e Collapse Del |19: ls % echo B''OO |20: f.txt g.txt BOO |21: exit 0 -== snap cancellook grid=120x31 cursor=25,9 -|9: 1 1echo B''OO g.txt -== snap lookafter grid=120x31 cursor=7,24 +|31: ✓ /tmp/pardes-snap/chordcut/cwd/f.txt Exec 2 messages · SPC h m +== snap cancellook grid=120x32 cursor=25,9 +== snap lookafter grid=120x32 cursor=7,24 |22: /tmp/pardes-snap/chordcut/cwd/g.txt Save Term Collapse Fol |23: low Del |24: 1 line 1 |25: 2 line 2 |26: ~ -== style chordsel grid=120x31 +== style chordsel grid=120x32 |0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, |2: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-41 #d3b0d9,#1d2824, 42-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#496656, 62-91 #b2c3b8,#1d2824, 92-101 #d3b0d9,#1d2824, 102-119 #b2c3b8,#1d2824, @@ -77,10 +87,11 @@ |28: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |29: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |30: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -== style clickdismiss grid=120x31 +|31: 0-1 d,#1d2824, 2-119 #67756e,#1d2824, +== style clickdismiss grid=120x32 |23: 0-1 d,#314738, 2-59 #becfc4,#314738, 60-60 #becfc4,#608269, 61-119 #becfc4,#0d1410, |24: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -== snap ttyprobe grid=120x31 cursor=22,24 +== snap ttyprobe grid=120x32 cursor=22,24 |22: /tmp/pardes-snap/chordcut/cwd/g.stty -icanon -echo; printf |23: '\x1b[?2004h\x1b[?1000h\x1b[?1006h'; cat -vtxt Save Term |24: Collapse Follow Delel @@ -88,5 +99,6 @@ |26: 2 line 2 '\x1b[?2004h\x1b[?1000h\x1b[?1006h'; cat -vtxt Save Term |27: ~ Collapse Follow Del Unfollow |28: ~ -== snap ttyprompt grid=120x31 cursor=24,24 +|31: ✓ /tmp/pardes-snap/chordcut/cwd/g.txt Follow 4 messages · SPC h m +== snap ttyprompt grid=120x32 cursor=24,24 |24: Collapse Follow Delelel diff --git a/test/snapshots/cmdexit.golden b/test/snapshots/cmdexit.golden index f32588c9..60a265b2 100644 --- a/test/snapshots/cmdexit.golden +++ b/test/snapshots/cmdexit.golden @@ -4,12 +4,38 @@ | /tmp/pardes-snap/cmdexit/cwd/cmds.txt Save Term Collapse Follow Del | 1 sleep 30 & echo BG''STARTED | 2 exec /dev/null 2>&1; sleep 1; false +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/cmdexit/cwd/cmds.txt:1 == snap background grid=120x31 cursor=7,3 -|17: /tmp/pardes-snap/cmdexit/cwd (sleep 30 & echo BG''STARTED) exit 0 Kill Save Collapse Del -|18: % sleep 30 & echo BG''STARTED -|19: BGSTARTED -|20: exit 0 +|16: /tmp/pardes-snap/cmdexit/cwd (sleep 30 & echo BG''STARTED) exit 0 Kill Save Collapse Del +|17: % sleep 30 & echo BG''STARTED +|18: BGSTARTED +|19: exit 0 == snap letgo grid=120x31 cursor=7,3 -|24: /tmp/pardes-snap/cmdexit/cwd (exec /dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del -|25: % exec /dev/null 2>&1; sleep 1; false -|26: exit 1 +|23: /tmp/pardes-snap/cmdexit/cwd (exec /dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del +|24: % exec /dev/null 2>&1; sleep 1; false +|25: exit 1 diff --git a/test/snapshots/cmdword.golden b/test/snapshots/cmdword.golden index 44c50036..67a51000 100644 --- a/test/snapshots/cmdword.golden +++ b/test/snapshots/cmdword.golden @@ -3,28 +3,58 @@ | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/cmdword/cwd/cmds.txt Save Term Collapse Follow Del | 1 @`echo ZZ''E` @`echo ZZ''L` Look p.txt @`Look .` +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/cmdword/cwd/cmds.txt:1 == snap atexec grid=120x31 cursor=7,3 -|17: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 Kill Save Collapse Del -|18: % echo ZZ''E -|19: ZZE -|20: exit 0 -== snap atlook grid=120x31 cursor=2,24 -|17: /tmp/pardes-snap/cmdword/cwd (echo ZZ''L) exit 0 Kill Save Collapse Del -|21: % echo ZZ''L -|22: ZZL -|23: exit 0 +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 Kill Save Collapse Del +|17: % echo ZZ''E +|18: ZZE +|19: exit 0 +== snap atlook grid=120x31 cursor=2,23 +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''L) exit 0 Kill Save Collapse Del +|20: % echo ZZ''L +|21: ZZL +|22: exit 0 +|30: /tmp/pardes-snap/cmdword/cwd == snap lookword grid=120x31 cursor=7,6 |5: /tmp/pardes-snap/cmdword/cwd/p.txt Save Term Collapse Follow Del |6: 1 just text +|30: /tmp/pardes-snap/cmdword/cwd/p.txt:1 == snap nested grid=120x31 cursor=7,9 |8: /tmp/pardes-snap/cmdword/cwd/ Get Term Collapse Del |9: 1 cmds.txt p.txt zzmark.txt |10: ~ +|30: /tmp/pardes-snap/cmdword/cwd/:1 == snap execword grid=120x31 cursor=7,9 |8: /tmp/pardes-snap/cmdword/cwd/ Get Term Collapse Del Exec == snap tagcmd grid=120x31 cursor=7,9 |8: /tmp/pardes-snap/cmdword/cwd/ Get Term Collapse Del Exec @`echo ZZ''T` -|17: /tmp/pardes-snap/cmdword/cwd (echo ZZ''T) exit 0 Kill Save Collapse Del -|24: % echo ZZ''T -|25: ZZT -|26: exit 0 +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''T) exit 0 Kill Save Collapse Del +|23: % echo ZZ''T +|24: ZZT +|25: exit 0 diff --git a/test/snapshots/colgrip.golden b/test/snapshots/colgrip.golden index a64be69c..e1effb8b 100644 --- a/test/snapshots/colgrip.golden +++ b/test/snapshots/colgrip.golden @@ -22,7 +22,7 @@ |20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|23: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == style held grid=100x24 |1: 0-1 d,#887455, 2-49 #b2c3b8,#1d2824, 50-51 #b2c3b8,#f4c086, 52-99 #becfc4,#314738, == snap resize-drag grid=100x24 cursor=54,6 @@ -32,6 +32,24 @@ | lapse Follow Del Filter Collapse Del | 1 x ls | w.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/colgrip/cwd == style resize-drag grid=100x24 == snap resize-done grid=100x24 cursor=44,6 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol @@ -63,7 +81,6 @@ |20: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, |21: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, |22: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, -|23: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, == snap reorder-done grid=100x24 cursor=4,6 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/colgrip/cwd Term+bash Save Mode Filter Co /tmp/pardes-snap/colgrip/cwd/w.txt Sav diff --git a/test/snapshots/collapse.golden b/test/snapshots/collapse.golden index 3f73e051..2dc214ca 100644 --- a/test/snapshots/collapse.golden +++ b/test/snapshots/collapse.golden @@ -5,10 +5,30 @@ | 1 KEEP-FIRST | 2 KEEP-SECOND | 3 KEEP-THIRD +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/collapse/cwd/kept.txt:1 == snap middle-collapsed grid=160x25 cursor=hidden |3: |4: |5: +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 2 messages · SPC h m == 9p middle-collapsed-cursor grid=160x25 cursor=none |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit @0: 0-84 #b2c3b8,#1d2824,,tagline 85-159 d,#1d2824,,tagline @@ -58,21 +78,28 @@ @22: 0-159 d,#486152,,body |23: @23: 0-159 d,#486152,,body -|24: -@24: 0-159 d,#486152,,body +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 2 messages · SPC h m ++24: 2="✓" 150="·" +@24: 0-1 d,#1d2824,,tagline 2-50 #67756e,#1d2824,,tagline 51-138 #b2c3b8,#1d2824,,tagline 139-158 #67756e,#1d2824,,tagline 159-159 d,#1d2824,,tagline == snap middle-restored grid=160x25 cursor=7,3 -|3: 1 KEEP-FIRST Collapse +|3: 1 KEEP-FIRST |4: 2 KEEP-SECOND |5: 3 KEEP-THIRD +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 4 messages · SPC h m == snap tab-collapsed grid=160x25 cursor=hidden |3: |4: |5: +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 7 messages · SPC h m == 9p tab-collapsed-cursor grid=160x25 cursor=none +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 7 messages · SPC h m ++24: 2="✓" 150="·" +@24: 0-1 d,#1d2824,,tagline 2-50 #67756e,#1d2824,,tagline 51-138 #b2c3b8,#1d2824,,tagline 139-158 #67756e,#1d2824,,tagline 159-159 d,#1d2824,,tagline == snap tab-restored grid=160x25 cursor=7,3 -|3: 1 KEEP-FIRST Collapse +|3: 1 KEEP-FIRST |4: 2 KEEP-SECOND |5: 3 KEEP-THIRD +|24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 10 messages · SPC h m == file unchanged KEEP-FIRST KEEP-SECOND diff --git a/test/snapshots/cursorline.golden b/test/snapshots/cursorline.golden index c12df520..6a53a170 100644 --- a/test/snapshots/cursorline.golden +++ b/test/snapshots/cursorline.golden @@ -1,10 +1,24 @@ -== snap top grid=150x31 cursor=7,7 +== snap top grid=150x31 cursor=7,21 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/cursorline/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/cursorline/cwd Term+bash Save Mode Filter Collapse Del | ls ls | cur.txt cur.txt | +| +| +| cur.txt +| +| +| +| +| +| +| +| /tmp/pardes-snap/cursorline/cwd Term+bash Save Mode Filter Collapse Del +| ls +| cur.txt +| | /tmp/pardes-snap/cursorline/cwd/cur.txt Save Term Collapse Follow Del | 1 line 1 | 2 line 2 @@ -15,10 +29,7 @@ | 7 line 7 | 8 line 8 | 9 line 9 -| 10 line 10 -| /tmp/pardes-snap/cursorline/cwd Term+bash Save Mode Filter Collapse Del -| ls -| cur.txt +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == style top grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #becfc4,#314738, 75-76 #becfc4,#887455, 77-149 #b2c3b8,#1d2824, @@ -26,32 +37,32 @@ |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|6: 0-1 d,#add38a, 2-33 #becfc4,#314738, 34-41 #dfbce5,#314738, 42-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|7: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|11: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|12: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|13: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|14: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|15: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-43 #d3b0d9,#1d2824, 44-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|6: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|7: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|8: 0-0 d,#608269, 1-3 d,#0d1410, 4-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|10: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|11: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|12: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|13: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|14: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|15: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|16: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-43 #d3b0d9,#1d2824, 44-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -== snap down3 grid=150x31 cursor=7,10 +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|20: 0-1 d,#add38a, 2-33 #becfc4,#314738, 34-41 #dfbce5,#314738, 42-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|24: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|25: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|26: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|27: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|28: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|29: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, +== snap down3 grid=150x31 cursor=7,24 == style down3 grid=150x31 -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|24: 0-0 d,#152019, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, diff --git a/test/snapshots/delask.golden b/test/snapshots/delask.golden index f0cd6978..3035f31d 100644 --- a/test/snapshots/delask.golden +++ b/test/snapshots/delask.golden @@ -26,30 +26,40 @@ | | | -| | */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del | 1 bottom-pane +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/delask/cwd/+New Window 3 messages · SPC h m == snap asked grid=100x36 cursor=18,20 |20: 1 middle-pane Del: give space to k above j below +|35: /tmp/pardes-snap/delask/cwd/+New:1 4 messages · SPC h m == snap kept grid=100x36 cursor=18,20 |20: 1 middle-pane == snap below-took grid=100x36 cursor=18,20 |20: 1 bottom-pane +|27: |28: -|29: +|35: ✓ /tmp/pardes-snap/delask/cwd/+New Del 4 messages · SPC h m == snap typed grid=100x36 cursor=27,20 |20: 1 bottom-pane DelBelow -|28: */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del -|29: 1 third-pane +|27: */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del +|28: 1 third-pane +|35: ✓ /tmp/pardes-snap/delask/cwd/+New Window 6 messages · SPC h m == snap below-took-click grid=100x36 cursor=17,20 |20: 1 third-pane +|27: |28: -|29: -== snap four grid=100x36 cursor=7,29 -|3: 1 top-marker New -|28: /tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del -|29: 1 -== snap mouse-del grid=100x36 cursor=7,29 -|3: 1 top-marker +|35: ✓ /tmp/pardes-snap/delask/cwd/+New DelBelow 8 messages · SPC h m +== snap four grid=100x36 cursor=7,28 +|27: /tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del +|28: 1 +|35: ✓ /tmp/pardes-snap/delask/cwd/top.txt New 9 messages · SPC h m +== snap mouse-del grid=100x36 cursor=7,28 |19: |20: +|35: ✓ /tmp/pardes-snap/delask/cwd/+New Del 11 messages · SPC h m diff --git a/test/snapshots/diffstack.golden b/test/snapshots/diffstack.golden index 51251c4c..cd4ce739 100644 --- a/test/snapshots/diffstack.golden +++ b/test/snapshots/diffstack.golden @@ -24,9 +24,12 @@ | | | -| | /tmp/pardes-snap/diffstack/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| /tmp/pardes-snap/diffstack/cwd == style diff-stack-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -53,9 +56,9 @@ |22: 0-0 d,#608269, 1-99 d,#0d1410, |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#0d1410, -|25: 0-0 d,#608269, 1-99 d,#0d1410, -|26: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, -|27: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|25: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, +|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|27: 0-0 d,#608269, 1-99 d,#0d1410, |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, -|30: 0-0 d,#608269, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/diffview.golden b/test/snapshots/diffview.golden index 50e1b195..41fb9684 100644 --- a/test/snapshots/diffview.golden +++ b/test/snapshots/diffview.golden @@ -22,6 +22,14 @@ | 18 ; | 19 }; | ~ +| +| +| +| +| +| +| +| /tmp/pardes-snap/diffview/cwd/change.diff:1 == style diff-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -53,7 +61,7 @@ |27: 0-0 d,#608269, 1-99 d,#0d1410, |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, -|30: 0-0 d,#608269, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap look-added-line grid=100x31 cursor=55,22 |16: /tmp/pardes-snap/diffview/cwd/src/shape.zig Save Term Collapse Follow TreeContext Def Refs Del |17: 1 const std = @import("std"); @@ -69,11 +77,12 @@ |27: 11 ; |28: 12 }; |29: ~ +|30: /tmp/pardes-snap/diffview/cwd/src/shape.zig:6 == snap command-pane grid=100x31 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/diffview/cwd/cmds.txt Save Term Collapse Follow Del -| 1 cat change.diff Exec +| 1 cat change.diff | ~ | | @@ -86,7 +95,6 @@ | | | -| | /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Kill Save Collapse Del | circle: f32, | - square: u8 = 7, @@ -100,11 +108,13 @@ | ; | }; | exit 0 +| +| ✓ /tmp/pardes-snap/diffview/cwd/cmds.txt Exec 1 message · SPC h m == style command-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, |2: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-40 #dfbce5,#314738, 41-99 #becfc4,#314738, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-93 #e5eee5,#0d1410, 94-94 #e5eee5,#1d2824, 95-99 #b2c3b8,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, @@ -117,23 +127,22 @@ |13: 0-0 d,#608269, 1-99 d,#0d1410, |14: 0-0 d,#608269, 1-99 d,#0d1410, |15: 0-0 d,#608269, 1-99 d,#0d1410, -|16: 0-0 d,#608269, 1-99 d,#0d1410, -|17: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, -|18: 0-0 d,#152019, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, -|19: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #f1a39b,#302b25,b 3-6 #f1a39b,#302b25, 7-19 #e5eee5,#302b25, 20-20 #f8c082,#302b25, 21-99 #e5eee5,#302b25, -|20: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-6 #b6ce94,#263025, 7-99 #e5eee5,#263025, -|21: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-6 #b6ce94,#263025, 7-16 #e5eee5,#263025, 17-23 #c9a7ed,#263025, 24-99 #e5eee5,#263025, -|22: 0-0 d,#152019, 1-99 d,#0d1410, -|23: 0-0 d,#608269, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #f1a39b,#302b25,b 3-10 #f1a39b,#302b25, 11-99 #b8d88a,#302b25, +|16: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, +|17: 0-0 d,#152019, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, +|18: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #f1a39b,#302b25,b 3-6 #f1a39b,#302b25, 7-19 #e5eee5,#302b25, 20-20 #f8c082,#302b25, 21-99 #e5eee5,#302b25, +|19: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-6 #b6ce94,#263025, 7-99 #e5eee5,#263025, +|20: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-6 #b6ce94,#263025, 7-16 #e5eee5,#263025, 17-23 #c9a7ed,#263025, 24-99 #e5eee5,#263025, +|21: 0-0 d,#152019, 1-99 d,#0d1410, +|22: 0-0 d,#608269, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #f1a39b,#302b25,b 3-10 #f1a39b,#302b25, 11-99 #b8d88a,#302b25, +|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-10 #b6ce94,#263025, 11-99 #b8d88a,#263025, |25: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-10 #b6ce94,#263025, 11-99 #b8d88a,#263025, -|26: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#263025,b 3-10 #b6ce94,#263025, 11-99 #b8d88a,#263025, -|27: 0-0 d,#608269, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, -|28: 0-0 d,#608269, 1-2 d,#0d1410, 3-99 #e5eee5,#0d1410, -|29: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|30: 0-0 d,#152019, 1-99 d,#0d1410, -== snap command-look grid=100x31 cursor=23,10 -|3: 1 cat change.diff +|26: 0-0 d,#608269, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, +|27: 0-0 d,#608269, 1-2 d,#0d1410, 3-99 #e5eee5,#0d1410, +|28: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, +|29: 0-0 d,#152019, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, +== snap command-look grid=100x31 cursor=55,11 |5: /tmp/pardes-snap/diffview/cwd/src/shape.zig Save Term Collapse Follow TreeContext Def Refs Del |6: 1 const std = @import("std"); |7: 2 @@ -145,4 +154,3 @@ |13: 8 const note = |14: 9 \\areas, defer |15: 10 \\summed -|16: 11 ; diff --git a/test/snapshots/dirpane.golden b/test/snapshots/dirpane.golden index e8cca4f9..26eb0a34 100644 --- a/test/snapshots/dirpane.golden +++ b/test/snapshots/dirpane.golden @@ -8,6 +8,22 @@ | 1 .hidden beta-gamma.txt inner.txt | 2 alpha.txt deeper/ zeta | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/dirpane/cwd/sub/:1 == snap entry-open grid=80x24 cursor=7,9 |8: /tmp/pardes-snap/dirpane/cwd/sub/inner.txt Save Term Collapse Follow Del |9: 1 inner-marker +|23: /tmp/pardes-snap/dirpane/cwd/sub/inner.txt:1 diff --git a/test/snapshots/dump.golden b/test/snapshots/dump.golden index 222c9720..8915ffe0 100644 --- a/test/snapshots/dump.golden +++ b/test/snapshots/dump.golden @@ -3,7 +3,7 @@ | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/dump/cwd Term+bash Save Mode Fi /tmp/pardes-snap/dump/cwd Term+bash Save Mode Fi | lter Collapse Del lter Collapse Del -| ls Dump ls +| ls ls | d.txt d.txt | | ── restored history ── ── restored history ── @@ -15,10 +15,18 @@ | | | -| | /tmp/pardes-snap/dump/cwd Term+bash Save Mode Fi | lter Collapse Del | ls | d.txt | | ── restored history ── +| +| +| +| +| +| +| +| +| ✓ @p1 Dump 2 messages · SPC h m diff --git a/test/snapshots/edit.golden b/test/snapshots/edit.golden index 8dcdcc36..42b8f753 100644 --- a/test/snapshots/edit.golden +++ b/test/snapshots/edit.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/edit/cwd Term+bash Save Mode Fi | lter Collapse Del | ls | e.txt +| +| +| +| +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m == style inserted grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824, @@ -37,11 +47,11 @@ |13: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |14: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |15: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|16: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|17: 0-1 d,#496656, 2-27 #b2c3b8,#1d2824, 28-37 #d3b0d9,#1d2824, 38-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-27 #b2c3b8,#1d2824, 28-37 #d3b0d9,#1d2824, 38-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -51,4 +61,4 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, diff --git a/test/snapshots/emptycol.golden b/test/snapshots/emptycol.golden index 505b2bbc..4b403ad8 100644 --- a/test/snapshots/emptycol.golden +++ b/test/snapshots/emptycol.golden @@ -5,13 +5,33 @@ | m Collapse Follow Del | 1 one | 2 two +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/emptycol/cwd/notes.txt:1 == snap filled grid=100x24 cursor=54,6 |2: /tmp/pardes-snap/emptycol/cwd/notes.txt Save Ter /tmp/pardes-snap/emptycol/cwd Term+bash Save Mod |3: m Collapse Follow Del e Filter Collapse Del |4: 1 one ls |5: 2 two notes.txt +|23: /tmp/pardes-snap/emptycol/cwd == snap emptied grid=100x24 cursor=52,1 |2: /tmp/pardes-snap/emptycol/cwd/notes.txt Save Ter |3: m Collapse Follow Del |4: 1 one |5: 2 two +|23: /tmp/pardes-snap/emptycol/cwd/notes.txt:1 diff --git a/test/snapshots/exec-bigdrag.golden b/test/snapshots/exec-bigdrag.golden index 6290882a..54015143 100644 --- a/test/snapshots/exec-bigdrag.golden +++ b/test/snapshots/exec-bigdrag.golden @@ -2,12 +2,8 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del -| ls 2 -| big.txt bash: 91line: command not found -| 802line 2803line 2804line 2805line 2806line 2807line 2808line 2809line 2810line 2811line 2812lin -| e -| bash: 802line: command not found -| 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li +| ls bash: 802line: command not found +| big.txt 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li | ne | bash: 2813line: command not found | 2824line 2825line 2826line 2827line 2828line 2829line 2830line 2831line 2832line 2833line 2834l @@ -31,17 +27,17 @@ | 89line 2890line 2891line 2892line 2893line 2894line 2895line 2896line 2897line 2898line 2899line | 2 | bash: 89line: command not found -| /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del 900line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin -| ls e -| big.txt bash: 900line: command not found -| 2911line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li -| ne -| bash: 2911line: command not found -| 2echo alive-o''k922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2 +| 900line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin +| e +| bash: 900line: command not found +| /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del 2911line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li +| ls ne +| big.txt bash: 2911line: command not found +| 2922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2931line 2932l | in | bash: 2922line: command not found | e 2933line 2934line 2935line 2936line 2937line 2938line 2939line 2940line 2941line 2942line 2943 -| li +| liecho alive-o''k | bash: e: command not found | ne 2944line 2945line 2946line 2947line 2948line 2949line 2950line 2951line 2952line 2953line 295 | 4l @@ -56,6 +52,11 @@ | 29 | bash: 6line: command not found | 87line 2988line 2989line 2990line 2991line 2992line 2993line 2994line 2995line 2996line 2997line +| 2 | bash: 87line: command not found +| 998line 2999line 3000 +| bash: 998line: command not found | echo alive-o''k | alive-ok +| +| · @p3 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m diff --git a/test/snapshots/exec.golden b/test/snapshots/exec.golden index 736dfe4f..b7d4f5e7 100644 --- a/test/snapshots/exec.golden +++ b/test/snapshots/exec.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/exec/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/exec/cwd Term+bash Save Mode Filter Collapse Del -| ls Exec ls +| ls ls | e.txt e.txt | | @@ -15,24 +15,36 @@ | | | -| | /tmp/pardes-snap/exec/cwd Term+bash Save Mode Filter Collapse Del | ls | e.txt +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p1 Exec 2 messages · SPC h m == snap kept grid=140x31 cursor=6,3 |3: ZZARG ls |4: ./c.sh e.txt |8: |9: == snap chord grid=140x31 cursor=6,3 -|3: ZZARG Exec ls |5: ./c.sh ZZARG |6: CHORDARG:ZZARG +|30: ✓ @p1 Exec ×2 2 messages · SPC h m == snap deleted grid=140x31 cursor=4,5 |3: ls ls |4: e.txt e.txt |5: |6: +|16: |17: |18: -|19: +|30: ✓ @p1 Del 3 messages · SPC h m diff --git a/test/snapshots/fileedit.golden b/test/snapshots/fileedit.golden index 44ee25df..fcba454b 100644 --- a/test/snapshots/fileedit.golden +++ b/test/snapshots/fileedit.golden @@ -5,8 +5,22 @@ | ls ls | f.txt f.txt | -| */tmp/pardes-snap/fileedit/cwd/f.txt Save Term Collapse Follow Del -| 1 liEDIT''MEne 1 +| +| EDIT''ME +| f.txt +| +| +| +| +| +| +| +| /tmp/pardes-snap/fileedit/cwd Term+bash Save Mode Filter Collapse Del +| ls +| f.txt +| +| /tmp/pardes-snap/fileedit/cwd/f.txt Save Term Collapse Follow Del +| 1 line 1 | 2 line 2 | 3 line 3 | 4 line 4 @@ -15,32 +29,13 @@ | 7 line 7 | 8 line 8 | 9 line 9 -| 10 line 10 -| /tmp/pardes-snap/fileedit/cwd Term+bash Save Mode Filter Collapse Del -| ls -| f.txt -== snap deleted grid=150x31 cursor=7,8 -|8: 2 line 3 -|9: 3 line 4 -|10: 4 line 5 -|11: 5 line 6 -|12: 6 line 7 -|13: 7 line 8 -|14: 8 line 9 -|15: 9 line 10 -|16: 10 line 11 -== snap undone grid=150x31 cursor=13,8 -|8: 2 line 2 -|9: 3 line 3 -|10: 4 line 4 -|11: 5 line 5 -|12: 6 line 6 -|13: 7 line 7 -|14: 8 line 8 -|15: 9 line 9 -|16: 10 line 10 +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m +== snap deleted grid=150x31 cursor=2,8 +|8: +== snap undone grid=150x31 cursor=8,8 +|8: f.txt == file saved -liEDIT''MEne 1 +line 1 line 2 line 3 line 4 diff --git a/test/snapshots/filewatch.golden b/test/snapshots/filewatch.golden index 26ba330d..1e10ec08 100644 --- a/test/snapshots/filewatch.golden +++ b/test/snapshots/filewatch.golden @@ -17,7 +17,6 @@ | 9 line 9 | 10 line 10 | 11 line 11 -| 12 line 12 | /tmp/pardes-snap/filewatch/cwd/sub/s.txt Save Term Collapse Follow Del | 1 line 1 | 2 line 2 @@ -28,15 +27,19 @@ | 7 line 7 | 8 line 8 | ~ +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == snap kept grid=210x31 cursor=15,7 -|7: 1 liMYEDITne 1 /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk (get reloads it, Save overwrites it) +|30: · /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk (get reloads it, Save overwrites it) 2 messages · SPC h m == snap reloaded_sub grid=210x31 cursor=15,7 -|20: 1 RENAMED --:--:-- reloaded /tmp/pardes-snap/filewatch/cwd/sub/s.txt -|21: ~ +|19: 1 RENAMED +|20: ~ +|21: |22: |23: |24: |25: |26: |27: -|28: +|30: · reloaded /tmp/pardes-snap/filewatch/cwd/sub/s.txt 3 messages · SPC h m diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 4825d1dc..176a8d42 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -3,60 +3,98 @@ | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/find/cwd/here.txt Save Term Collapse Follow Del | 1 Find zqm SPC f -== snap armed grid=120x41 cursor=7,23 -|3: 1 Find zqm Find -|22: ^ +Search 1/5 Del -|23: Find -|24: here.txt -|25: other.txt -|26: sub/ZQMARK-beta.txt -|27: sub/nest/zqmark-gamma.txt -|28: zqmark-alpha.txt -|32: /tmp/pardes-snap/find/cwd/+Preview Del -|33: 1 -== snap typing grid=120x41 cursor=10,23 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/find/cwd/here.txt:1 +== snap armed grid=120x41 cursor=7,22 |3: 1 Find zqm -|22: ^ +Search 1/3 Del -|23: Find zqm -|24: zqmark-alpha.txt +|21: ^ +Search 1/5 Del +|22: Find +|23: here.txt +|24: other.txt |25: sub/ZQMARK-beta.txt |26: sub/nest/zqmark-gamma.txt +|27: zqmark-alpha.txt +|31: /tmp/pardes-snap/find/cwd/+Preview Del +|32: 1 +|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find 1 message · SPC h m +== snap typing grid=120x41 cursor=10,22 +|21: ^ +Search 1/3 Del +|22: Find zqm +|23: zqmark-alpha.txt +|24: sub/ZQMARK-beta.txt +|25: sub/nest/zqmark-gamma.txt +|26: |27: -|28: -|32: /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Del -|33: 1 alpha body -== snap next grid=120x41 cursor=10,23 -|22: ^ +Search 2/3 Del -|32: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Del -|33: 1 beta body -== snap promoted grid=120x41 cursor=7,33 -|22: +Search 2/3 Save Undock Del -|32: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Save Term Collapse Follow Del -== snap nomatch grid=120x41 cursor=11,14 -|13: ^ +Search 0 Del -|14: Find zzqq -|22: -|23: /tmp/pardes-snap/find/cwd/+Preview Del -|24: 1 +|31: /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Del +|32: 1 alpha body +== snap next grid=120x41 cursor=10,22 +|21: ^ +Search 2/3 Del +|31: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Del +|32: 1 beta body +== snap promoted grid=120x41 cursor=7,32 +|21: +Search 2/3 Save Undock Del +|31: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Save Term Collapse Follow Del +== snap nomatch grid=120x41 cursor=11,13 +|12: ^ +Search 0 Del +|13: Find zzqq +|21: +|22: /tmp/pardes-snap/find/cwd/+Preview Del +|23: 1 +|24: |25: -|26: +|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find ×2 1 message · SPC h m == snap cancel grid=120x41 cursor=7,3 +|12: |13: -|14: -|22: +Search 2/3 Save Undock Del -|23: Find zqm -|24: zqmark-alpha.txt -|25: sub/ZQMARK-beta.txt -|26: sub/nest/zqmark-gamma.txt +|21: +Search 2/3 Save Undock Del +|22: Find zqm +|23: zqmark-alpha.txt +|24: sub/ZQMARK-beta.txt +|25: sub/nest/zqmark-gamma.txt == snap topbar grid=120x41 cursor=14,3 -|3: 1 Find zqm Find -|13: +Search 1/3 Del -|14: Find zqm -|15: zqmark-alpha.txt -|16: sub/ZQMARK-beta.txt -|17: sub/nest/zqmark-gamma.txt -|22: -|23: /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Del -|24: 1 alpha body +|12: +Search 1/3 Del +|13: Find zqm +|14: zqmark-alpha.txt +|15: sub/ZQMARK-beta.txt +|16: sub/nest/zqmark-gamma.txt +|21: +|22: /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Del +|23: 1 alpha body +|24: |25: -|26: +|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find ×3 1 message · SPC h m diff --git a/test/snapshots/follow.golden b/test/snapshots/follow.golden index 69749b42..fa9a8501 100644 --- a/test/snapshots/follow.golden +++ b/test/snapshots/follow.golden @@ -2,60 +2,58 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/follow/cwd/big.txt Save Term Collapse Follow Del /tmp/pardes-snap/follow/cwd/big.txt /tmp/pardes-snap/follow/cwd/big.txt -| 1 line 1 Follow Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo +| 1 line 1 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo | 2 line 2 ow llow -| 3 line 3 28 line 28 53 line 53 -| 4 line 4 29 line 29 54 line 54 -| 5 line 5 30 line 30 55 line 55 -| 6 line 6 31 line 31 56 line 56 -| 7 line 7 32 line 32 57 line 57 -| 8 line 8 33 line 33 58 line 58 -| 9 line 9 34 line 34 59 line 59 -| 10 line 10 35 line 35 60 line 60 -| 11 line 11 36 line 36 61 line 61 -| 12 line 12 37 line 37 62 line 62 -| 13 line 13 38 line 38 63 line 63 -| 14 line 14 39 line 39 64 line 64 -| 15 line 15 40 line 40 65 line 65 -| 16 line 16 41 line 41 66 line 66 -| 17 line 17 42 line 42 67 line 67 -| 18 line 18 43 line 43 68 line 68 -| 19 line 19 44 line 44 69 line 69 -| 20 line 20 45 line 45 70 line 70 -| 21 line 21 46 line 46 71 line 71 -| 22 line 22 47 line 47 72 line 72 -| 23 line 23 48 line 48 73 line 73 -| 24 line 24 49 line 49 74 line 74 -| 25 line 25 50 line 50 75 line 75 -| 26 line 26 51 line 51 76 line 76 -| 27 line 27 52 line 52 77 line 77 -== snap hop grid=150x30 cursor=82,5 -|3: 1 line 1 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo -== snap wheel grid=150x30 cursor=hidden +| 3 line 3 27 line 27 51 line 51 +| 4 line 4 28 line 28 52 line 52 +| 5 line 5 29 line 29 53 line 53 +| 6 line 6 30 line 30 54 line 54 +| 7 line 7 31 line 31 55 line 55 +| 8 line 8 32 line 32 56 line 56 +| 9 line 9 33 line 33 57 line 57 +| 10 line 10 34 line 34 58 line 58 +| 11 line 11 35 line 35 59 line 59 +| 12 line 12 36 line 36 60 line 60 +| 13 line 13 37 line 37 61 line 61 +| 14 line 14 38 line 38 62 line 62 +| 15 line 15 39 line 39 63 line 63 +| 16 line 16 40 line 40 64 line 64 +| 17 line 17 41 line 41 65 line 65 +| 18 line 18 42 line 42 66 line 66 +| 19 line 19 43 line 43 67 line 67 +| 20 line 20 44 line 44 68 line 68 +| 21 line 21 45 line 45 69 line 69 +| 22 line 22 46 line 46 70 line 70 +| 23 line 23 47 line 47 71 line 71 +| 24 line 24 48 line 48 72 line 72 +| 25 line 25 49 line 49 73 line 73 +| 26 line 26 50 line 50 74 line 74 +| ✓ /tmp/pardes-snap/follow/cwd/big.txt Follow ×2 1 message · SPC h m +== snap hop grid=150x30 cursor=82,6 +== snap wheel grid=150x30 cursor=82,5 |3: 2 line 2 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo |4: 3 line 3 ow llow -|5: 4 line 4 29 line 29 54 line 54 -|6: 5 line 5 30 line 30 55 line 55 -|7: 6 line 6 31 line 31 56 line 56 -|8: 7 line 7 32 line 32 57 line 57 -|9: 8 line 8 33 line 33 58 line 58 -|10: 9 line 9 34 line 34 59 line 59 -|11: 10 line 10 35 line 35 60 line 60 -|12: 11 line 11 36 line 36 61 line 61 -|13: 12 line 12 37 line 37 62 line 62 -|14: 13 line 13 38 line 38 63 line 63 -|15: 14 line 14 39 line 39 64 line 64 -|16: 15 line 15 40 line 40 65 line 65 -|17: 16 line 16 41 line 41 66 line 66 -|18: 17 line 17 42 line 42 67 line 67 -|19: 18 line 18 43 line 43 68 line 68 -|20: 19 line 19 44 line 44 69 line 69 -|21: 20 line 20 45 line 45 70 line 70 -|22: 21 line 21 46 line 46 71 line 71 -|23: 22 line 22 47 line 47 72 line 72 -|24: 23 line 23 48 line 48 73 line 73 -|25: 24 line 24 49 line 49 74 line 74 -|26: 25 line 25 50 line 50 75 line 75 -|27: 26 line 26 51 line 51 76 line 76 -|28: 27 line 27 52 line 52 77 line 77 -|29: 28 line 28 53 line 53 78 line 78 +|5: 4 line 4 28 line 28 52 line 52 +|6: 5 line 5 29 line 29 53 line 53 +|7: 6 line 6 30 line 30 54 line 54 +|8: 7 line 7 31 line 31 55 line 55 +|9: 8 line 8 32 line 32 56 line 56 +|10: 9 line 9 33 line 33 57 line 57 +|11: 10 line 10 34 line 34 58 line 58 +|12: 11 line 11 35 line 35 59 line 59 +|13: 12 line 12 36 line 36 60 line 60 +|14: 13 line 13 37 line 37 61 line 61 +|15: 14 line 14 38 line 38 62 line 62 +|16: 15 line 15 39 line 39 63 line 63 +|17: 16 line 16 40 line 40 64 line 64 +|18: 17 line 17 41 line 41 65 line 65 +|19: 18 line 18 42 line 42 66 line 66 +|20: 19 line 19 43 line 43 67 line 67 +|21: 20 line 20 44 line 44 68 line 68 +|22: 21 line 21 45 line 45 69 line 69 +|23: 22 line 22 46 line 46 70 line 70 +|24: 23 line 23 47 line 47 71 line 71 +|25: 24 line 24 48 line 48 72 line 72 +|26: 25 line 25 49 line 49 73 line 73 +|27: 26 line 26 50 line 50 74 line 74 +|28: 27 line 27 51 line 51 75 line 75 diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 71a9900a..74187c08 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -1,10 +1,24 @@ -== snap opened grid=180x31 cursor=7,7 +== snap opened grid=180x31 cursor=7,21 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del | ls ls | g.txt g.txt | +| +| +| g.txt +| +| +| +| +| +| +| +| /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del +| ls +| g.txt +| | /tmp/pardes-snap/fsearch/cwd/g.txt Save Term Collapse Follow Del | 1 l1 | 2 MARK a @@ -15,25 +29,21 @@ | 7 l7 | 8 l8 | 9 l9 -| 10 MARK c -| /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del -| ls -| g.txt -== snap slash grid=180x31 cursor=3,10 -|9: ^ +Search 0 Del -|10: / -|11: -|12: -|13: -|14: -|15: -|16: -== snap typing grid=180x31 cursor=7,10 -|9: ^ +Search 1/3 Del -|10: /MARK -|11: g.txt:2:1 MARK a -|12: g.txt:6:1 MARK b -|13: g.txt:10:1 MARK c +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m +== snap slash grid=180x31 cursor=3,24 +|23: ^ +Search 0 Del +|24: / +|25: +|26: +|27: +|28: +|29: +== snap typing grid=180x31 cursor=7,24 +|23: ^ +Search 1/3 Del +|24: /MARK +|25: g.txt:2:1 MARK a +|26: g.txt:6:1 MARK b +|27: g.txt:10:1 MARK c == style typing grid=180x31 |0: 0-1 d,#1d2824, 2-179 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-89 #becfc4,#314738, 90-91 #becfc4,#887455, 92-179 #b2c3b8,#1d2824, @@ -41,47 +51,47 @@ |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|6: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-36 #d3b0d9,#1d2824, 37-89 #b2c3b8,#1d2824, 90-90 #b2c3b8,#608269, 91-179 #b2c3b8,#0d1410, -|7: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|8: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#3c614a, 11-11 #f5f7ee,#0d1410, 12-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|9: 0-1 #000000,#add38a, 2-89 #becfc4,#314738, 90-90 #becfc4,#608269, 91-179 #becfc4,#0d1410, -|10: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|11: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#243a2d, 16-19 #f7e4a5,#5e4923, 20-20 #f7e4a5,#243a2d, 21-89 #e5eee5,#243a2d, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#0d1410, 16-19 #f7e4a5,#352e19, 20-20 #f7e4a5,#0d1410, 21-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#0d1410, 16-19 #f7e4a5,#352e19, 20-20 #f7e4a5,#0d1410, 21-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|7: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|8: 0-0 d,#608269, 1-3 d,#0d1410, 4-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|10: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|11: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|12: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|13: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |14: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |15: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|16: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|17: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-89 #b2c3b8,#1d2824, 90-90 #b2c3b8,#608269, 91-179 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-89 #b2c3b8,#1d2824, 90-90 #b2c3b8,#608269, 91-179 #b2c3b8,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|21: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|22: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|23: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|24: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|25: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|26: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|27: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|19: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, +|20: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-36 #d3b0d9,#1d2824, 37-89 #b2c3b8,#1d2824, 90-90 #b2c3b8,#608269, 91-179 #b2c3b8,#0d1410, +|21: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|22: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#3c614a, 11-11 #f5f7ee,#0d1410, 12-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|23: 0-1 #000000,#add38a, 2-89 #becfc4,#314738, 90-90 #becfc4,#608269, 91-179 #becfc4,#0d1410, +|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|25: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#243a2d, 16-19 #f7e4a5,#5e4923, 20-20 #f7e4a5,#243a2d, 21-89 #e5eee5,#243a2d, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#0d1410, 16-19 #f7e4a5,#352e19, 20-20 #f7e4a5,#0d1410, 21-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, +|27: 0-0 d,#608269, 1-1 d,#0d1410, 2-15 #59675c,#0d1410, 16-19 #f7e4a5,#352e19, 20-20 #f7e4a5,#0d1410, 21-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-179 #e5eee5,#0d1410, |28: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |29: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|30: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -== snap ctrln grid=180x31 cursor=7,10 -|7: 5 l5 -|8: 6 MARK b -|9: ^ +Search 2/3 Del -== snap landed grid=180x31 cursor=10,8 -|9: +Search 2/3 Save Undock Del -== snap n grid=180x31 cursor=10,8 -|7: 9 l9 -|8: 10 MARK c -== snap N grid=180x31 cursor=10,7 -|7: 6 MARK b -|8: 7 l7 -== snap cancel grid=180x31 cursor=10,7 -== snap nomatch grid=180x31 cursor=7,10 -|9: ^ +Search 0 Del -|10: /zzqq -|11: -|12: -|13: +|30: 0-1 d,#1d2824, 2-179 #67756e,#1d2824, +== snap ctrln grid=180x31 cursor=7,24 +|21: 5 l5 +|22: 6 MARK b +|23: ^ +Search 2/3 Del +== snap landed grid=180x31 cursor=10,22 +|23: +Search 2/3 Save Undock Del +== snap n grid=180x31 cursor=10,22 +|21: 9 l9 +|22: 10 MARK c +== snap N grid=180x31 cursor=10,21 +|21: 6 MARK b +|22: 7 l7 +== snap cancel grid=180x31 cursor=10,21 +== snap nomatch grid=180x31 cursor=7,24 +|23: ^ +Search 0 Del +|24: /zzqq +|25: +|26: +|27: diff --git a/test/snapshots/ghostty-mid.golden b/test/snapshots/ghostty-mid.golden index 02658b3d..47c40260 100644 --- a/test/snapshots/ghostty-mid.golden +++ b/test/snapshots/ghostty-mid.golden @@ -15,8 +15,18 @@ | | | -| | /tmp/pardes-snap/ghostty-mid/cwd Term+bash Save | Mode Filter Collapse Del | ls | g.txt +| +| +| +| +| +| +| +| +| +| +| ✓ @p1 Exec 1 message · SPC h m diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden index 52633372..26fcb692 100644 --- a/test/snapshots/grep.golden +++ b/test/snapshots/grep.golden @@ -1,14 +1,13 @@ -== snap opened grid=180x31 cursor=7,7 +== snap opened grid=180x31 cursor=7,21 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/grep/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/grep/cwd Term+bash Save Mode Filter Collapse Del | ls ls | a.txt noise.txt sub a.txt noise.txt sub | -| /tmp/pardes-snap/grep/cwd/a.txt Save Term Collapse Follow Del -| 1 hello TARGET one -| 2 nothing here -| 3 last TARGET line +| +| +| a.txt | | | @@ -19,28 +18,39 @@ | /tmp/pardes-snap/grep/cwd Term+bash Save Mode Filter Collapse Del | ls | a.txt noise.txt sub -== snap typing grid=180x31 cursor=13,10 -|9: ^ +Search 1/3 Del -|10: Grep TARGET -|11: a.txt -|12: a.txt:1:7 hello TARGET one -|13: /tmp/pardes-snap/grep/cwd/+Preview Del -|14: 1 -== snap second grid=180x31 cursor=13,10 -|7: 2 nothing here -|8: 3 last TARGET line -|9: ^ +Search 2/3 Del -== snap preview grid=180x31 cursor=13,10 -|9: ^ +Search 3/3 Del -|13: /tmp/pardes-snap/grep/cwd/sub/b.txt Del -|14: 1 deep -|15: 2 TARGET inside sub -== snap opened-hit grid=180x31 cursor=12,15 -|9: +Search 3/3 Save Undock Del -|13: /tmp/pardes-snap/grep/cwd/sub/b.txt Save Term Collapse Follow Del -== snap nomatch grid=180x31 cursor=11,15 -|14: ^ +Search 0 Del -|15: Grep zzqq -== snap esc grid=180x31 cursor=12,15 -|14: 1 deep -|15: 2 TARGET inside sub +| +| /tmp/pardes-snap/grep/cwd/a.txt Save Term Collapse Follow Del +| 1 hello TARGET one +| 2 nothing here +| 3 last TARGET line +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m +== snap typing grid=180x31 cursor=13,24 +|23: ^ +Search 1/3 Del +|24: Grep TARGET +|25: a.txt +|26: /tmp/pardes-snap/grep/cwd/+Preview Del +|27: 1 +== snap second grid=180x31 cursor=13,24 +|21: 2 nothing here +|22: 3 last TARGET line +|23: ^ +Search 2/3 Del +== snap preview grid=180x31 cursor=13,24 +|23: ^ +Search 3/3 Del +|26: /tmp/pardes-snap/grep/cwd/sub/b.txt Del +|27: 1 deep +|28: 2 TARGET inside sub +== snap opened-hit grid=180x31 cursor=12,28 +|23: +Search 3/3 Save Undock Del +|26: /tmp/pardes-snap/grep/cwd/sub/b.txt Save Term Collapse Follow Del +== snap nomatch grid=180x31 cursor=11,28 +|27: ^ +Search 0 Del +|28: Grep zzqq +== snap esc grid=180x31 cursor=12,28 +|27: 1 deep +|28: 2 TARGET inside sub diff --git a/test/snapshots/headersweep-restored.golden b/test/snapshots/headersweep-restored.golden index d730585f..3952525b 100644 --- a/test/snapshots/headersweep-restored.golden +++ b/test/snapshots/headersweep-restored.golden @@ -10,16 +10,16 @@ |8: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |9: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |10: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|11: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|12: 0-1 d,#496656, 2-43 #b2c3b8,#1d2824, 44-53 #d3b0d9,#1d2824, 54-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|13: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|11: 0-1 d,#496656, 2-43 #b2c3b8,#1d2824, 44-53 #d3b0d9,#1d2824, 54-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|12: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|16: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |17: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |18: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |19: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|20: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|20: 0-1 d,#1d2824, 2-119 #67756e,#1d2824, == snap col-swept grid=120x21 cursor=4,7 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit Restore /tmp/pardes-snap/headerswe | New Term Find Grep Joincol Delcol echo RE''STORED-COL New Term Find Grep Joincol Delcol @@ -32,7 +32,6 @@ | | | -| | /tmp/pardes-snap/headersweep-restored/cwd Term+bash Save M | ode Filter Collapse Del | @@ -41,15 +40,17 @@ | /tmp/pardes-snap/headersweep-restored/cwd (echo RE''STORED | -COL) exit 0 Kill Save Collapse Del | exit 0 +| +| ✓ @p1 Dump 1 message · SPC h m == style ws-sweeping grid=120x21 |0: 0-1 d,#1d2824, 2-100 #b2c3b8,#1d2824, 101-108 #f5f7ee,#5b7e5a, 109-119 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, -|14: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|17: 0-1 d,#496656, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|19: 0-0 d,#152019, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|13: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|15: 0-0 d,#152019, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|16: 0-1 d,#496656, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|18: 0-0 d,#152019, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, == snap ws-swept grid=120x21 cursor=4,7 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit Restore /tmp/pardes-snap/header ec -|18: -WS) exit 0 Kill Save Collapse Del +|17: -WS) exit 0 Kill Save Collapse Del diff --git a/test/snapshots/headersweep.golden b/test/snapshots/headersweep.golden index ef6bc786..20efd96e 100644 --- a/test/snapshots/headersweep.golden +++ b/test/snapshots/headersweep.golden @@ -10,16 +10,16 @@ |8: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |9: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |10: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|11: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|12: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|13: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|11: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|12: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, |14: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|15: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |16: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |17: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |18: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |19: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|20: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|20: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, == snap col-swept grid=120x21 cursor=4,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol echo SW''EPT-COL New Term Find Grep Joincol Delcol @@ -32,7 +32,6 @@ | | | -| | /tmp/pardes-snap/headersweep/cwd Term+bash Save Mode Filte | r Collapse Del | ls @@ -41,15 +40,18 @@ | /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-COL) exit 0 | Kill Save Collapse Del | exit 0 +| +| /tmp/pardes-snap/headersweep/cwd == snap ws-swept grid=120x21 cursor=4,6 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit echo SW''EPT-WS -|17: /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-WS) exit 0 -|18: Kill Save Collapse Del +|16: /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-WS) exit 0 +|17: Kill Save Collapse Del == snap ws-looked grid=120x21 cursor=7,9 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit echo SW''EPT-WS xxhay.txtxx |7: /tmp/pardes-snap/headersweep/cwd/hay.txt Save Term Collaps |8: e Follow Del |9: 1 ZQNEEDLE +|20: /tmp/pardes-snap/headersweep/cwd/hay.txt:1 == snap cancelled grid=120x21 cursor=7,9 == style selected grid=120x21 |1: 0-1 d,#887455, 2-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#887455, 62-70 #becfc4,#314738, 71-80 #f5f7ee,#3c614a, 81-119 #becfc4,#314738, @@ -58,6 +60,6 @@ |7: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-42 #d3b0d9,#1d2824, 43-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, |8: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, |9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|19: 0-0 d,#152019, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|16: 0-1 d,#496656, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|18: 0-0 d,#152019, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, diff --git a/test/snapshots/hscroll.golden b/test/snapshots/hscroll.golden index 4799b3b5..2be3ec7d 100644 --- a/test/snapshots/hscroll.golden +++ b/test/snapshots/hscroll.golden @@ -1,4 +1,4 @@ -== snap opened grid=90x31 cursor=7,9 +== snap opened grid=90x31 cursor=7,23 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/hscroll/cwd Term+bash Save /tmp/pardes-snap/hscroll/cwd Term+bash Save @@ -6,9 +6,8 @@ | ls ls | wide.txt wide.txt | -| /tmp/pardes-snap/hscroll/cwd/wide.txt Save -| Term Collapse Follow Del -| 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp +| +| wide.txt | | | @@ -20,11 +19,20 @@ | Mode Filter Collapse Del | ls | wide.txt -== snap wheeled grid=90x31 cursor=hidden -|9: 1 ND_A_MARKER_WAY_OUT_RIGHT_padpadpadpad -== snap clamped grid=90x31 cursor=7,9 -|9: 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp -== snap dollar grid=90x31 cursor=41,9 -|9: 1 padpadpadpadpadpadpadpadpadpad_TAIL -== snap zero grid=90x31 cursor=7,9 -|9: 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp +| +| /tmp/pardes-snap/hscroll/cwd/wide.txt Save +| Term Collapse Follow Del +| 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the p 2 messages · SPC h m +== snap wheeled grid=90x31 cursor=7,23 +== snap clamped grid=90x31 cursor=7,23 +== snap dollar grid=90x31 cursor=41,23 +|23: 1 padpadpadpadpadpadpadpadpadpad_TAIL +== snap zero grid=90x31 cursor=7,23 +|23: 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp diff --git a/test/snapshots/images.golden b/test/snapshots/images.golden index 04797da3..9cf46ec4 100644 --- a/test/snapshots/images.golden +++ b/test/snapshots/images.golden @@ -1,4 +1,4 @@ -== snap img-open grid=150x31 cursor=hidden +== snap img-open grid=150x32 cursor=hidden | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del @@ -19,7 +19,19 @@ | /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del | ls | pic.ppm -== style img-open grid=150x31 +| +| +| +| +| +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m +== style img-open grid=150x32 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #becfc4,#314738, 75-76 #becfc4,#887455, 77-149 #b2c3b8,#1d2824, |2: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#496656, 77-104 #b2c3b8,#1d2824, 105-114 #d3b0d9,#1d2824, 115-149 #b2c3b8,#1d2824, @@ -51,29 +63,31 @@ |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -== style term-palette grid=150x31 +|31: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, +== style term-palette grid=150x32 |6: 0-1 d,#add38a, 2-70 #becfc4,#314738, 71-74 #dfbce5,#314738, 75-75 #dfbce5,#608269, 76-149 #dfbce5,#0d1410, |7: 0-1 d,#314738, 2-5 #dfbce5,#314738, 6-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|8: 0-0 d,#152019, 1-65 d,#0d1410, 66-66 d,#1d2824, 67-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, -|9: 0-0 d,#152019, 1-29 d,#0d1410, 30-33 p8,p4, 34-34 p4,p8, 35-35 p8,p4, 36-36 p4,p8, 37-43 p8,p4, 44-44 p8,p12, 45-45 p12,p8, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|10: 0-0 d,#152019, 1-29 d,#0d1410, 30-30 p4,p8, 31-31 p8,p4, 32-32 p4,p8, 33-41 p8,p4, 42-43 p12,p8, 44-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|11: 0-0 d,#152019, 1-29 d,#0d1410, 30-34 p8,p4, 35-36 p4,p8, 37-37 p8,p4, 38-39 p4,p8, 40-40 p8,p12, 41-41 p12,p8, 42-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|12: 0-0 d,#152019, 1-29 d,#0d1410, 30-31 p8,p4, 32-32 p4,p8, 33-34 p8,p4, 35-35 p4,p8, 36-37 p8,p4, 38-38 p8,p12, 39-39 p12,p8, 40-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|13: 0-0 d,#152019, 1-29 d,#0d1410, 30-31 p8,p4, 32-32 p4,p8, 33-35 p8,p4, 36-36 p8,p12, 37-37 p12,p8, 38-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|14: 0-0 d,#152019, 1-29 d,#0d1410, 30-32 p8,p4, 33-33 p4,p8, 34-34 p8,p12, 35-35 p12,p8, 36-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|15: 0-0 d,#152019, 1-29 d,#0d1410, 30-30 p4,p8, 31-31 p8,p4, 32-32 p8,p12, 33-33 p12,p8, 34-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -|16: 0-0 d,#152019, 1-29 d,#0d1410, 30-30 p8,p12, 31-31 p12,p8, 32-45 p12,p12, 46-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, -== snap no-ascii grid=150x31 cursor=hidden +|8: 0-0 d,#152019, 1-28 d,#0d1410, 29-31 p8,p4, 32-33 p4,p8, 34-37 p8,p4, 38-38 p4,p8, 39-44 p8,p4, 45-45 p8,p12, 46-46 p12,p8, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|9: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 p8,p4, 30-30 p4,p8, 31-35 p8,p4, 36-36 p5,p8, 37-37 p8,p4, 38-38 p4,p8, 39-41 p8,p4, 42-42 p4,p8, 43-43 p8,p12, 44-45 p12,p8, 46-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|10: 0-0 d,#152019, 1-28 d,#0d1410, 29-30 p8,p4, 31-32 p4,p8, 33-40 p8,p4, 41-41 p8,p12, 42-43 p12,p8, 44-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|11: 0-0 d,#152019, 1-28 d,#0d1410, 29-31 p8,p4, 32-32 p4,p8, 33-34 p8,p4, 35-37 p4,p8, 38-38 p8,p4, 39-39 p8,p12, 40-41 p12,p8, 42-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|12: 0-0 d,#152019, 1-28 d,#0d1410, 29-36 p8,p4, 37-37 p8,p12, 38-39 p12,p8, 40-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|13: 0-0 d,#152019, 1-28 d,#0d1410, 29-30 p4,p8, 31-34 p8,p4, 35-35 p8,p12, 36-36 p12,p8, 37-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|14: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 p4,p8, 30-31 p8,p4, 32-32 p4,p8, 33-33 p8,p12, 34-35 p12,p8, 36-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|15: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 p4,p8, 30-30 p8,p4, 31-31 p8,p12, 32-32 p12,p8, 33-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +|16: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 p8,p12, 30-30 p12,p8, 31-46 p12,p12, 47-74 p12,#0d1410, 75-75 p12,#608269, 76-149 p12,#0d1410, +== snap no-ascii grid=150x32 cursor=hidden |6: img petscii:on palette:terminal ascii:off /tmp/pardes-snap/images/cwd/pic -|8: Ascii -|9: ██████████████🬝🬹 -|10: ██████🬛█████🬝▄ -|11: ██████████🬝▄ -|12: ██╱█████🬝▄ -|13: █🬸╲███🬝🬹 -|14: ████🬝▄ -|15: │█🬝▄ -|16: 🬝🬹 +|8: █🬝█╲███▙🬸🬬🬻█████🬝🬵 +|9: ███████🬻██🬸█🬝█🬝▄█ +|10: ████████████🬝▄█ +|11: ███🬸██████🬝▄█ +|12: ████████🬝🬵█ +|13: ╱█████🬝▄ +|14: █🬬█╲🬝🬵█ +|15: 🬺█🬝🬵 +|16: 🬝▄ +|31: ✓ /tmp/pardes-snap/images/cwd/pic.ppm Ascii 3 messages · SPC h m == snap tag-edit grid=400x31 cursor=85,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol @@ -95,3 +109,14 @@ | /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del | ls | pic.ppm +| +| +| +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/images/cwd/pic.ppm Ascii 3 messages · SPC h m diff --git a/test/snapshots/jumps.golden b/test/snapshots/jumps.golden index 34712e6e..abac4c7f 100644 --- a/test/snapshots/jumps.golden +++ b/test/snapshots/jumps.golden @@ -29,44 +29,45 @@ | 25 line 25 | 26 line 26 | 27 line 27 -| 28 line 28 +| /tmp/pardes-snap/jumps/cwd/big.txt:1 == snap to-shell grid=150x31 cursor=79,5 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/jumps/cwd/big.txt Save Term Collapse Follow Del /tmp/pardes-snap/jumps/cwd Term+bash Save Mode Filter Collapse Del |3: 1 line 1 ls |4: 2 line 2 big.txt +|30: /tmp/pardes-snap/jumps/cwd == snap to-file grid=150x31 cursor=7,3 -== snap goto-100 grid=150x31 cursor=7,27 -|3: 76 line 76 ls -|4: 77 line 77 big.txt -|5: 78 line 78 -|6: 79 line 79 -|7: 80 line 80 -|8: 81 line 81 -|9: 82 line 82 -|10: 83 line 83 -|11: 84 line 84 -|12: 85 line 85 -|13: 86 line 86 -|14: 87 line 87 -|15: 88 line 88 -|16: 89 line 89 -|17: 90 line 90 -|18: 91 line 91 -|19: 92 line 92 -|20: 93 line 93 -|21: 94 line 94 -|22: 95 line 95 -|23: 96 line 96 -|24: 97 line 97 -|25: 98 line 98 -|26: 99 line 99 -|27: 100 line 100 -|28: 101 line 101 -|29: 102 line 102 -|30: 103 line 103 +|30: ✓ @p2 Window 1 message · SPC h m +== snap goto-100 grid=150x31 cursor=7,26 +|3: 77 line 77 ls +|4: 78 line 78 big.txt +|5: 79 line 79 +|6: 80 line 80 +|7: 81 line 81 +|8: 82 line 82 +|9: 83 line 83 +|10: 84 line 84 +|11: 85 line 85 +|12: 86 line 86 +|13: 87 line 87 +|14: 88 line 88 +|15: 89 line 89 +|16: 90 line 90 +|17: 91 line 91 +|18: 92 line 92 +|19: 93 line 93 +|20: 94 line 94 +|21: 95 line 95 +|22: 96 line 96 +|23: 97 line 97 +|24: 98 line 98 +|25: 99 line 99 +|26: 100 line 100 +|27: 101 line 101 +|28: 102 line 102 +|29: 103 line 103 == snap back-in-file grid=150x31 cursor=7,3 -|3: 1 line 1 Back ls +|3: 1 line 1 ls |4: 2 line 2 big.txt |5: 3 line 3 |6: 4 line 4 @@ -93,45 +94,45 @@ |27: 25 line 25 |28: 26 line 26 |29: 27 line 27 -|30: 28 line 28 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Back 2 messages · SPC h m == snap back-to-shell grid=150x31 cursor=79,5 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Back ×2 2 messages · SPC h m == snap forward-file grid=150x31 cursor=7,3 -|3: 1 line 1 ls Forward -== snap forward-100 grid=150x31 cursor=7,17 -|3: 86 line 86 Forward ls -|4: 87 line 87 big.txt -|5: 88 line 88 -|6: 89 line 89 -|7: 90 line 90 -|8: 91 line 91 -|9: 92 line 92 -|10: 93 line 93 -|11: 94 line 94 -|12: 95 line 95 -|13: 96 line 96 -|14: 97 line 97 -|15: 98 line 98 -|16: 99 line 99 -|17: 100 line 100 -|18: 101 line 101 -|19: 102 line 102 -|20: 103 line 103 -|21: 104 line 104 -|22: 105 line 105 -|23: 106 line 106 -|24: 107 line 107 -|25: 108 line 108 -|26: 109 line 109 -|27: 110 line 110 -|28: 111 line 111 -|29: 112 line 112 -|30: 113 line 113 +|30: ✓ @p2 Forward 3 messages · SPC h m +== snap forward-100 grid=150x31 cursor=7,16 +|3: 87 line 87 ls +|4: 88 line 88 big.txt +|5: 89 line 89 +|6: 90 line 90 +|7: 91 line 91 +|8: 92 line 92 +|9: 93 line 93 +|10: 94 line 94 +|11: 95 line 95 +|12: 96 line 96 +|13: 97 line 97 +|14: 98 line 98 +|15: 99 line 99 +|16: 100 line 100 +|17: 101 line 101 +|18: 102 line 102 +|19: 103 line 103 +|20: 104 line 104 +|21: 105 line 105 +|22: 106 line 106 +|23: 107 line 107 +|24: 108 line 108 +|25: 109 line 109 +|26: 110 line 110 +|27: 111 line 111 +|28: 112 line 112 +|29: 113 line 113 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Forward 4 messages · SPC h m == snap last grid=150x31 cursor=79,5 -|3: 86 line 86 Last ls -== snap last-back grid=150x31 cursor=7,17 -|3: 86 line 86 ls Last +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Last 5 messages · SPC h m +== snap last-back grid=150x31 cursor=7,16 +|30: ✓ @p2 Last 6 messages · SPC h m == snap jumplist grid=150x31 cursor=hidden -|3: 86 line 86 Jumplist ls |16: /tmp/pardes-snap/jumps/cwd/+Jumps Save Term Collapse Follow LocationsConf |17: ig Del |18: 1 @p2:3:3 /tmp/pardes-snap/jumps/cwd @@ -146,9 +147,8 @@ |27: |28: |29: -|30: +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Jumplist 7 messages · SPC h m == snap step1-shell grid=150x31 cursor=79,5 -|3: 86 line 86 ls == style step1-shell grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, @@ -180,7 +180,7 @@ |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, == snap step2-file grid=150x31 cursor=7,3 |3: 1 line 1 ls |4: 2 line 2 big.txt diff --git a/test/snapshots/layout-close.golden b/test/snapshots/layout-close.golden index d91402a7..dfdd7f4d 100644 --- a/test/snapshots/layout-close.golden +++ b/test/snapshots/layout-close.golden @@ -1,4 +1,4 @@ -== snap built grid=140x41 cursor=4,16 +== snap built grid=140x41 cursor=4,35 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps @@ -11,10 +11,9 @@ | ls | marker.txt | -| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps -| e Del -| ls -| marker.txt +| +| +| | | | @@ -30,6 +29,17 @@ | e Del | ls | marker.txt +| +| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps +| e Del +| ls +| marker.txt +| +| +| +| +| +| /tmp/pardes-snap/layout-close/cwd == snap altc grid=140x41 cursor=39,7 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps @@ -42,18 +52,18 @@ |9: pse Del |10: ls |11: marker.txt -|12: -|13: -|14: -|15: -|22: /tmp/pardes-snap/layout-close/cwd -|23: Term+bash Save Mode Filter Colla -|24: pse Del -|27: /tmp/pardes-snap/layout-close/cwd -|28: Term+bash Save Mode Filter Colla -|29: pse Del -|30: ls -|31: marker.txt +|21: /tmp/pardes-snap/layout-close/cwd +|22: Term+bash Save Mode Filter Colla +|23: pse Del +|26: /tmp/pardes-snap/layout-close/cwd +|27: Term+bash Save Mode Filter Colla +|28: pse Del +|29: ls +|30: marker.txt +|31: +|32: +|33: +|34: == snap del grid=140x41 cursor=4,9 |5: ls ls marker.txt |6: marker.txt marker.txt @@ -62,11 +72,12 @@ |9: |10: |11: +|40: ✓ @p5 Del 1 message · SPC h m == snap exit grid=140x41 cursor=4,9 +|21: |22: |23: |24: -|25: == snap colclose grid=140x41 cursor=37,1 |2: /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps |3: Term+bash Save Mode Filter Colla e Del diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index 92423b64..51ddea02 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -1,4 +1,4 @@ -== snap before grid=100x31 cursor=4,9 +== snap before grid=100x32 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/layout-open/cwd Term+bash Save /tmp/pardes-snap/layout-open/cwd Term+bash Save @@ -20,23 +20,36 @@ | Mode Filter Collapse Del | ls | sub -== snap altn-left grid=100x31 cursor=4,11 +| +| +| +| +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m +== snap altn-left grid=100x32 cursor=4,11 |7: /tmp/pardes-snap/layout-open/cwd Term+bash Save |8: Mode Filter Collapse Del |9: ls |10: sub -== snap altn-right grid=100x31 cursor=54,11 +== snap altn-right grid=100x32 cursor=54,11 |7: /tmp/pardes-snap/layout-open/cwd Term+bash Save /tmp/pardes-snap/layout-open/cwd Term+bash Save |8: Mode Filter Collapse Del Mode Filter Collapse Del |9: ls ls |10: sub sub -== snap file-open grid=100x31 cursor=7,24 +== snap file-open grid=100x32 cursor=7,24 |22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Save |23: Term Collapse Follow Del |24: 1 echo 'TTY'OK -== snap ttydir grid=100x31 cursor=7,24 +|31: · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program dra 2 messages · SPC h m +== snap ttydir grid=100x32 cursor=7,24 |20: sub /tmp/pardes-snap/layout-open/cwd/sub (echo 'TTY' |21: OK) exit 0 Kill Save Collapse Del |22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Save % echo 'TTY'OK |23: Term Collapse Follow Del TTYOK |24: 1 echo 'TTY'OK exit 0 +|31: ✓ /tmp/pardes-snap/layout-open/cwd/sub/f.txt Exec 3 messages · SPC h m diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 9f523992..2076b9b9 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -3,6 +3,43 @@ | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/leader/cwd/cmds.txt Save Term Collapse Follow Del | 1 Help SPC +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/leader/cwd/cmds.txt:1 == snap spc-h grid=100x41 cursor=7,3 |3: 1 Help SPC h == snap abandoned grid=100x41 cursor=7,3 @@ -27,8 +64,8 @@ |20: 14 Open the tutor, a document to work through. |21: 15 |22: ~ +|40: ✓ /tmp/pardes-snap/leader/cwd/cmds.txt Help 2 messages · SPC h m == snap tutor grid=100x41 cursor=7,23 -|6: 1 pardes builtins under SPC h Tutor |22: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del |23: 1 |24: 2 PARDES TUTOR @@ -47,7 +84,7 @@ |37: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with |38: 16 "| " are tags. |39: 17 -|40: 18 Press j until you reach part 1. +|40: ✓ /tmp/pardes-snap/leader/cwd/+Help Tutor 3 messages · SPC h m == snap deleted grid=100x41 cursor=7,3 |5: |6: @@ -67,24 +104,24 @@ |20: |21: |22: -|23: -|24: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del -|25: 1 pardes builtins under SPC h -|26: 2 -|27: 3 SPC h b Build -|28: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|29: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ -|30: its platform, its grammars, and whether the addons are compiled in. -|31: 6 -|32: 7 SPC h c Changelog topbar -|33: 8 Show this build's version and what changed to reach it, in a +Changelog. -|34: 9 -|35: 10 SPC h m Messages -|36: 11 Show the messages said so far in a +Messages. -|37: 12 -|38: 13 SPC h t Tutor topbar -|39: 14 Open the tutor, a document to work through. -|40: 15 +|23: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|24: 1 pardes builtins under SPC h +|25: 2 +|26: 3 SPC h b Build +|27: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|28: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|29: its platform, its grammars, and whether the addons are compiled in. +|30: 6 +|31: 7 SPC h c Changelog topbar +|32: 8 Show this build's version and what changed to reach it, in a +Changelog. +|33: 9 +|34: 10 SPC h m Messages +|35: 11 Show the messages said so far in a +Messages. +|36: 12 +|37: 13 SPC h t Tutor topbar +|38: 14 Open the tutor, a document to work through. +|39: 15 +|40: ✓ /tmp/pardes-snap/leader/cwd/+Tutor Del 4 messages · SPC h m == snap help-column grid=100x41 cursor=7,6 |5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del |6: 1 pardes builtins under SPC c @@ -121,7 +158,7 @@ |37: |38: |39: -|40: +|40: ✓ /tmp/pardes-snap/leader/cwd/+Help Del 6 messages · SPC h m == snap help-language grid=100x41 cursor=7,6 |6: 1 pardes builtins under SPC l |8: 3 SPC l C Callees @@ -156,7 +193,6 @@ |37: 29 SPC l h SelectRefs |38: 30 Select every reference to the symbol under the cursor. |39: 31 -|40: 32 SPC l i Lspinfo == snap del-output grid=100x41 cursor=7,3 |5: |6: @@ -193,4 +229,4 @@ |37: |38: |39: -|40: +|40: ✓ /tmp/pardes-snap/leader/cwd/+Help Del 7 messages · SPC h m diff --git a/test/snapshots/load.golden b/test/snapshots/load.golden index cb0cce1f..ded020a4 100644 --- a/test/snapshots/load.golden +++ b/test/snapshots/load.golden @@ -1,13 +1,12 @@ -== snap loaded grid=100x31 cursor=4,16 +== snap loaded grid=100x31 cursor=4,15 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/load/cwd Term+bash Save Mode Fi /tmp/pardes-snap/load/cwd Term+bash Save Mode Fi | lter Collapse Del lter Collapse Del -| 28 Dump ls -| 29 d.txt -| 30 -| 31 ── restored history ── -| 32 +| 29 ls +| 30 d.txt +| 31 +| 32 ── restored history ── | 33 | 34 | 35 @@ -22,12 +21,21 @@ | d.txt | | ── restored history ── +| +| +| +| +| +| +| +| +| ✓ @p1 Dump 1 message · SPC h m == style loaded grid=100x31 |0: 0-1 d,#1d2824, 2-47 #b2c3b8,#1d2824, 48-51 #f5f7ee,#3c614a, 52-52 #f5f7ee,#1d2824, 53-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824, |2: 0-1 d,#add38a, 2-27 #becfc4,#314738, 28-37 #dfbce5,#314738, 38-49 #becfc4,#314738, 50-51 #becfc4,#496656, 52-77 #b2c3b8,#1d2824, 78-87 #d3b0d9,#1d2824, 88-99 #b2c3b8,#1d2824, |3: 0-1 d,#314738, 2-49 #becfc4,#314738, 50-51 #becfc4,#1d2824, 52-99 #b2c3b8,#1d2824, -|4: 0-0 d,#152019, 1-1 d,#0d1410, 2-43 #e5eee5,#0d1410, 44-44 #e5eee5,#1d2824, 45-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-51 #b2c3b8,#0d1410, 52-99 #e5eee5,#0d1410, +|4: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |5: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |6: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |7: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-51 #e5eee5,#0d1410, 52-73 #e5eee5,#0d1410,f 74-99 #e5eee5,#0d1410, @@ -39,13 +47,13 @@ |13: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |14: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |15: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-27 #b2c3b8,#1d2824, 28-37 #d3b0d9,#1d2824, 38-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-27 #b2c3b8,#1d2824, 28-37 #d3b0d9,#1d2824, 38-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |24: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |25: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -53,4 +61,4 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, diff --git a/test/snapshots/logquiet.golden b/test/snapshots/logquiet.golden index b002b71b..6ec9e6e6 100644 --- a/test/snapshots/logquiet.golden +++ b/test/snapshots/logquiet.golden @@ -5,3 +5,28 @@ | $ ls | $ printf '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p' | $ '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p'Gi=1;OK +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/logquiet/cwd diff --git a/test/snapshots/look-center.golden b/test/snapshots/look-center.golden index 8463f103..f3b7aee6 100644 --- a/test/snapshots/look-center.golden +++ b/test/snapshots/look-center.golden @@ -1,12 +1,25 @@ -== snap center-open grid=150x31 cursor=15,12 +== snap center-open grid=150x31 cursor=15,25 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/look-center/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/look-center/cwd Term+bash Save Mode Filter Collapse Del | ls ls | big.txt big.txt | +| +| +| big.txt:100 big.txt:150 big.txt:2 +| +| +| +| +| +| +| +| /tmp/pardes-snap/look-center/cwd Term+bash Save Mode Filter Collapse Del +| ls +| big.txt +| | /tmp/pardes-snap/look-center/cwd/big.txt Save Term Collapse Follow Del -| 95 line 95 | 96 line 96 | 97 line 97 | 98 line 98 @@ -16,28 +29,26 @@ | 102 line 102 | 103 line 103 | 104 line 104 -| /tmp/pardes-snap/look-center/cwd Term+bash Save Mode Filter Collapse Del -| ls -| big.txt -== snap center-dedup grid=150x31 cursor=15,12 -|7: 145 line 145 -|8: 146 line 146 big.txt:150 big.txt:2 -|9: 147 line 147 -|10: 148 line 148 -|11: 149 line 149 -|12: 150 line 150 -|13: 151 line 151 -|14: 152 line 152 -|15: 153 line 153 -|16: 154 line 154 -== snap center-clamp grid=150x31 cursor=13,8 -|7: 1 line 1 -|8: 2 line 2 big.txt:150 big.txt:2 -|9: 3 line 3 -|10: 4 line 4 -|11: 5 line 5 -|12: 6 line 6 -|13: 7 line 7 -|14: 8 line 8 -|15: 9 line 9 -|16: 10 line 10 +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m +== snap center-dedup grid=150x31 cursor=15,25 +|8: big.txt:100 big.txt:150 big.txt:2 big.txt:150 big.txt:2 +|21: 146 line 146 +|22: 147 line 147 +|23: 148 line 148 +|24: 149 line 149 +|25: 150 line 150 +|26: 151 line 151 +|27: 152 line 152 +|28: 153 line 153 +|29: 154 line 154 +|30: · @p3 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 2 messages · SPC h m +== snap center-clamp grid=150x31 cursor=13,22 +|21: 1 line 1 +|22: 2 line 2 +|23: 3 line 3 +|24: 4 line 4 +|25: 5 line 5 +|26: 6 line 6 +|27: 7 line 7 +|28: 8 line 8 +|29: 9 line 9 diff --git a/test/snapshots/look-fd-deep.golden b/test/snapshots/look-fd-deep.golden index b71de0c8..d7d26c21 100644 --- a/test/snapshots/look-fd-deep.golden +++ b/test/snapshots/look-fd-deep.golden @@ -22,9 +22,19 @@ | | /tmp/pardes-snap/look-fd-deep/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/look-fd-deep/cwd/a == snap fd-path-looked grid=100x31 cursor=7,11 |10: /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt Save Term Collapse Follow Del |11: 1 deep-marker +|30: /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt:1 == snap ls-name-looked grid=100x31 cursor=7,14 |13: /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt Save Term Collapse Follow Del |14: 1 top-marker +|30: /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt:1 diff --git a/test/snapshots/look-file-1col.golden b/test/snapshots/look-file-1col.golden index 12484893..6ef22da5 100644 --- a/test/snapshots/look-file-1col.golden +++ b/test/snapshots/look-file-1col.golden @@ -1,4 +1,4 @@ -== snap file-open-1col grid=100x31 cursor=14,19 +== snap file-open-1col grid=100x31 cursor=14,18 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/look-file-1col/cwd Term+bash Save Mode Filter Collapse Del @@ -6,7 +6,6 @@ | big.txt | | /tmp/pardes-snap/look-file-1col/cwd/big.txt Save Term Collapse Follow Del -| 28 line 28 | 29 line 29 | 30 line 30 | 31 line 31 @@ -30,3 +29,4 @@ | 49 line 49 | 50 line 50 | 51 line 51 +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m diff --git a/test/snapshots/look-file.golden b/test/snapshots/look-file.golden index 992fa1cc..63cf639f 100644 --- a/test/snapshots/look-file.golden +++ b/test/snapshots/look-file.golden @@ -1,12 +1,25 @@ -== snap file-open grid=150x31 cursor=14,12 +== snap file-open grid=150x31 cursor=14,25 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del | ls ls | big.txt big.txt | +| +| +| big.txt:40 +| +| +| +| +| +| +| +| /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del +| ls +| big.txt +| | /tmp/pardes-snap/look-file/cwd/big.txt Save Term Collapse Follow Del -| 35 line 35 | 36 line 36 | 37 line 37 | 38 line 38 @@ -16,9 +29,7 @@ | 42 line 42 | 43 line 43 | 44 line 44 -| /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del -| ls -| big.txt +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == style file-open grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #becfc4,#314738, 75-76 #becfc4,#887455, 77-149 #b2c3b8,#1d2824, @@ -26,28 +37,28 @@ |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|6: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|7: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|8: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|9: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|10: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|11: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-3 d,#0d1410,b 4-6 #616f64,#0d1410,b 7-14 #f5f7ee,#3c614a, 15-74 #f5f7ee,#0d1410, 75-75 #f5f7ee,#608269, 76-149 #f5f7ee,#0d1410, -|13: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|14: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|15: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|6: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|7: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|8: 0-0 d,#608269, 1-3 d,#0d1410, 4-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|10: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|11: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|12: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|13: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|14: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|15: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|16: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|20: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|21: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|22: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|23: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|24: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|25: 0-0 d,#152019, 1-1 d,#0d1410, 2-3 d,#0d1410,b 4-6 #616f64,#0d1410,b 7-14 #f5f7ee,#3c614a, 15-74 #f5f7ee,#0d1410, 75-75 #f5f7ee,#608269, 76-149 #f5f7ee,#0d1410, +|26: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|27: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|28: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|29: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, diff --git a/test/snapshots/lookloaded.golden b/test/snapshots/lookloaded.golden index d32b1463..e81a5262 100644 --- a/test/snapshots/lookloaded.golden +++ b/test/snapshots/lookloaded.golden @@ -1,4 +1,4 @@ -== snap file-open grid=100x31 cursor=14,13 +== snap file-open grid=100x31 cursor=14,27 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/lookloaded/cwd Term+bash Save M /tmp/pardes-snap/lookloaded/cwd Term+bash Save M @@ -6,6 +6,20 @@ | ls ls | big.txt big.txt | +| +| big.txt:40 big.txt:10 +| +| +| +| +| +| +| +| /tmp/pardes-snap/lookloaded/cwd Term+bash Save M +| ode Filter Collapse Del +| ls +| big.txt +| | /tmp/pardes-snap/lookloaded/cwd/big.txt Save Ter | m Collapse Follow Del | 36 line 36 @@ -15,21 +29,19 @@ | 40 line 40 | 41 line 41 | 42 line 42 -| 43 line 43 -| /tmp/pardes-snap/lookloaded/cwd Term+bash Save M -| ode Filter Collapse Del -| ls -| big.txt +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m == snap removed grid=100x31 cursor=54,8 |6: rm big.txt; echo GO''NE -|7: */tmp/pardes-snap/lookloaded/cwd/big.txt Save Ter GONE -== snap look-noFS grid=100x31 cursor=14,13 -|8: m Collapse Follow Del big.txt:10 -|9: 6 line 6 -|10: 7 line 7 -|11: 8 line 8 -|12: 9 line 9 -|13: 10 line 10 -|14: 11 line 11 -|15: 12 line 12 -|16: 13 line 13 +|7: GONE +|21: */tmp/pardes-snap/lookloaded/cwd/big.txt Save Ter +|30: · /tmp/pardes-snap/lookloaded/cwd/big.txt deleted on disk (Save writes it ag 2 messages · SPC h m +== snap look-noFS grid=100x31 cursor=14,26 +|8: big.txt:40 big.txt:10 big.txt:10 +|23: 7 line 7 +|24: 8 line 8 +|25: 9 line 9 +|26: 10 line 10 +|27: 11 line 11 +|28: 12 line 12 +|29: 13 line 13 +|30: · @p3 a copy of the terminal's text: Tab or B2 runs it; what the program dra 3 messages · SPC h m diff --git a/test/snapshots/lookpanes.golden b/test/snapshots/lookpanes.golden index e3fbe1ed..e12c9284 100644 --- a/test/snapshots/lookpanes.golden +++ b/test/snapshots/lookpanes.golden @@ -10,6 +10,46 @@ | 1 amark.txt pick.txt zqonly.txt | 2 both.txt twin.txt | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b typ 1 message · SPC h m == snap other-dir grid=130x51 cursor=7,8 |6: /tmp/pardes-snap/lookpanes/cwd/alpha/zqonly.txt Save Term Colla |7: pse Follow Del /tmp/pardes-snap/lookpanes/cwd/alpha/ Get Term Collapse Del @@ -77,4 +117,4 @@ |47: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |48: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |49: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, -|50: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, +|50: 0-1 d,#1d2824, 2-129 #67756e,#1d2824, diff --git a/test/snapshots/lookrange.golden b/test/snapshots/lookrange.golden index c677fb8f..7acdd9f7 100644 --- a/test/snapshots/lookrange.golden +++ b/test/snapshots/lookrange.golden @@ -6,6 +6,30 @@ | 2 r.txt:7:4-9 | 3 r.txt:3:2-5:3 | 4 r.txt:8:6-99:9 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lookrange/cwd/look.txt:1 == snap wholelines grid=150x31 cursor=11,12 |7: /tmp/pardes-snap/lookrange/cwd/r.txt Save Term Collapse Follow Del |8: 1 aaaa @@ -17,6 +41,7 @@ |14: 7 gg NEEDLE gg |15: 8 hhhh NEEDLE |16: 9 iiii +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:5 == style wholelines grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-149 #becfc4,#314738, @@ -48,20 +73,23 @@ |27: 0-0 d,#608269, 1-149 d,#0d1410, |28: 0-0 d,#608269, 1-149 d,#0d1410, |29: 0-0 d,#608269, 1-149 d,#0d1410, -|30: 0-0 d,#608269, 1-149 d,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, == snap onelinespan grid=150x31 cursor=15,14 +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:7 == style onelinespan grid=150x31 |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, == snap fullspan grid=150x31 cursor=9,12 +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:5 == style fullspan grid=150x31 |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #e5eee5,#0d1410, 8-149 #f5f7ee,#3c614a, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, |12: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #f5f7ee,#3c614a, 10-149 #e5eee5,#0d1410, |14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, == snap stale grid=150x31 cursor=10,16 +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:9 == style stale grid=150x31 |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, @@ -69,32 +97,33 @@ |15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-149 #f5f7ee,#3c614a, |16: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-149 #f5f7ee,#0d1410, == snap hit1 grid=150x31 cursor=17,15 -|21: +Search 2/2 Save Undock Del -|22: /NEEDLE -|23: r.txt:7:4 gg NEEDLE gg -|24: r.txt:8:6 hhhh NEEDLE +|20: +Search 2/2 Save Undock Del +|21: /NEEDLE +|22: r.txt:7:4 gg NEEDLE gg +|23: r.txt:8:6 hhhh NEEDLE +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:8 == style hit1 grid=150x31 |14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #e5eee5,#0d1410, 10-15 #e5eee5,#352e19, 16-149 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, -|16: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|18: 0-0 d,#e5eee5, 1-149 d,#0d1410, -|21: 0-1 d,#496656, 2-149 #b2c3b8,#1d2824, -|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, -|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#352e19, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#5e4923, 26-149 #f7e4a5,#243a2d, +|15: 0-0 d,#5e4923, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, +|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, +|17: 0-0 d,#e5eee5, 1-149 d,#0d1410, +|20: 0-1 d,#496656, 2-149 #b2c3b8,#1d2824, +|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#352e19, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#5e4923, 26-149 #f7e4a5,#243a2d, == snap hit2 grid=150x31 cursor=15,14 +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:7 == style hit2 grid=150x31 |14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-17 #e5eee5,#352e19, 18-149 #e5eee5,#0d1410, -|16: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|18: 0-0 d,#5e4923, 1-149 d,#0d1410, -|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#5e4923, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#352e19, 26-149 #f7e4a5,#243a2d, +|15: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-17 #e5eee5,#352e19, 18-149 #e5eee5,#0d1410, +|17: 0-0 d,#5e4923, 1-149 d,#0d1410, +|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#5e4923, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#352e19, 26-149 #f7e4a5,#243a2d, == snap back grid=150x31 cursor=17,15 +|30: /tmp/pardes-snap/lookrange/cwd/r.txt:8 == style back grid=150x31 |14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #e5eee5,#0d1410, 10-15 #e5eee5,#352e19, 16-149 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, -|16: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|18: 0-0 d,#e5eee5, 1-149 d,#0d1410, -|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#352e19, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#5e4923, 26-149 #f7e4a5,#243a2d, +|15: 0-0 d,#5e4923, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, +|17: 0-0 d,#e5eee5, 1-149 d,#0d1410, +|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-17 #e5eee5,#0d1410, 18-23 #f7e4a5,#352e19, 24-24 #f7e4a5,#0d1410, 25-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-19 #e5eee5,#243a2d, 20-25 #f7e4a5,#5e4923, 26-149 #f7e4a5,#243a2d, diff --git a/test/snapshots/lsp-client-edit.golden b/test/snapshots/lsp-client-edit.golden index 5911baa4..64891d59 100644 --- a/test/snapshots/lsp-client-edit.golden +++ b/test/snapshots/lsp-client-edit.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del -| 1 // formatted by mock formatted 1 range(s) +| 1 // formatted by mock | 2 mod lib; | 3 | 4 fn main() { @@ -11,6 +11,19 @@ | 7 let _ = x + y; | 8 } | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| · /tmp/pardes-snap/lsp-client-edit/cwd/main.rs formatted 1 range(s) 1 message · SPC h m == snap unformatted grid=100x25 cursor=7,3 |2: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del |3: 1 mod lib; @@ -24,11 +37,10 @@ |11: == snap renamed grid=100x25 cursor=12,5 |2: */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del -|3: 1 mod lib; renamed 2 range(s) |6: 4 let x = sum(1, 2); |7: 5 let y = sum(3, 4); +|24: · /tmp/pardes-snap/lsp-client-edit/cwd/main.rs renamed 2 range(s) 3 messages · SPC h m == snap unrenamed grid=100x25 cursor=12,5 |2: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del -|3: 1 mod lib; |6: 4 let x = add(1, 2); |7: 5 let y = add(3, 4); diff --git a/test/snapshots/lsp-client.golden b/test/snapshots/lsp-client.golden index 42c378d1..3ac3fe67 100644 --- a/test/snapshots/lsp-client.golden +++ b/test/snapshots/lsp-client.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/lsp-client/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del -| 1 mod lib; --:--:-- lsp rust-analyzer: ready +| 1 mod lib; | 2 | 3 fn main() { | 4 let x = add(1, 2); @@ -15,16 +15,30 @@ | 3 a + b | 4 } | ~ +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lsp-client/cwd/lib.rs:2 == snap gr-list grid=100x25 cursor=2,16 -|3: 1 mod lib; |13: +Search 1/3 Del |14: Refs |15: lib.rs |16: lib.rs:2:8 pub fn add(a: i32, b: i32) -> i32 { |17: main.rs -|18: main.rs:4:13 let x = add(1, 2); -|19: /tmp/pardes-snap/lsp-client/cwd/+Preview Del -|20: 1 +|18: /tmp/pardes-snap/lsp-client/cwd/+Preview Del +|19: 1 +|24: /tmp/pardes-snap/lsp-client/cwd/+Search:3 == snap gr-opened grid=100x25 cursor=21,6 |13: +Search 2/3 Save Undock Del +|14: lib.rs +|15: lib.rs:2:8 pub fn add(a: i32, b: i32) -> i32 { +|16: main.rs +|17: main.rs:4:13 let x = add(1, 2); +|24: /tmp/pardes-snap/lsp-client/cwd/main.rs:4 == snap gr-back grid=100x25 cursor=21,7 +|24: /tmp/pardes-snap/lsp-client/cwd/main.rs:5 diff --git a/test/snapshots/lsp-rename-files.golden b/test/snapshots/lsp-rename-files.golden index 7d984b41..6c6c899b 100644 --- a/test/snapshots/lsp-rename-files.golden +++ b/test/snapshots/lsp-rename-files.golden @@ -15,8 +15,16 @@ | 6 let _ = x + y; | 7 } | ~ +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lsp-rename-files/cwd/main.rs:1 == snap previewed grid=100x25 cursor=14,4 -|3: 1 // main.rs Rename: 3 edit(s) across files, previewed, not applied |15: /tmp/pardes-snap/lsp-rename-files/cwd/+Search Save Term Collapse Follow LocationsConfig Del |16: 1 lib.rs:2:8-10 |17: 2 sum @@ -25,3 +33,4 @@ |20: 5 main.rs:5:13-15 |21: 6 sum |22: ~ +|24: · /tmp/pardes-snap/lsp-rename-files/cwd/lib.rs Rename: 3 edit(s) across file 2 messages · SPC h m diff --git a/test/snapshots/lsp-rename.golden b/test/snapshots/lsp-rename.golden index aa44d7a2..b772114c 100644 --- a/test/snapshots/lsp-rename.golden +++ b/test/snapshots/lsp-rename.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const std = @import("std"); renamed 2 range(s) +| 1 const std = @import("std"); | 2 | 3 fn renamed_helper(x: u32) u32 { | 4 return x + 1; @@ -17,9 +17,15 @@ | 13 _ = helper; | 14 } | ~ +| +| +| +| +| +| +| · /tmp/pardes-snap/lsp-rename/cwd/rename.zig renamed 2 range(s) 2 messages · SPC h m == snap undone grid=110x25 cursor=17,10 |2: /tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Term Collapse Follow TreeContext Def Refs Del -|3: 1 const std = @import("std"); |5: 3 fn helper(x: u32) u32 { |10: 8 _ = helper(41); == snap redone grid=110x25 cursor=17,10 diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index 58452eb8..5fce5d9a 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -12,17 +12,45 @@ | 8 _ = helper(41); | 9 } | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lsp/cwd/a.zig:1 == snap cursor grid=120x41 cursor=17,10 +|40: /tmp/pardes-snap/lsp/cwd/a.zig:8 == snap definition grid=120x41 cursor=15,5 -|3: 1 const std = @import("std"); --:--:-- lsp zls ready — /tmp/pardes-snap/lsp/cwd +|40: /tmp/pardes-snap/lsp/cwd/a.zig:3 == snap hover grid=120x41 cursor=15,5 -|3: 1 const std = @import("std"); Hover |12: /tmp/pardes-snap/lsp/cwd/+Hover Save Term Collapse Follow Del |13: 1 fn helper(x: u32) u32 |14: 2 (fn (u32) u32) |15: ~ +|40: ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover 1 message · SPC h m == snap symbols grid=120x41 cursor=15,5 -|3: 1 const std = @import("std"); Symbols |15: /tmp/pardes-snap/lsp/cwd/+Search Save Term Collapse Follow LocationsConfig Del |16: 1 a.zig:1:7-9 |17: 2 std @@ -31,7 +59,7 @@ |20: 5 a.zig:7:8-11 |21: 6 main |22: ~ +|40: ✓ /tmp/pardes-snap/lsp/cwd/a.zig Symbols 2 messages · SPC h m == snap step grid=120x41 cursor=15,3 -|3: 1 const std = @import("std"); == snap nothing grid=120x41 cursor=7,5 -|3: 1 const std = @import("std"); Def: not found +|40: ✗ /tmp/pardes-snap/lsp/cwd/a.zig Def: not found 3 messages · SPC h m diff --git a/test/snapshots/lspcomplete.golden b/test/snapshots/lspcomplete.golden index 72b413cf..b92ede89 100644 --- a/test/snapshots/lspcomplete.golden +++ b/test/snapshots/lspcomplete.golden @@ -15,15 +15,41 @@ | 11 | 12 // note. see below | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lspcomplete/cwd/a.zig:1 == snap indent grid=120x41 cursor=11,12 |2: ^*/tmp/pardes-snap/lspcomplete/cwd/a.zig Save Term Collapse Follow TreeContext Def Refs Del |12: 10 } +|40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:10 == snap commentindent grid=120x41 cursor=19,14 -|3: 1 const Shade = enum { --:--:-- lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd |14: 12 // note. see below +|40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:12 == snap athedot grid=120x41 cursor=16,10 -|3: 1 const Shade = enum { |10: 8 . +|40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:8 == snap completion grid=120x41 cursor=16,10 |15: /tmp/pardes-snap/lspcomplete/cwd/+Search Save Term Collapse Follow Del |16: 1 a.zig:8:10 verdigris @@ -38,27 +64,67 @@ |^*/tmp/pardes-snap/lspcomplete/cwd/notes.txt Save Term Collapse Follow Del | 1 abc. def ghi | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lspcomplete/cwd/notes.txt:1 == snap nosemi grid=100x19 cursor=29,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol |^*/tmp/pardes-snap/lspcomplete/cwd/c.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const Shade = enum { --:--:-- lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd +| 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, | 4 }; | 5 | 6 pub fn nosemi() void { | 7 const z: Shade = . -| 8 } | /tmp/pardes-snap/lspcomplete/cwd/+Search Save Term Collapse Follow Del | 1 c.zig:7:23 verdigris Shade | 2 c.zig:7:23 cinnabar Shade | ~ +| +| +| +| +| /tmp/pardes-snap/lspcomplete/cwd/c.zig:7 == snap nobrace grid=100x19 cursor=hidden | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol |^*/tmp/pardes-snap/lspcomplete/cwd/d.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const Shade = enum { --:--:-- lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd +| 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, | 4 }; @@ -69,3 +135,8 @@ | 1 d.zig:8:10 verdigris | 2 d.zig:8:10 cinnabar | ~ +| +| +| +| +| /tmp/pardes-snap/lspcomplete/cwd/d.zig:8 diff --git a/test/snapshots/lspcompletemoved.golden b/test/snapshots/lspcompletemoved.golden index 4971ad94..00f0ee0f 100644 --- a/test/snapshots/lspcompletemoved.golden +++ b/test/snapshots/lspcompletemoved.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol |^*/tmp/pardes-snap/lspcompletemoved/cwd/a.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const Shade = enum { --:--:-- lsp zls ready — /tmp/pardes-snap/lspcompletemoved/cwd +| 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, | 4 }; @@ -15,6 +15,11 @@ | 11 | 12 // note.x see below | ~ +| +| +| +| +| /tmp/pardes-snap/lspcompletemoved/cwd/a.zig:12 == file buffer const Shade = enum { verdigris, diff --git a/test/snapshots/lspdebug.golden b/test/snapshots/lspdebug.golden index b3e2f2a5..12c8a4dc 100644 --- a/test/snapshots/lspdebug.golden +++ b/test/snapshots/lspdebug.golden @@ -13,9 +13,41 @@ | 9 _ = v; | 10 } | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/lspdebug/cwd/z.zig:1 == snap ctrlclick grid=120x45 cursor=15,5 -|3: 1 const std = @import("std"); --:--:-- lsp zls ready — /tmp/pardes-snap/lspdebug/cwd +|44: /tmp/pardes-snap/lspdebug/cwd/z.zig:3 == snap plainclick grid=120x45 cursor=21,10 -|3: 1 const std = @import("std"); +|44: /tmp/pardes-snap/lspdebug/cwd/z.zig:8 == snap why-closed grid=120x45 cursor=7,5 +|44: /tmp/pardes-snap/lspdebug/cwd/z.zig:3 == snap report-closed grid=120x45 cursor=7,5 diff --git a/test/snapshots/lsprelpath.golden b/test/snapshots/lsprelpath.golden index 964f0286..bd2dc172 100644 --- a/test/snapshots/lsprelpath.golden +++ b/test/snapshots/lsprelpath.golden @@ -1,8 +1,8 @@ -== snap absrow grid=100x35 cursor=2,21 +== snap absrow grid=100x35 cursor=2,20 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/lsprelpath/cwd/sub/parent.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const shade = @import("../shad --:--:-- lsp zls ready — /tmp/pardes-snap/lsprelpath/cwd/sub +| 1 const shade = @import("../shade.zig"); | 2 | 3 pub fn pick(s: shade.Shade) u8 { | 4 return switch (s) { @@ -14,7 +14,6 @@ | | | -| | +Search 2/2 Del | Refs | ../shade.zig @@ -27,15 +26,23 @@ | | /tmp/pardes-snap/lsprelpath/cwd/sub/+Preview Del | 1 -== snap abslook grid=100x35 cursor=21,27 -|3: 1 const shade = @import("../shade.zig"); -|16: +Search 1/2 Save Undock Del -|26: /tmp/pardes-snap/lsprelpath/cwd/shade.zig Save Term Collapse Follow TreeContext Def Refs Del -|27: 1 pub const Shade = enum { -|28: 2 verdigris, -|29: 3 cinnabar, -|30: 4 }; -|31: ~ +| +| +| +| +| +| +| +| /tmp/pardes-snap/lsprelpath/cwd/sub/+Search:5 +== snap abslook grid=100x35 cursor=21,26 +|15: +Search 1/2 Save Undock Del +|25: /tmp/pardes-snap/lsprelpath/cwd/shade.zig Save Term Collapse Follow TreeContext Def Refs Del +|26: 1 pub const Shade = enum { +|27: 2 verdigris, +|28: 3 cinnabar, +|29: 4 }; +|30: ~ +|34: /tmp/pardes-snap/lsprelpath/cwd/shade.zig:1 == style abslook grid=100x35 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -52,31 +59,31 @@ |12: 0-0 d,#608269, 1-99 d,#0d1410, |13: 0-0 d,#608269, 1-99 d,#0d1410, |14: 0-0 d,#608269, 1-99 d,#0d1410, -|15: 0-0 d,#608269, 1-99 d,#0d1410, -|16: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, +|15: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, +|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |17: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-21 #59675c,#243a2d, 22-31 #e5eee5,#243a2d, 32-36 #f7e4a5,#5e4923, 37-37 #f7e4a5,#243a2d, 38-39 #e5eee5,#243a2d, 40-44 #c9a7ed,#243a2d, 45-99 #e5eee5,#243a2d, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-19 #59675c,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #c9a7ed,#0d1410, 27-40 #e5eee5,#0d1410, 41-45 #f7e4a5,#5e4923, 46-99 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-21 #59675c,#243a2d, 22-31 #e5eee5,#243a2d, 32-36 #f7e4a5,#5e4923, 37-37 #f7e4a5,#243a2d, 38-39 #e5eee5,#243a2d, 40-44 #c9a7ed,#243a2d, 45-99 #e5eee5,#243a2d, +|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-19 #59675c,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #c9a7ed,#0d1410, 27-40 #e5eee5,#0d1410, 41-45 #f7e4a5,#5e4923, 46-99 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-99 d,#0d1410, |22: 0-0 d,#608269, 1-99 d,#0d1410, |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#0d1410, -|25: 0-0 d,#608269, 1-99 d,#0d1410, -|26: 0-1 d,#add38a, 2-33 #becfc4,#314738, 34-43 #dfbce5,#314738, 44-99 #becfc4,#314738, -|27: 0-0 d,#e5eee5, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-16 #e5eee5,#0d1410, 17-21 #f5f7ee,#3c614a, 22-22 #f5f7ee,#0d1410, 23-24 #e5eee5,#0d1410, 25-29 #c9a7ed,#0d1410, 30-99 #e5eee5,#0d1410, +|25: 0-1 d,#add38a, 2-33 #becfc4,#314738, 34-43 #dfbce5,#314738, 44-99 #becfc4,#314738, +|26: 0-0 d,#e5eee5, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-16 #e5eee5,#0d1410, 17-21 #f5f7ee,#3c614a, 22-22 #f5f7ee,#0d1410, 23-24 #e5eee5,#0d1410, 25-29 #c9a7ed,#0d1410, 30-99 #e5eee5,#0d1410, +|27: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, |28: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|29: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|30: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|31: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|29: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|30: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|31: 0-0 d,#608269, 1-99 d,#0d1410, |32: 0-0 d,#608269, 1-99 d,#0d1410, |33: 0-0 d,#608269, 1-99 d,#0d1410, -|34: 0-0 d,#608269, 1-99 d,#0d1410, -== snap subrow grid=100x35 cursor=2,21 +|34: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, +== snap subrow grid=100x35 cursor=2,20 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/lsprelpath/cwd/sub/subdir.zig Save Term Collapse Follow TreeContext Def Refs Del -| 1 const tint = @import("inner/ti --:--:-- lsp zls ready — /tmp/pardes-snap/lsprelpath/cwd/sub +| 1 const tint = @import("inner/tint.zig"); | 2 | 3 pub fn hue(t: tint.Tint) u8 { | 4 return switch (t) { @@ -88,7 +95,6 @@ | | | -| | +Search 2/2 Del | Refs | inner/tint.zig @@ -101,16 +107,24 @@ | | /tmp/pardes-snap/lsprelpath/cwd/sub/+Preview Del | 1 -== snap sublook grid=100x35 cursor=20,28 -|3: 1 const tint = @import("inner/tint.zig"); -|16: +Search 1/2 Save Undock Del -|26: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig Save Term Collapse Follow TreeContext Def Refs -|27: Del -|28: 1 pub const Tint = enum { -|29: 2 ochre, -|30: 3 indigo, -|31: 4 }; -|32: ~ +| +| +| +| +| +| +| +| /tmp/pardes-snap/lsprelpath/cwd/sub/+Search:5 +== snap sublook grid=100x35 cursor=20,27 +|15: +Search 1/2 Save Undock Del +|25: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig Save Term Collapse Follow TreeContext Def Refs +|26: Del +|27: 1 pub const Tint = enum { +|28: 2 ochre, +|29: 3 indigo, +|30: 4 }; +|31: ~ +|34: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig:1 == style sublook grid=100x35 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -127,24 +141,25 @@ |12: 0-0 d,#608269, 1-99 d,#0d1410, |13: 0-0 d,#608269, 1-99 d,#0d1410, |14: 0-0 d,#608269, 1-99 d,#0d1410, -|15: 0-0 d,#608269, 1-99 d,#0d1410, -|16: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, +|15: 0-1 d,#496656, 2-99 #b2c3b8,#1d2824, +|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |17: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #59675c,#243a2d, 24-33 #e5eee5,#243a2d, 34-37 #f7e4a5,#5e4923, 38-38 #f7e4a5,#243a2d, 39-40 #e5eee5,#243a2d, 41-45 #c9a7ed,#243a2d, 46-99 #e5eee5,#243a2d, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-19 #59675c,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #c9a7ed,#0d1410, 27-38 #e5eee5,#0d1410, 39-42 #f7e4a5,#5e4923, 43-99 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #59675c,#243a2d, 24-33 #e5eee5,#243a2d, 34-37 #f7e4a5,#5e4923, 38-38 #f7e4a5,#243a2d, 39-40 #e5eee5,#243a2d, 41-45 #c9a7ed,#243a2d, 46-99 #e5eee5,#243a2d, +|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-19 #59675c,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #c9a7ed,#0d1410, 27-38 #e5eee5,#0d1410, 39-42 #f7e4a5,#5e4923, 43-99 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-99 d,#0d1410, |22: 0-0 d,#608269, 1-99 d,#0d1410, |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#0d1410, -|25: 0-0 d,#608269, 1-99 d,#0d1410, -|26: 0-1 d,#add38a, 2-43 #becfc4,#314738, 44-52 #dfbce5,#314738, 53-99 #becfc4,#314738, -|27: 0-1 d,#314738, 2-99 #becfc4,#314738, -|28: 0-0 d,#e5eee5, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-16 #e5eee5,#0d1410, 17-20 #f5f7ee,#3c614a, 21-21 #f5f7ee,#0d1410, 22-23 #e5eee5,#0d1410, 24-28 #c9a7ed,#0d1410, 29-99 #e5eee5,#0d1410, +|25: 0-1 d,#add38a, 2-43 #becfc4,#314738, 44-52 #dfbce5,#314738, 53-99 #becfc4,#314738, +|26: 0-1 d,#314738, 2-99 #becfc4,#314738, +|27: 0-0 d,#e5eee5, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-16 #e5eee5,#0d1410, 17-20 #f5f7ee,#3c614a, 21-21 #f5f7ee,#0d1410, 22-23 #e5eee5,#0d1410, 24-28 #c9a7ed,#0d1410, 29-99 #e5eee5,#0d1410, +|28: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, |29: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|30: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|31: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|32: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|30: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|31: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|32: 0-0 d,#608269, 1-99 d,#0d1410, |33: 0-0 d,#608269, 1-99 d,#0d1410, -|34: 0-0 d,#608269, 1-99 d,#0d1410, +|34: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap clicked grid=100x35 cursor=29,5 +|34: /tmp/pardes-snap/lsprelpath/cwd/sub/subdir.zig:3 diff --git a/test/snapshots/markup.golden b/test/snapshots/markup.golden index d4c1cc5b..578546b1 100644 --- a/test/snapshots/markup.golden +++ b/test/snapshots/markup.golden @@ -11,6 +11,19 @@ | 7 fn widget() u8 { return 99; } | 8 ``` | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/markup/cwd/paper.typ:1 == style typst grid=92x25 |0: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-91 #becfc4,#314738, @@ -36,7 +49,7 @@ |21: 0-0 d,#608269, 1-91 d,#0d1410, |22: 0-0 d,#608269, 1-91 d,#0d1410, |23: 0-0 d,#608269, 1-91 d,#0d1410, -|24: 0-0 d,#608269, 1-91 d,#0d1410, +|24: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, == snap markdown grid=92x25 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -49,6 +62,20 @@ | 6 fn gadget() u8 { return 77; } | 7 ``` | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/markup/cwd/notes.md:1 == style markdown grid=92x25 |0: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-91 #becfc4,#314738, @@ -74,4 +101,4 @@ |21: 0-0 d,#608269, 1-91 d,#0d1410, |22: 0-0 d,#608269, 1-91 d,#0d1410, |23: 0-0 d,#608269, 1-91 d,#0d1410, -|24: 0-0 d,#608269, 1-91 d,#0d1410, +|24: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, diff --git a/test/snapshots/mini.golden b/test/snapshots/mini.golden index 105d329c..fb5b440c 100644 --- a/test/snapshots/mini.golden +++ b/test/snapshots/mini.golden @@ -2,18 +2,31 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/mini/cwd/commands.txt Save Term Collapse Follow Del -| 1 @`Mini demo.zig` Mini +| 1 @`Mini demo.zig` | | /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del | 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ | 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ | 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m == style opened grid=90x23 |0: 0-1 d,#1d2824, 2-89 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-89 #becfc4,#314738, |2: 0-1 d,#496656, 2-27 #b2c3b8,#1d2824, 28-40 #d3b0d9,#1d2824, 41-89 #b2c3b8,#1d2824, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-83 #e5eee5,#0d1410, 84-84 #e5eee5,#1d2824, 85-89 #b2c3b8,#1d2824, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-89 d,#0d1410, |5: 0-1 d,#add38a, 2-27 #becfc4,#314738, 28-41 #dfbce5,#314738, 42-89 #becfc4,#314738, |6: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #e5eee5,#0d1410, 9-9 #c9a7ed,#0d1410, 10-12 #e5eee5,#0d1410, 13-15 #c9a7ed,#0d1410, 16-21 #b8d88a,#0d1410, 22-89 #e5eee5,#0d1410, @@ -32,7 +45,7 @@ |19: 0-0 d,#608269, 1-89 d,#0d1410, |20: 0-0 d,#608269, 1-89 d,#0d1410, |21: 0-0 d,#608269, 1-89 d,#0d1410, -|22: 0-0 d,#608269, 1-89 d,#0d1410, +|22: 0-1 d,#1d2824, 2-89 #67756e,#1d2824, == 9p opened grid=90x23 cursor=7,6,block |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit @0: 0-84 #b2c3b8,#1d2824,,tagline 85-89 d,#1d2824,,tagline @@ -40,8 +53,8 @@ @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-89 d,#314738,,tagline |2: /tmp/pardes-snap/mini/cwd/commands.txt Save Term Collapse Follow Del @2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#1d2824,,tagline 28-39 #d3b0d9,#1d2824,,tagline 40-69 #b2c3b8,#1d2824,,tagline 70-89 d,#1d2824,,tagline -|3: 1 @`Mini demo.zig` Mini -@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-22 #e5eee5,#0d1410,,body 23-83 d,#0d1410,,body 84-84 d,#1d2824,,tagline 85-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline +|3: 1 @`Mini demo.zig` +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-22 #e5eee5,#0d1410,,body 23-89 d,#0d1410,,body |4: @4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body |5: /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del @@ -81,13 +94,14 @@ @20: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body |21: @21: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body -|22: -@22: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|22: ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m ++22: 2="✓" 80="·" +@22: 0-1 d,#1d2824,,tagline 2-46 #67756e,#1d2824,,tagline 47-68 #b2c3b8,#1d2824,,tagline 69-88 #67756e,#1d2824,,tagline 89-89 d,#1d2824,,tagline == snap resized grid=105x27 cursor=7,7 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/mini/cwd/commands.txt Save Term Collapse Follow Del -| 1 @`Mini demo.zig` Mini +| 1 @`Mini demo.zig` | | | /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del @@ -95,6 +109,22 @@ | 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ | 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m == 9p resized grid=105x27 cursor=7,7,block |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit @0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline @@ -102,8 +132,8 @@ @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-104 d,#314738,,tagline |2: /tmp/pardes-snap/mini/cwd/commands.txt Save Term Collapse Follow Del @2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#1d2824,,tagline 28-39 #d3b0d9,#1d2824,,tagline 40-69 #b2c3b8,#1d2824,,tagline 70-104 d,#1d2824,,tagline -|3: 1 @`Mini demo.zig` Mini -@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-22 #e5eee5,#0d1410,,body 23-98 d,#0d1410,,body 99-99 d,#1d2824,,tagline 100-103 #b2c3b8,#1d2824,,tagline 104-104 d,#1d2824,,tagline +|3: 1 @`Mini demo.zig` +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-22 #e5eee5,#0d1410,,body 23-104 d,#0d1410,,body |4: @4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |5: @@ -151,5 +181,6 @@ @24: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |25: @25: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body -|26: -@26: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body +|26: ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m ++26: 2="✓" 95="·" +@26: 0-1 d,#1d2824,,tagline 2-46 #67756e,#1d2824,,tagline 47-83 #b2c3b8,#1d2824,,tagline 84-103 #67756e,#1d2824,,tagline 104-104 d,#1d2824,,tagline diff --git a/test/snapshots/modal.golden b/test/snapshots/modal.golden index ef146f1e..2994def1 100644 --- a/test/snapshots/modal.golden +++ b/test/snapshots/modal.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/modal/cwd Term+bash Save Mode F | ilter Collapse Del | ls | words.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/modal/cwd == snap moved grid=100x31 cursor=8,6 == snap xsel grid=100x31 cursor=48,6 == style xsel grid=100x31 @@ -39,11 +49,11 @@ |13: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |14: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |15: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|16: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|17: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -53,7 +63,7 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap xsel2 grid=100x31 cursor=13,7 == snap yanked grid=100x31 cursor=13,7 == snap vsel grid=100x31 cursor=14,8 @@ -61,10 +71,11 @@ |6: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #f5f7ee,#3c614a, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, |7: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #f5f7ee,#3c614a, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, |8: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #f5f7ee,#3c614a, 15-49 #f5f7ee,#0d1410, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, -== snap typed grid=100x31 cursor=9,21 -|21: TYPED -== snap undone grid=100x31 cursor=4,21 -|21: -== snap redone grid=100x31 cursor=9,21 -|21: TYPED -== snap bottom grid=100x31 cursor=2,21 +== snap typed grid=100x31 cursor=9,20 +|20: TYPED +|30: · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program dra 2 messages · SPC h m +== snap undone grid=100x31 cursor=4,20 +|20: +== snap redone grid=100x31 cursor=9,20 +|20: TYPED +== snap bottom grid=100x31 cursor=2,20 diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden index 7f83cacf..4374ca79 100644 --- a/test/snapshots/msg.golden +++ b/test/snapshots/msg.golden @@ -9,47 +9,57 @@ | 5 line 5 | 6 line 6 | ~ +| +| +| +| +| /tmp/pardes-snap/msg/cwd/a.txt:1 == snap saved grid=70x15 cursor=7,3 -|3: 1 line 1 --:--:-- saved /tmp/pardes-snap/msg/cwd/a.txt +|14: · saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m == snap repainted grid=70x17 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/msg/cwd/a.txt Save Term Collapse Follow Del -| 1 line 1 --:--:-- saved /tmp/pardes-snap/msg/cwd/a.txt +| 1 line 1 | 2 line 2 | 3 line 3 | 4 line 4 | 5 line 5 | 6 line 6 | ~ +| +| +| +| +| +| +| · saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m == snap keycleared grid=70x17 cursor=7,4 -|3: 1 line 1 == snap saved-again grid=70x17 cursor=7,4 -|3: 1 line 1 --:--:-- saved /tmp/pardes-snap/msg/cwd/a.txt +|16: · saved /tmp/pardes-snap/msg/cwd/a.txt 4 messages · SPC h m == snap mousecleared grid=70x17 cursor=7,4 -|3: 1 line 1 == snap reloaded grid=70x17 cursor=7,4 -|3: 1 EXTERNAL --:--:-- reloaded /tmp/pardes-snap/msg/cwd/a.txt +|3: 1 EXTERNAL |4: ~ |5: |6: |7: |8: |9: +|16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt 5 messages · SPC h m == snap prompt grid=70x17 cursor=69,3 |3: 1 EXTERNAL Select /EXT -== snap prompt-wins grid=70x17 cursor=69,4 -|3: 1 AGAIN --:--:-- reloaded /tmp/pardes-snap/msg/cwd/a.txt -|4: ~ Select /EXT +== snap prompt-wins grid=70x17 cursor=69,3 +|3: 1 AGAIN Select /EXT +|16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt ×2 5 messages · SPC h m == snap esc grid=70x17 cursor=7,4 |3: 1 AGAIN -|4: ~ == snap msgbuiltin grid=70x17 cursor=29,5 |2: */tmp/pardes-snap/msg/cwd/a.txt Save Term Collapse Follow Del -|3: 1 AGAIN hand-written report |4: 2 |5: 3 Msg hand-written report +|16: · /tmp/pardes-snap/msg/cwd/a.txt hand-written 7 messages · SPC h m == snap msgtail grid=70x17 cursor=32,7 -|3: 6789 0123456789 0123456789 0123456789 0123456789 0123456789 THE-END |6: 4 Msg 0123456789 0123456789 0123456789 0123456789 0123456789 012↩ |7: 3456789 0123456789 THE-END +|16: · /tmp/pardes-snap/msg/cwd/a.txt 0123456789 01 9 messages · SPC h m diff --git a/test/snapshots/multicursor.golden b/test/snapshots/multicursor.golden index b73f9c4e..9f0a96fe 100644 --- a/test/snapshots/multicursor.golden +++ b/test/snapshots/multicursor.golden @@ -1,10 +1,24 @@ -== snap three-cursors grid=150x31 cursor=7,9 +== snap three-cursors grid=150x31 cursor=7,23 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del | ls ls | f.txt f.txt | +| +| +| f.txt +| +| +| +| +| +| +| +| /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del +| ls +| f.txt +| | /tmp/pardes-snap/multicursor/cwd/f.txt Save Term Collapse Follow Del | 1 line 1 | 2 line 2 @@ -15,10 +29,7 @@ | 7 line 7 | 8 line 8 | 9 line 9 -| 10 line 10 -| /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del -| ls -| f.txt +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == style three-cursors grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #becfc4,#314738, 75-76 #becfc4,#887455, 77-149 #b2c3b8,#1d2824, @@ -26,43 +37,43 @@ |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|6: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #3c614a,#f5f7ee, 8-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #3c614a,#f5f7ee, 8-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|14: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|15: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|6: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|7: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|8: 0-0 d,#608269, 1-3 d,#0d1410, 4-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|10: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|11: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|12: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|13: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|14: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|15: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|16: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -== snap edited-at-three grid=150x31 cursor=9,9 -|6: */tmp/pardes-snap/multicursor/cwd/f.txt Save Term Collapse Follow Del -|7: 1 >>line 1 -|8: 2 >>line 2 -|9: 3 >>line 3 -== snap three-selections grid=150x31 cursor=8,9 +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|20: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #3c614a,#f5f7ee, 8-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #3c614a,#f5f7ee, 8-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|25: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|27: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|28: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|29: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, +== snap edited-at-three grid=150x31 cursor=9,23 +|20: */tmp/pardes-snap/multicursor/cwd/f.txt Save Term Collapse Follow Del +|21: 1 >>line 1 +|22: 2 >>line 2 +|23: 3 >>line 3 +== snap three-selections grid=150x31 cursor=8,23 == style three-selections grid=150x31 -|6: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-34 #becfc4,#314738, 35-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #f5f7ee,#243a2d, 8-8 #3c614a,#f5f7ee, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #f5f7ee,#243a2d, 8-8 #3c614a,#f5f7ee, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #f5f7ee,#3c614a, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -== snap keep-primary grid=150x31 cursor=8,9 +|20: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-34 #becfc4,#314738, 35-40 #dfbce5,#314738, 41-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #f5f7ee,#243a2d, 8-8 #3c614a,#f5f7ee, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #f5f7ee,#243a2d, 8-8 #3c614a,#f5f7ee, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #f5f7ee,#3c614a, 9-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +== snap keep-primary grid=150x31 cursor=8,23 == style keep-primary grid=150x31 -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, diff --git a/test/snapshots/nested-optout.golden b/test/snapshots/nested-optout.golden index 914c400d..c249d828 100644 --- a/test/snapshots/nested-optout.golden +++ b/test/snapshots/nested-optout.golden @@ -19,9 +19,17 @@ | | | -| +| /tmp/pardes-snap/nested-optout/cwd/nested.txt:1 | /tmp/pardes-snap/nested-optout/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/nested-optout/cwd == snap inner-shell grid=100x31 cursor=6,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -38,17 +46,26 @@ | | | -| | /tmp/pardes-snap/nested-optout/cwd/innerdir/+New Save Term Collapse Follow Del | 1 | | | +| /tmp/pardes-snap/nested-optout/cwd/innerdir | /tmp/pardes-snap/nested-optout/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/nested-optout/cwd == snap inner-launch grid=100x31 cursor=11,9 |6: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit |7: New Term Find Grep Joincol Delcol |8: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt Save Term Collapse Follow Del |9: 1 deepest-marker |10: ~ +|14: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt:1 diff --git a/test/snapshots/nested.golden b/test/snapshots/nested.golden index ec0fcf1f..f49cdb3e 100644 --- a/test/snapshots/nested.golden +++ b/test/snapshots/nested.golden @@ -22,6 +22,14 @@ | | /tmp/pardes-snap/nested/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/nested/cwd/nested.txt:1 == snap no-arg grid=100x31 cursor=4,7 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -46,6 +54,14 @@ | | /tmp/pardes-snap/nested/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/nested/cwd == snap dir-arg grid=100x31 cursor=7,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -70,3 +86,11 @@ | | /tmp/pardes-snap/nested/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/nested/cwd/nestdir/:1 diff --git a/test/snapshots/ninep.golden b/test/snapshots/ninep.golden index 66a36c9f..d6b86629 100644 --- a/test/snapshots/ninep.golden +++ b/test/snapshots/ninep.golden @@ -9,6 +9,11 @@ | 5 return 7; | 6 } | ~ +| +| +| +| +| /tmp/pardes-snap/ninep/cwd/demo.zig:1 == style opened grid=90x15 |0: 0-1 d,#1d2824, 2-89 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-89 #becfc4,#314738, @@ -24,7 +29,7 @@ |11: 0-0 d,#608269, 1-89 d,#0d1410, |12: 0-0 d,#608269, 1-89 d,#0d1410, |13: 0-0 d,#608269, 1-89 d,#0d1410, -|14: 0-0 d,#608269, 1-89 d,#0d1410, +|14: 0-1 d,#1d2824, 2-89 #b2c3b8,#1d2824, == 9p opened grid=90x15 cursor=7,3,block |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit @0: 0-84 #b2c3b8,#1d2824,,tagline 85-89 d,#1d2824,,tagline @@ -55,8 +60,8 @@ @12: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body |13: @13: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body -|14: -@14: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|14: /tmp/pardes-snap/ninep/cwd/demo.zig:1 +@14: 0-1 d,#1d2824,,tagline 2-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline == snap edited grid=90x15 cursor=7,4 |2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Term Collapse Follow TreeContext Def Refs Del |3: 1 // café λ 界 @@ -67,6 +72,7 @@ |8: 6 return 7; |9: 7 } |10: ~ +|14: /tmp/pardes-snap/ninep/cwd/demo.zig:2 == 9p edited grid=90x15 cursor=7,4,block |2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Term Collapse Follow TreeContext Def Refs Del @2: 0-0 #000000,#add38a,,tagline 1-1 #000000,#f9cb70,b,tagline 2-28 #becfc4,#314738,,tagline 29-36 #dfbce5,#314738,,tagline 37-87 #becfc4,#314738,,tagline 88-89 d,#314738,,tagline @@ -88,6 +94,8 @@ @9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-7 #e5eee5,#0d1410,,body 8-89 d,#0d1410,,body |10: ~ @10: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|14: /tmp/pardes-snap/ninep/cwd/demo.zig:2 +@14: 0-1 d,#1d2824,,tagline 2-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline == style edited grid=90x15 |2: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-28 #becfc4,#314738, 29-37 #dfbce5,#314738, 38-89 #becfc4,#314738, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #b9f480,#0d1410, 18-18 d,d, 19-89 d,#0d1410, @@ -118,7 +126,7 @@ |16: 0-0 d,#608269, 1-104 d,#0d1410, |17: 0-0 d,#608269, 1-104 d,#0d1410, |18: 0-0 d,#608269, 1-104 d,#0d1410, -|19: 0-0 d,#608269, 1-104 d,#0d1410, +|19: 0-1 d,#1d2824, 2-104 #b2c3b8,#1d2824, == 9p resized grid=105x20 cursor=7,4,block |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit @0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline @@ -160,8 +168,8 @@ @17: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |18: @18: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body -|19: -@19: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body +|19: /tmp/pardes-snap/ninep/cwd/demo.zig:2 +@19: 0-1 d,#1d2824,,tagline 2-103 #b2c3b8,#1d2824,,tagline 104-104 d,#1d2824,,tagline == snap resized grid=105x20 cursor=7,4 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -174,4 +182,13 @@ | 6 return 7; | 7 } | ~ +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ninep/cwd/demo.zig:2 == 9p unchanged grid=105x20 cursor=7,4,block diff --git a/test/snapshots/pagercolor.golden b/test/snapshots/pagercolor.golden index 4db82eea..d15c680d 100644 --- a/test/snapshots/pagercolor.golden +++ b/test/snapshots/pagercolor.golden @@ -32,7 +32,6 @@ | | | -| | /tmp/pardes-snap/pagercolor/cwd/+New Save Term Collapse Follow Del | 1 | @@ -43,6 +42,13 @@ | | /tmp/pardes-snap/pagercolor/cwd/+Pager Save Term Filter Collapse Del | red bold green rgb ul NAME us plain +| +| +| +| +| +| +| /tmp/pardes-snap/pagercolor/cwd == style pager-colours grid=100x50 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -77,23 +83,23 @@ |30: 0-0 d,#608269, 1-99 d,#0d1410, |31: 0-0 d,#608269, 1-99 d,#0d1410, |32: 0-0 d,#608269, 1-99 d,#0d1410, -|33: 0-0 d,#608269, 1-99 d,#0d1410, -|34: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, -|35: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|33: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, +|34: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|35: 0-0 d,#608269, 1-99 d,#0d1410, |36: 0-0 d,#608269, 1-99 d,#0d1410, |37: 0-0 d,#608269, 1-99 d,#0d1410, |38: 0-0 d,#608269, 1-99 d,#0d1410, |39: 0-0 d,#608269, 1-99 d,#0d1410, |40: 0-0 d,#608269, 1-99 d,#0d1410, -|41: 0-0 d,#608269, 1-99 d,#0d1410, -|42: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-40 #d3b0d9,#1d2824, 41-99 #b2c3b8,#1d2824, -|43: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #f1a39b,#0d1410, 6-15 #b6ce94,#0d1410,b 16-16 #b6ce94,#0d1410, 17-20 #c5917e,#0d1410, 21-22 #e5eee5,#0d1410,u 23-23 #e5eee5,#0d1410, 24-27 #e5eee5,#0d1410,b 28-28 #e5eee5,#0d1410, 29-30 #e5eee5,#0d1410,u 31-99 #e5eee5,#0d1410, +|41: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-40 #d3b0d9,#1d2824, 41-99 #b2c3b8,#1d2824, +|42: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #f1a39b,#0d1410, 6-15 #b6ce94,#0d1410,b 16-16 #b6ce94,#0d1410, 17-20 #c5917e,#0d1410, 21-22 #e5eee5,#0d1410,u 23-23 #e5eee5,#0d1410, 24-27 #e5eee5,#0d1410,b 28-28 #e5eee5,#0d1410, 29-30 #e5eee5,#0d1410,u 31-99 #e5eee5,#0d1410, +|43: 0-0 d,#608269, 1-99 d,#0d1410, |44: 0-0 d,#608269, 1-99 d,#0d1410, |45: 0-0 d,#608269, 1-99 d,#0d1410, |46: 0-0 d,#608269, 1-99 d,#0d1410, |47: 0-0 d,#608269, 1-99 d,#0d1410, |48: 0-0 d,#608269, 1-99 d,#0d1410, -|49: 0-0 d,#608269, 1-99 d,#0d1410, +|49: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap pager-diff grid=100x50 cursor=4,8 |5: $ printf '\033[33mcommit 0123\033[33mabc\033[m\n\033[1mdiff --git a/x b/x\033[m\n\033[1m--- a/x\03 |6: 3[m\n\033[1m+++ b/x\033[m\n\033[36m@@ -1 +1 @@\033[m\n\033[31m-old\033[m\n\033[32m+new\033[m\n' | @@ -104,14 +110,14 @@ |11: x:1 |12: -old |13: +new +|33: |34: -|35: -|38: /tmp/pardes-snap/pagercolor/cwd/+New Save Term Collapse Follow Del -|39: 1 +|37: /tmp/pardes-snap/pagercolor/cwd/+New Save Term Collapse Follow Del +|38: 1 +|41: |42: -|43: -|46: /tmp/pardes-snap/pagercolor/cwd/+Pager Save Term Filter Collapse Del -|47: red bold green rgb ul NAME us plain +|45: /tmp/pardes-snap/pagercolor/cwd/+Pager Save Term Filter Collapse Del +|46: red bold green rgb ul NAME us plain == style pager-diff-colours grid=100x50 |6: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, @@ -121,11 +127,11 @@ |11: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, |12: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #f1a39b,#1a1d18,b 3-99 #f8c082,#1a1d18, |13: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#171f18,b 3-99 #b8d88a,#171f18, +|33: 0-0 d,#608269, 1-99 d,#0d1410, |34: 0-0 d,#608269, 1-99 d,#0d1410, -|35: 0-0 d,#608269, 1-99 d,#0d1410, -|38: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, -|39: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|37: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, +|38: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|41: 0-0 d,#608269, 1-99 d,#0d1410, |42: 0-0 d,#608269, 1-99 d,#0d1410, -|43: 0-0 d,#608269, 1-99 d,#0d1410, -|46: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-40 #d3b0d9,#1d2824, 41-99 #b2c3b8,#1d2824, -|47: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #f1a39b,#0d1410, 6-15 #b6ce94,#0d1410,b 16-16 #b6ce94,#0d1410, 17-20 #c5917e,#0d1410, 21-22 #e5eee5,#0d1410,u 23-23 #e5eee5,#0d1410, 24-27 #e5eee5,#0d1410,b 28-28 #e5eee5,#0d1410, 29-30 #e5eee5,#0d1410,u 31-99 #e5eee5,#0d1410, +|45: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-40 #d3b0d9,#1d2824, 41-99 #b2c3b8,#1d2824, +|46: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #f1a39b,#0d1410, 6-15 #b6ce94,#0d1410,b 16-16 #b6ce94,#0d1410, 17-20 #c5917e,#0d1410, 21-22 #e5eee5,#0d1410,u 23-23 #e5eee5,#0d1410, 24-27 #e5eee5,#0d1410,b 28-28 #e5eee5,#0d1410, 29-30 #e5eee5,#0d1410,u 31-99 #e5eee5,#0d1410, diff --git a/test/snapshots/pipe.golden b/test/snapshots/pipe.golden index 618a3019..d8d10bbb 100644 --- a/test/snapshots/pipe.golden +++ b/test/snapshots/pipe.golden @@ -4,6 +4,14 @@ | /tmp/pardes-snap/pipe/cwd/pipe.txt Save Term Collapse Follow Del | 1 alpha beta |tr a-z A-Z | 2 gamma delta +| +| +| +| +| +| +| +| /tmp/pardes-snap/pipe/cwd/pipe.txt:1 == snap filtered grid=180x13 cursor=17,3 |2: */tmp/pardes-snap/pipe/cwd/pipe.txt Save Term Collapse Follow Del |3: 1 ALPHA BETA diff --git a/test/snapshots/psearch.golden b/test/snapshots/psearch.golden index 380324d5..d7ca8a95 100644 --- a/test/snapshots/psearch.golden +++ b/test/snapshots/psearch.golden @@ -22,6 +22,14 @@ | | /tmp/pardes-snap/psearch/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/psearch/cwd == snap typing grid=140x31 cursor=139,3 |3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' /MARK == snap results grid=140x31 cursor=7,4 @@ -65,16 +73,18 @@ |27: 0-0 d,#608269, 1-139 d,#0d1410, |28: 0-0 d,#608269, 1-139 d,#0d1410, |29: 0-0 d,#608269, 1-139 d,#0d1410, -|30: 0-0 d,#608269, 1-139 d,#0d1410, +|30: 0-1 d,#1d2824, 2-139 #b2c3b8,#1d2824, == snap second grid=140x31 cursor=7,6 == snap back grid=140x31 cursor=7,4 == snap nomatch grid=140x31 cursor=7,13 |24: /tmp/pardes-snap/psearch/cwd/+Search Save Term Collapse Follow LocationsConfig Del |25: 1 +|30: /tmp/pardes-snap/psearch/cwd/+Search:3 == snap ttyinert grid=140x31 cursor=4,9 |2: $ /tmp/pardes-snap/psearch/cwd Term+bash Save Mode Filter Collapse Del |3: $ printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' |9: $ +|30: /tmp/pardes-snap/psearch/cwd == snap rightsearch grid=140x31 cursor=7,6 |2: /tmp/pardes-snap/psearch/cwd Term+bash Save Mode Filter Collapse Del |3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' diff --git a/test/snapshots/reflow.golden b/test/snapshots/reflow.golden index 869ee73c..6d2945d2 100644 --- a/test/snapshots/reflow.golden +++ b/test/snapshots/reflow.golden @@ -18,3 +18,9 @@ | $ | /tmp/pardes-snap/reflow/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| /tmp/pardes-snap/reflow/cwd diff --git a/test/snapshots/respawn.golden b/test/snapshots/respawn.golden index c693fcbd..51c7d820 100644 --- a/test/snapshots/respawn.golden +++ b/test/snapshots/respawn.golden @@ -1,4 +1,4 @@ -== snap respawn grid=140x31 cursor=4,9 +== snap respawn grid=140x32 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/respawn/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/respawn/cwd Term+bash Save Mode Filter Collapse Del @@ -9,3 +9,25 @@ | $ echo RESP''AWNOK | RESPAWNOK | $ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p2 Del 2 messages · SPC h m diff --git a/test/snapshots/restore.golden b/test/snapshots/restore.golden index 9623edf8..ce49c4ee 100644 --- a/test/snapshots/restore.golden +++ b/test/snapshots/restore.golden @@ -2,10 +2,34 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit Restore /tmp/p | New Term Find Grep Joincol Delcol |$ /tmp/pardes-snap/restore/cwd Term+bash Save Mode Filter Collapse Del -| $ ls Dump +| $ ls | $ echo KEEP''ME | KEEPME | $ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p1 Dump 1 message · SPC h m == snap restored grid=100x31 cursor=4,8 |7: ── restored history ── |8: $ diff --git a/test/snapshots/savepane.golden b/test/snapshots/savepane.golden index bb9df3a9..5e47d00f 100644 --- a/test/snapshots/savepane.golden +++ b/test/snapshots/savepane.golden @@ -1,4 +1,4 @@ -== snap scratch grid=100x31 cursor=20,18 +== snap scratch grid=100x31 cursor=20,17 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/savepane/cwd Term+bash Save Mode Filter Collapse Del @@ -15,16 +15,28 @@ | | | -| | */tmp/pardes-snap/savepane/cwd/+New Save Term Collapse Follow Del | 1 scratch bytes -== snap prompt grid=100x31 cursor=99,19 -|18: 1 scratch bytes Save -|19: Save /tmp/pardes-snap/savepane/cwd/ -== snap saved grid=100x31 cursor=20,18 -|17: /tmp/pardes-snap/savepane/cwd/saved.txt Save Term Collapse Follow Del -|18: 1 scratch bytes --:--:-- saved /tmp/pardes-snap/savepane/cwd/saved.txt -|19: +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p1 New 1 message · SPC h m +== snap prompt grid=100x31 cursor=99,17 +|17: 1 scratch bytes Save /tmp/pardes-snap/savepane/cwd/ +|30: ✓ /tmp/pardes-snap/savepane/cwd/+New Save 2 messages · SPC h m +== snap saved grid=100x31 cursor=20,17 +|16: /tmp/pardes-snap/savepane/cwd/saved.txt Save Term Collapse Follow Del +|17: 1 scratch bytes +|30: · /tmp/pardes-snap/savepane/cwd/+New saved /tmp/pardes-snap/savepane/cwd/sav 3 messages · SPC h m == file bytes scratch bytes == end file diff --git a/test/snapshots/scroll.golden b/test/snapshots/scroll.golden index 242c7fc4..2125f0e9 100644 --- a/test/snapshots/scroll.golden +++ b/test/snapshots/scroll.golden @@ -1,11 +1,10 @@ -== snap bottom grid=100x31 cursor=4,16 +== snap bottom grid=100x31 cursor=4,15 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/scroll/cwd Term+bash Save Mode /tmp/pardes-snap/scroll/cwd Term+bash Save Mode | Filter Collapse Del Filter Collapse Del -| 189 ls -| 190 s.txt -| 191 +| 190 ls +| 191 s.txt | 192 | 193 | 194 @@ -20,49 +19,44 @@ | Filter Collapse Del | ls | s.txt -== snap wheel3 grid=100x31 cursor=4,16 -|4: 186 ls -|5: 187 s.txt -|6: 188 -|7: 189 -|8: 190 -|9: 191 -|10: 192 -|11: 193 -|12: 194 -|13: 195 -|14: 196 -|15: 197 -|16: 198 -== snap gutter-up grid=100x31 cursor=4,16 -|4: 179 ls -|5: 180 s.txt -|6: 181 -|7: 182 -|8: 183 -|9: 184 -|10: 185 -|11: 186 -|12: 187 -|13: 188 -|14: 189 -|15: 190 -|16: 191 -== snap gutter-down grid=100x31 cursor=4,16 -|4: 181 ls -|5: 182 s.txt -|6: 183 -|7: 184 -|8: 185 -|9: 186 -|10: 187 -|11: 188 -|12: 189 -|13: 190 -|14: 191 -|15: 192 -|16: 193 -== snap wheel-down grid=100x31 cursor=4,16 +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/scroll/cwd +== snap wheel3 grid=100x31 cursor=4,15 +|4: 187 ls +|5: 188 s.txt +|6: 189 +|7: 190 +|8: 191 +|9: 192 +|10: 193 +|11: 194 +|12: 195 +|13: 196 +|14: 197 +|15: 198 +== snap gutter-up grid=100x31 cursor=4,15 +|4: 180 ls +|5: 181 s.txt +|6: 182 +|7: 183 +|8: 184 +|9: 185 +|10: 186 +|11: 187 +|12: 188 +|13: 189 +|14: 190 +|15: 191 +== snap gutter-down grid=100x31 cursor=4,15 |4: 182 ls |5: 183 s.txt |6: 184 @@ -75,7 +69,19 @@ |13: 191 |14: 192 |15: 193 -|16: 194 +== snap wheel-down grid=100x31 cursor=4,15 +|4: 183 ls +|5: 184 s.txt +|6: 185 +|7: 186 +|8: 187 +|9: 188 +|10: 189 +|11: 190 +|12: 191 +|13: 192 +|14: 193 +|15: 194 == style wheel-down grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824, @@ -91,13 +97,13 @@ |11: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |12: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |13: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|14: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|16: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|17: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|15: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|16: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -107,4 +113,4 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/scrolloff.golden b/test/snapshots/scrolloff.golden index 3482065a..56330447 100644 --- a/test/snapshots/scrolloff.golden +++ b/test/snapshots/scrolloff.golden @@ -14,9 +14,8 @@ | 6 line 6 | 7 line 7 | 8 line 8 -| 9 line 9 -== snap edge grid=210x16 cursor=7,12 -== snap scrolled1 grid=210x16 cursor=7,12 +| /tmp/pardes-snap/scrolloff/cwd/g.txt:1 +== snap edge grid=210x16 cursor=7,11 |7: 2 line 2 |8: 3 line 3 |9: 4 line 4 @@ -25,27 +24,37 @@ |12: 7 line 7 |13: 8 line 8 |14: 9 line 9 -|15: 10 line 10 -== snap jdown grid=210x16 cursor=7,12 -|7: 6 line 6 -|8: 7 line 7 -|9: 8 line 8 -|10: 9 line 9 -|11: 10 line 10 -|12: 11 line 11 -|13: 12 line 12 -|14: 13 line 13 -|15: 14 line 14 -== snap end grid=210x16 cursor=7,14 -|7: 33 line 33 -|8: 34 line 34 -|9: 35 line 35 -|10: 36 line 36 -|11: 37 line 37 -|12: 38 line 38 -|13: 39 line 39 -|14: 40 line 40 -|15: ~ +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:6 +== snap scrolled1 grid=210x16 cursor=7,11 +|7: 3 line 3 +|8: 4 line 4 +|9: 5 line 5 +|10: 6 line 6 +|11: 7 line 7 +|12: 8 line 8 +|13: 9 line 9 +|14: 10 line 10 +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:7 +== snap jdown grid=210x16 cursor=7,11 +|7: 7 line 7 +|8: 8 line 8 +|9: 9 line 9 +|10: 10 line 10 +|11: 11 line 11 +|12: 12 line 12 +|13: 13 line 13 +|14: 14 line 14 +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:11 +== snap end grid=210x16 cursor=7,13 +|7: 34 line 34 +|8: 35 line 35 +|9: 36 line 36 +|10: 37 line 37 +|11: 38 line 38 +|12: 39 line 39 +|13: 40 line 40 +|14: ~ +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:40 == snap kup grid=210x16 cursor=7,10 |7: 29 line 29 |8: 30 line 30 @@ -55,7 +64,7 @@ |12: 34 line 34 |13: 35 line 35 |14: 36 line 36 -|15: 37 line 37 +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:32 == snap top2 grid=210x16 cursor=7,7 |7: 1 line 1 |8: 2 line 2 @@ -65,4 +74,4 @@ |12: 6 line 6 |13: 7 line 7 |14: 8 line 8 -|15: 9 line 9 +|15: /tmp/pardes-snap/scrolloff/cwd/g.txt:1 diff --git a/test/snapshots/selarg.golden b/test/snapshots/selarg.golden index 54e363ba..16b13303 100644 --- a/test/snapshots/selarg.golden +++ b/test/snapshots/selarg.golden @@ -15,14 +15,26 @@ | | | -| | /tmp/pardes-snap/selarg/cwd Term+bash Save Mode | Filter Collapse Del | ls | s.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/selarg/cwd == snap crosspane grid=100x31 cursor=6,4 |5: ./c.sh ZZARG |6: CHORDARG:ZZARG +|30: ✓ @p3 Exec 1 message · SPC h m == snap vselarg grid=100x31 cursor=12,4 |7: ./c.sh ZZVEE |8: CHORDARG:ZZVEE +|30: ✓ @p3 Exec ×2 1 message · SPC h m diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden index 4e456d99..540a5b33 100644 --- a/test/snapshots/selregex.golden +++ b/test/snapshots/selregex.golden @@ -6,8 +6,27 @@ | 2 const two = 2; | 3 const three = 3; | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/selregex/cwd/m.zig:3 == snap preview grid=160x25 cursor=159,3 |3: 1 const one = 1; Select /const +|24: /tmp/pardes-snap/selregex/cwd/m.zig:1 == style preview grid=160x25 |0: 0-1 d,#1d2824, 2-159 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-159 #becfc4,#314738, @@ -33,7 +52,7 @@ |21: 0-0 d,#608269, 1-159 d,#0d1410, |22: 0-0 d,#608269, 1-159 d,#0d1410, |23: 0-0 d,#608269, 1-159 d,#0d1410, -|24: 0-0 d,#608269, 1-159 d,#0d1410, +|24: 0-1 d,#1d2824, 2-159 #b2c3b8,#1d2824, == snap three-selected grid=160x25 cursor=11,3 |3: 1 const one = 1; == style three-selected grid=160x25 diff --git a/test/snapshots/shellset.golden b/test/snapshots/shellset.golden index e4b233a5..73072bd6 100644 --- a/test/snapshots/shellset.golden +++ b/test/snapshots/shellset.golden @@ -3,8 +3,25 @@ | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/shellset/cwd/cmd.txt Save Term Collapse Follow Del | 1 Shell zznosuchshell +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/shellset/cwd/cmd.txt:1 == snap builtin-ran grid=90x21 cursor=25,3 -|3: Shell: shell "zznosuchshell" not found (a name on the usual paths, or a path to one) +|20: ✗ /tmp/pardes-snap/shellset/cwd/cmd.txt Shell: shell "zznosuchshel 3 messages · SPC h m == snap fallback-shell grid=90x21 cursor=49,6 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/shellset/cwd/cmd.txt Save /tmp/pardes-snap/shellset/cwd Term+bash Sav diff --git a/test/snapshots/shrinktag.golden b/test/snapshots/shrinktag.golden index c8ef1a13..7d57d2b3 100644 --- a/test/snapshots/shrinktag.golden +++ b/test/snapshots/shrinktag.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo | de Filter Collapse Del | ls | w.txt +| +| +| +| +| +| +| +| +| +| +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m == snap shrunk grid=100x31 cursor=hidden |4: w.txt ls |5: w.txt @@ -27,10 +37,10 @@ |7: de Filter Collapse Del |8: ls |9: w.txt +|16: |17: |18: |19: -|20: == snap move-preview grid=100x31 cursor=hidden == snap restored grid=100x31 cursor=4,9 |4: ls ls @@ -48,6 +58,6 @@ |18: |19: |20: -|27: /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -|28: de Filter Collapse Del -|29: w.txt +|26: /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo +|27: de Filter Collapse Del +|28: w.txt diff --git a/test/snapshots/stepgrain.golden b/test/snapshots/stepgrain.golden index 9af17689..deb91993 100644 --- a/test/snapshots/stepgrain.golden +++ b/test/snapshots/stepgrain.golden @@ -1,4 +1,4 @@ -== snap results grid=150x31 cursor=13,13 +== snap results grid=150x31 cursor=13,12 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/stepgrain/cwd/a.txt Save Term Collapse Follow Del @@ -10,7 +10,6 @@ | | | -| |^ +Search 1/3 Del | Grep ZQMARK | a.txt @@ -23,8 +22,16 @@ | | /tmp/pardes-snap/stepgrain/cwd/+Preview Del | 1 -== snap step-row2 grid=150x31 cursor=13,13 -|12: ^ +Search 2/3 Del +| +| +| +| +| +| +| +| ✓ /tmp/pardes-snap/stepgrain/cwd/a.txt Grep 1 message · SPC h m +== snap step-row2 grid=150x31 cursor=13,12 +|11: ^ +Search 2/3 Del == style step-row2 grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-149 #becfc4,#314738, @@ -37,52 +44,53 @@ |8: 0-0 d,#608269, 1-149 d,#0d1410, |9: 0-0 d,#608269, 1-149 d,#0d1410, |10: 0-0 d,#608269, 1-149 d,#0d1410, -|11: 0-0 d,#608269, 1-149 d,#0d1410, -|12: 0-1 #000000,#add38a, 2-149 #becfc4,#314738, +|11: 0-1 #000000,#add38a, 2-149 #becfc4,#314738, +|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, |13: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-20 #e5eee5,#0d1410, 21-26 #f7e4a5,#5e4923, 27-27 #f7e4a5,#0d1410, 28-149 #e5eee5,#0d1410, -|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-37 #e5eee5,#243a2d, 38-43 #f7e4a5,#5e4923, 44-44 #f7e4a5,#243a2d, 45-149 #e5eee5,#243a2d, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-18 #59675c,#0d1410, 19-24 #f7e4a5,#5e4923, 25-25 #f7e4a5,#0d1410, 26-149 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#0d1410, 15-20 #e5eee5,#0d1410, 21-26 #f7e4a5,#5e4923, 27-27 #f7e4a5,#0d1410, 28-149 #e5eee5,#0d1410, +|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-14 #59675c,#243a2d, 15-37 #e5eee5,#243a2d, 38-43 #f7e4a5,#5e4923, 44-44 #f7e4a5,#243a2d, 45-149 #e5eee5,#243a2d, +|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-149 #e5eee5,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-18 #59675c,#0d1410, 19-24 #f7e4a5,#5e4923, 25-25 #f7e4a5,#0d1410, 26-149 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-149 d,#0d1410, |19: 0-0 d,#608269, 1-149 d,#0d1410, |20: 0-0 d,#608269, 1-149 d,#0d1410, -|21: 0-0 d,#608269, 1-149 d,#0d1410, -|22: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-41 #d3b0d9,#1d2824, 42-149 #b2c3b8,#1d2824, -|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-149 #59675c,#0d1410, +|21: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-41 #d3b0d9,#1d2824, 42-149 #b2c3b8,#1d2824, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-149 #59675c,#0d1410, +|23: 0-0 d,#608269, 1-149 d,#0d1410, |24: 0-0 d,#608269, 1-149 d,#0d1410, |25: 0-0 d,#608269, 1-149 d,#0d1410, |26: 0-0 d,#608269, 1-149 d,#0d1410, |27: 0-0 d,#608269, 1-149 d,#0d1410, |28: 0-0 d,#608269, 1-149 d,#0d1410, |29: 0-0 d,#608269, 1-149 d,#0d1410, -|30: 0-0 d,#608269, 1-149 d,#0d1410, -== snap step-row3 grid=150x31 cursor=13,13 -|12: ^ +Search 3/3 Del -|22: /tmp/pardes-snap/stepgrain/cwd/sub/b.txt Del -|23: 1 ZQMARK inside sub -== snap step-wrap grid=150x31 cursor=13,13 -|12: ^ +Search 1/3 Del -== snap blank-in-path grid=150x31 cursor=12,13 -|12: ^ +Search 1/1 Del -|13: Find words -|14: two words.txt +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, +== snap step-row3 grid=150x31 cursor=13,12 +|11: ^ +Search 3/3 Del +|21: /tmp/pardes-snap/stepgrain/cwd/sub/b.txt Del +|22: 1 ZQMARK inside sub +== snap step-wrap grid=150x31 cursor=13,12 +|11: ^ +Search 1/3 Del +== snap blank-in-path grid=150x31 cursor=12,12 +|11: ^ +Search 1/1 Del +|12: Find words +|13: two words.txt +|14: |15: |16: |17: -|18: -|22: /tmp/pardes-snap/stepgrain/cwd/two words.txt Del -|23: 1 +|21: /tmp/pardes-snap/stepgrain/cwd/two words.txt Del +|22: 1 +|30: ✓ /tmp/pardes-snap/stepgrain/cwd/a.txt Find 2 messages · SPC h m == style blank-in-path grid=150x31 |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-149 d,#0d1410, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #e5eee5,#243a2d, 6-10 #f7e4a5,#5e4923,b 11-149 #e5eee5,#243a2d, +|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #e5eee5,#243a2d, 6-10 #f7e4a5,#5e4923,b 11-149 #e5eee5,#243a2d, +|14: 0-0 d,#608269, 1-149 d,#0d1410, |15: 0-0 d,#608269, 1-149 d,#0d1410, |16: 0-0 d,#608269, 1-149 d,#0d1410, |17: 0-0 d,#608269, 1-149 d,#0d1410, -|18: 0-0 d,#608269, 1-149 d,#0d1410, -|22: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-46 #d3b0d9,#1d2824, 47-149 #b2c3b8,#1d2824, -== snap blank-opened grid=150x31 cursor=7,23 -|12: +Search 1/1 Save Undock Del -|22: /tmp/pardes-snap/stepgrain/cwd/two words.txt Save Term Collapse Follow Del +|21: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-46 #d3b0d9,#1d2824, 47-149 #b2c3b8,#1d2824, +== snap blank-opened grid=150x31 cursor=7,22 +|11: +Search 1/1 Save Undock Del +|21: /tmp/pardes-snap/stepgrain/cwd/two words.txt Save Term Collapse Follow Del diff --git a/test/snapshots/syntax.golden b/test/snapshots/syntax.golden index 2cdda6d4..44ad1ade 100644 --- a/test/snapshots/syntax.golden +++ b/test/snapshots/syntax.golden @@ -1,10 +1,24 @@ -== snap zig-open grid=150x31 cursor=7,8 +== snap zig-open grid=150x31 cursor=7,22 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/syntax/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/syntax/cwd Term+bash Save Mode Filter Collapse Del | ls ls | demo.zig demo.zig | +| +| +| demo.zig +| +| +| +| +| +| +| +| /tmp/pardes-snap/syntax/cwd Term+bash Save Mode Filter Collapse Del +| ls +| demo.zig +| | /tmp/pardes-snap/syntax/cwd/demo.zig Save Term Collapse Follow TreeContex | t Def Refs Del | 1 const std = @import("std"); // greet @@ -15,10 +29,7 @@ | | | -| -| /tmp/pardes-snap/syntax/cwd Term+bash Save Mode Filter Collapse Del -| ls -| demo.zig +| · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == style zig-open grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #becfc4,#314738, 75-76 #becfc4,#887455, 77-149 #b2c3b8,#1d2824, @@ -26,28 +37,28 @@ |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|6: 0-1 d,#add38a, 2-29 #becfc4,#314738, 30-38 #dfbce5,#314738, 39-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|7: 0-1 d,#314738, 2-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, -|8: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-18 #e5eee5,#0d1410, 19-25 #c9a7ed,#0d1410, 26-26 #e5eee5,#0d1410, 27-31 #b8d88a,#0d1410, 32-34 #e5eee5,#0d1410, 35-74 #b9f480,#0d1410, 75-75 #b9f480,#608269, 76-149 #b9f480,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-23 #e5eee5,#0d1410, 24-25 #f8c082,#0d1410, 26-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|7: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|8: 0-0 d,#608269, 1-3 d,#0d1410, 4-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|10: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|11: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|12: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |13: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |14: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |15: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|16: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|17: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|20: 0-1 d,#add38a, 2-29 #becfc4,#314738, 30-38 #dfbce5,#314738, 39-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|21: 0-1 d,#314738, 2-74 #becfc4,#314738, 75-75 #becfc4,#608269, 76-149 #becfc4,#0d1410, +|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-18 #e5eee5,#0d1410, 19-25 #c9a7ed,#0d1410, 26-26 #e5eee5,#0d1410, 27-31 #b8d88a,#0d1410, 32-34 #e5eee5,#0d1410, 35-74 #b9f480,#0d1410, 75-75 #b9f480,#608269, 76-149 #b9f480,#0d1410, +|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-23 #e5eee5,#0d1410, 24-25 #f8c082,#0d1410, 26-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|25: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, diff --git a/test/snapshots/tag.golden b/test/snapshots/tag.golden index c14c41b0..b92fff1c 100644 --- a/test/snapshots/tag.golden +++ b/test/snapshots/tag.golden @@ -15,16 +15,28 @@ | | | -| | /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del | ls | t.txt +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tag/cwd == snap tag-typed grid=150x31 cursor=42,2 |2: /tmp/pardes-snap/tag/cwd Term+bash t.txt Save Mode Filter Collapse Del /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del == snap tag-del grid=150x31 cursor=38,2 |2: /tmp/pardes-snap/tag/cwd Term+bash t Save Mode Filter Collapse Del /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del == snap tag-exit grid=150x31 cursor=4,5 |2: /tmp/pardes-snap/tag/cwd Term+bash t.txt Save Mode Filter Collapse Del /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del -== snap tag-look grid=150x31 cursor=7,7 -|6: /tmp/pardes-snap/tag/cwd/t.txt Save Term Collapse Follow Del -|7: 1 ZZLOOKED +== snap tag-look grid=150x31 cursor=7,21 +|20: /tmp/pardes-snap/tag/cwd/t.txt Save Term Collapse Follow Del +|21: 1 ZZLOOKED +|30: /tmp/pardes-snap/tag/cwd/t.txt:1 diff --git a/test/snapshots/tagalign.golden b/test/snapshots/tagalign.golden index b4353a14..7322c962 100644 --- a/test/snapshots/tagalign.golden +++ b/test/snapshots/tagalign.golden @@ -9,6 +9,27 @@ | /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del | ls | deep +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagalign/cwd == snap fits grid=87x31 cursor=4,10 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -20,6 +41,27 @@ | /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del | ls | deep +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagalign/cwd == snap overby1 grid=86x31 cursor=4,10 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -31,6 +73,27 @@ | /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del | ls | deep +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagalign/cwd == snap clicked grid=100x31 cursor=11,2 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol @@ -42,6 +105,27 @@ | /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del | ls | deep +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt:1 == snap revealed grid=70x31 cursor=36,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His | New Term Find Grep Joincol Delcol @@ -54,6 +138,26 @@ | l | ls | deep +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| · /tmp/pardes-snap/tagalign/cwd/deep/nested-pro 1 message · SPC h m == snap alone grid=70x31 cursor=4,6 |2: /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse De |3: l @@ -64,3 +168,4 @@ |8: |9: |10: +|30: ✓ /tmp/pardes-snap/tagalign/cwd/deep/nested-pr 3 messages · SPC h m diff --git a/test/snapshots/tagalign2col.golden b/test/snapshots/tagalign2col.golden index 7492797a..df1f594e 100644 --- a/test/snapshots/tagalign2col.golden +++ b/test/snapshots/tagalign2col.golden @@ -6,6 +6,30 @@ | 1 alpha deep | 2 beta | 3 gamma +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p2 Window 1 message · SPC h m == snap aligned grid=160x31 cursor=4,10 |7: /tmp/pardes-snap/tagalign2col/cwd Term+bash Save Mode Filter Collapse Del |8: ls diff --git a/test/snapshots/tagcmd.golden b/test/snapshots/tagcmd.golden index 0b71f106..2a4af522 100644 --- a/test/snapshots/tagcmd.golden +++ b/test/snapshots/tagcmd.golden @@ -9,11 +9,32 @@ | 5 line 5 | 6 line 6 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagcmd/cwd/c.txt:1 == snap colon grid=100x31 cursor=36,2 == snap word grid=100x31 cursor=40,2 == snap saved grid=100x31 cursor=13,3 |2: /tmp/pardes-snap/tagcmd/cwd/c.txt Save Term Collapse Follow Del -|3: 1 ZZEDITline 1 --:--:-- saved /tmp/pardes-snap/tagcmd/cwd/c.txt +|30: · saved /tmp/pardes-snap/tagcmd/cwd/c.txt 3 messages · SPC h m == file written ZZEDITline 1 line 2 @@ -24,4 +45,3 @@ line 6 == end file == snap escaped grid=100x31 cursor=13,3 -|3: 1 ZZEDITline 1 diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index 748330fd..1039c40a 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -10,32 +10,53 @@ | Filter Collapse Del | ls | w.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p3 Window 2 messages · SPC h m == snap colon grid=100x31 cursor=36,2 == snap word grid=100x31 cursor=40,2 == snap in-tag grid=100x31 cursor=42,2 == snap right grid=100x31 cursor=54,6 +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 3 messages · SPC h m == snap right-tag grid=100x31 cursor=90,2 == snap left-tag grid=100x31 cursor=42,2 +|30: ✓ @p2 Window 4 messages · SPC h m == snap back-to-body grid=100x31 cursor=7,4 == snap tty-on grid=100x31 cursor=54,6 |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll$ /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode |4: 1 alpha $ ls |6: 3 gamma $ +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 5 messages · SPC h m == snap tty-tag grid=100x31 cursor=95,2 == snap tty-restored grid=100x31 cursor=54,6 == snap column-tag grid=100x31 cursor=2,1 |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode -|4: 1 alpha Up ls +|4: 1 alpha ls |6: 3 gamma +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up 8 messages · SPC h m == snap column-word grid=100x31 cursor=5,1 -|4: 1 alpha ls == snap workspace-tag grid=100x31 cursor=2,0 -|4: 1 alpha Up ls +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 8 messages · SPC h m == snap topbar-dollar grid=100x31 cursor=84,0 -|4: 1 alpha ls == snap topbar-dump-word grid=100x31 cursor=53,0 == snap topbar-exec grid=100x31 cursor=7,4 -|4: 1 alpha Themes ls |12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co |13: llapse Follow Del |14: 1 # Pardes themes @@ -54,14 +75,14 @@ |27: 14 Theme forge_black |28: 15 Theme forge_soft |29: 16 Theme orchard_black -|30: 17 Theme acme +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Themes 10 messages · SPC h m == snap topbar-restore-word grid=100x31 cursor=75,0 -|4: 1 alpha ls +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 12 messages · SPC h m == snap topbar-restored grid=100x31 cursor=7,4 |1: New Term Find Grep Joincol Delcol New Term F╭────────────────────────────────────╮ |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll /tmp/parde│pardes resizes=1 │ |3: apse Follow Del Filter Col│theme orchard │ -|4: 1 alpha Debug ls │font default │ +|4: 1 alpha ls │font default │ |5: 2 beta w.txt │terms 4 cols 2 │ |6: 3 gamma │active #0 48x3 │ |7: /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode │scroll 0/3 │ @@ -71,3 +92,4 @@ |11: │ │ |12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co │ │ |13: llapse Follow Del ╰────────────────────────────────────╯ +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Debug 14 messages · SPC h m diff --git a/test/snapshots/tagpath.golden b/test/snapshots/tagpath.golden index e9a6234f..166188c4 100644 --- a/test/snapshots/tagpath.golden +++ b/test/snapshots/tagpath.golden @@ -7,6 +7,29 @@ | 3 line 3 | 4 line 4 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tagpath/cwd/c.txt:1 == snap colon grid=100x31 cursor=37,2 == snap col0 grid=100x31 cursor=2,2 == snap sel-path grid=100x31 cursor=35,2 @@ -41,7 +64,7 @@ |27: 0-0 d,#608269, 1-99 d,#0d1410, |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, -|30: 0-0 d,#608269, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap yanked-path grid=100x31 cursor=41,3 |2: */tmp/pardes-snap/tagpath/cwd/c.txt Save Term Collapse Follow Del |3: 1 l/tmp/pardes-snap/tagpath/cwd/c.txtine 1 @@ -51,7 +74,9 @@ |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #e5eee5,#0d1410, 8-41 #f5f7ee,#3c614a, 42-99 #e5eee5,#0d1410, == snap name-draft grid=100x31 cursor=10,2 |2: */renamed/tmp/pardes-snap/tagpath/cwd/c.txt Save Term Collapse Follow Del +|30: ✓ /tmp/pardes-snap/tagpath/cwd/c.txt Last 1 message · SPC h m == snap name-cancelled grid=100x31 cursor=41,3 |2: */tmp/pardes-snap/tagpath/cwd/c.txt Save Term Collapse Follow Del +|30: · /tmp/pardes-snap/tagpath/cwd/c.txt name drafted: Enter renames the buffer, 2 messages · SPC h m == snap name-committed grid=100x31 cursor=41,3 |2: */renamed/tmp/pardes-snap/tagpath/cwd/c.txt Save Term Collapse Follow Del diff --git a/test/snapshots/theme.golden b/test/snapshots/theme.golden index e293dc19..0722d2e6 100644 --- a/test/snapshots/theme.golden +++ b/test/snapshots/theme.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/theme/cwd Term+bash Save Mode F | ilter Collapse Del | ls | t.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/theme/cwd == style orchard grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824, @@ -37,11 +47,11 @@ |13: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |14: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |15: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|16: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|17: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -51,15 +61,15 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap dusk grid=100x31 cursor=4,6 -|4: ls NextColor ls +|30: ✓ @p1 NextColor 1 message · SPC h m == style dusk grid=100x31 |0: 0-1 d,#2c2630, 2-85 #c6b6c5,#2c2630, 86-94 #fff0eb,#654053, 95-99 #fff0eb,#2c2630, |1: 0-1 d,#757a5f, 2-49 #d2c2d1,#533d4d, 50-51 #d2c2d1,#757a5f, 52-99 #c6b6c5,#2c2630, |2: 0-1 d,#edb092, 2-28 #d2c2d1,#533d4d, 29-38 #a1d5c4,#533d4d, 39-49 #d2c2d1,#533d4d, 50-51 #d2c2d1,#745469, 52-78 #c6b6c5,#2c2630, 79-88 #96c9b8,#2c2630, 89-99 #c6b6c5,#2c2630, |3: 0-1 d,#533d4d, 2-49 #d2c2d1,#533d4d, 50-51 #d2c2d1,#2c2630, 52-99 #c6b6c5,#2c2630, -|4: 0-0 d,#8e667c, 1-1 d,#39323b, 2-38 #c3b6c1,#39323b, 39-39 #c3b6c1,#2c2630, 40-49 #c6b6c5,#2c2630, 50-50 #c6b6c5,#8e667c, 51-51 #c6b6c5,#39323b, 52-99 #c3b6c1,#39323b, +|4: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#39323b, |5: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#39323b, |6: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |7: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, @@ -71,11 +81,11 @@ |13: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |14: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |15: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, -|16: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, -|17: 0-1 d,#745469, 2-28 #c6b6c5,#2c2630, 29-38 #96c9b8,#2c2630, 39-49 #c6b6c5,#2c2630, 50-50 #c6b6c5,#8e667c, 51-99 #c6b6c5,#39323b, -|18: 0-1 d,#2c2630, 2-49 #c6b6c5,#2c2630, 50-50 #c6b6c5,#8e667c, 51-99 #c6b6c5,#39323b, +|16: 0-1 d,#745469, 2-28 #c6b6c5,#2c2630, 29-38 #96c9b8,#2c2630, 39-49 #c6b6c5,#2c2630, 50-50 #c6b6c5,#8e667c, 51-99 #c6b6c5,#39323b, +|17: 0-1 d,#2c2630, 2-49 #c6b6c5,#2c2630, 50-50 #c6b6c5,#8e667c, 51-99 #c6b6c5,#39323b, +|18: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#39323b, |19: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#39323b, -|20: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#39323b, +|20: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |21: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |22: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |23: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, @@ -85,14 +95,15 @@ |27: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |28: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, |29: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, -|30: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, +|30: 0-1 d,#2c2630, 2-99 #796e7a,#2c2630, == snap ink grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×2 1 message · SPC h m == style ink grid=100x31 |0: 0-1 d,#15212c, 2-85 #d5e4f1,#15212c, 86-94 #ffffff,#1b547c, 95-99 #ffffff,#15212c, |1: 0-1 d,#8f7d5b, 2-49 #e1eef9,#2b4051, 50-51 #e1eef9,#8f7d5b, 52-99 #d5e4f1,#15212c, |2: 0-1 d,#86d8ff, 2-28 #e1eef9,#2b4051, 29-38 #ffeab8,#2b4051, 39-49 #e1eef9,#2b4051, 50-51 #e1eef9,#5f7990, 52-78 #d5e4f1,#15212c, 79-88 #f5e0ac,#15212c, 89-99 #d5e4f1,#15212c, |3: 0-1 d,#2b4051, 2-49 #e1eef9,#2b4051, 50-51 #e1eef9,#15212c, 52-99 #d5e4f1,#15212c, -|4: 0-0 d,#86a8c2, 1-1 d,#000000, 2-38 #f3f7fc,#000000, 39-39 #f3f7fc,#15212c, 40-49 #d5e4f1,#15212c, 50-50 #d5e4f1,#86a8c2, 51-51 #d5e4f1,#000000, 52-99 #f3f7fc,#000000, +|4: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#000000, |5: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#000000, |6: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |7: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, @@ -104,11 +115,11 @@ |13: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |14: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |15: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, -|16: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, -|17: 0-1 d,#5f7990, 2-28 #d5e4f1,#15212c, 29-38 #f5e0ac,#15212c, 39-49 #d5e4f1,#15212c, 50-50 #d5e4f1,#86a8c2, 51-99 #d5e4f1,#000000, -|18: 0-1 d,#15212c, 2-49 #d5e4f1,#15212c, 50-50 #d5e4f1,#86a8c2, 51-99 #d5e4f1,#000000, +|16: 0-1 d,#5f7990, 2-28 #d5e4f1,#15212c, 29-38 #f5e0ac,#15212c, 39-49 #d5e4f1,#15212c, 50-50 #d5e4f1,#86a8c2, 51-99 #d5e4f1,#000000, +|17: 0-1 d,#15212c, 2-49 #d5e4f1,#15212c, 50-50 #d5e4f1,#86a8c2, 51-99 #d5e4f1,#000000, +|18: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#000000, |19: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#000000, -|20: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#000000, +|20: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |21: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |22: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |23: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, @@ -118,14 +129,15 @@ |27: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |28: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, |29: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, -|30: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, +|30: 0-1 d,#15212c, 2-99 #75828e,#15212c, == snap paper grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×3 1 message · SPC h m == style paper grid=100x31 |0: 0-1 d,#e8eae3, 2-85 #52625a,#e8eae3, 86-94 #203e31,#c5e2d0, 95-99 #203e31,#e8eae3, |1: 0-1 d,#bda27e, 2-49 #4a5a52,#bdd8ca, 50-51 #4a5a52,#bda27e, 52-99 #52625a,#e8eae3, |2: 0-1 d,#367157, 2-28 #4a5a52,#bdd8ca, 29-38 #69447a,#bdd8ca, 39-49 #4a5a52,#bdd8ca, 50-51 #4a5a52,#8fa594, 52-78 #52625a,#e8eae3, 79-88 #724c83,#e8eae3, 89-99 #52625a,#e8eae3, |3: 0-1 d,#bdd8ca, 2-49 #4a5a52,#bdd8ca, 50-51 #4a5a52,#e8eae3, 52-99 #52625a,#e8eae3, -|4: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-38 #303b3b,#f5f3ed, 39-39 #303b3b,#e8eae3, 40-49 #52625a,#e8eae3, 50-50 #52625a,#869d8a, 51-51 #52625a,#f5f3ed, 52-99 #303b3b,#f5f3ed, +|4: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#f5f3ed, |5: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#f5f3ed, |6: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |7: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, @@ -137,11 +149,11 @@ |13: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |14: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |15: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, -|16: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, -|17: 0-1 d,#8fa594, 2-28 #52625a,#e8eae3, 29-38 #724c83,#e8eae3, 39-49 #52625a,#e8eae3, 50-50 #52625a,#869d8a, 51-99 #52625a,#f5f3ed, -|18: 0-1 d,#e8eae3, 2-49 #52625a,#e8eae3, 50-50 #52625a,#869d8a, 51-99 #52625a,#f5f3ed, +|16: 0-1 d,#8fa594, 2-28 #52625a,#e8eae3, 29-38 #724c83,#e8eae3, 39-49 #52625a,#e8eae3, 50-50 #52625a,#869d8a, 51-99 #52625a,#f5f3ed, +|17: 0-1 d,#e8eae3, 2-49 #52625a,#e8eae3, 50-50 #52625a,#869d8a, 51-99 #52625a,#f5f3ed, +|18: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#f5f3ed, |19: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#f5f3ed, -|20: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#f5f3ed, +|20: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |21: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |22: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |23: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, @@ -151,14 +163,15 @@ |27: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |28: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, |29: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, -|30: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, +|30: 0-1 d,#e8eae3, 2-99 #9da69e,#e8eae3, == snap daybreak grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×4 1 message · SPC h m == style daybreak grid=100x31 |0: 0-1 d,#edf2f7, 2-85 #29465e,#edf2f7, 86-94 #10364f,#b9dffb, 95-99 #10364f,#edf2f7, |1: 0-1 d,#b79a7a, 2-49 #213e56,#c7dcec, 50-51 #213e56,#b79a7a, 52-99 #29465e,#edf2f7, |2: 0-1 d,#006198, 2-28 #213e56,#c7dcec, 29-38 #52255f,#c7dcec, 39-49 #213e56,#c7dcec, 50-51 #213e56,#7b9eb7, 52-78 #29465e,#edf2f7, 79-88 #5a2d67,#edf2f7, 89-99 #29465e,#edf2f7, |3: 0-1 d,#c7dcec, 2-49 #213e56,#c7dcec, 50-51 #213e56,#edf2f7, 52-99 #29465e,#edf2f7, -|4: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-38 #142d40,#ffffff, 39-39 #142d40,#edf2f7, 40-49 #29465e,#edf2f7, 50-50 #29465e,#6685a0, 51-51 #29465e,#ffffff, 52-99 #142d40,#ffffff, +|4: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#ffffff, |5: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#ffffff, |6: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |7: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, @@ -170,11 +183,11 @@ |13: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |14: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |15: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, -|16: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, -|17: 0-1 d,#7b9eb7, 2-28 #29465e,#edf2f7, 29-38 #5a2d67,#edf2f7, 39-49 #29465e,#edf2f7, 50-50 #29465e,#6685a0, 51-99 #29465e,#ffffff, -|18: 0-1 d,#edf2f7, 2-49 #29465e,#edf2f7, 50-50 #29465e,#6685a0, 51-99 #29465e,#ffffff, +|16: 0-1 d,#7b9eb7, 2-28 #29465e,#edf2f7, 29-38 #5a2d67,#edf2f7, 39-49 #29465e,#edf2f7, 50-50 #29465e,#6685a0, 51-99 #29465e,#ffffff, +|17: 0-1 d,#edf2f7, 2-49 #29465e,#edf2f7, 50-50 #29465e,#6685a0, 51-99 #29465e,#ffffff, +|18: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#ffffff, |19: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#ffffff, -|20: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#ffffff, +|20: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |21: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |22: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |23: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, @@ -184,14 +197,15 @@ |27: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |28: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, |29: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, -|30: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, +|30: 0-1 d,#edf2f7, 2-99 #8b9caa,#edf2f7, == snap atelier grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×5 1 message · SPC h m == style atelier grid=100x31 |0: 0-1 d,#e4f0ed, 2-85 #3d6055,#e4f0ed, 86-94 #35492d,#edf2a5, 95-99 #35492d,#e4f0ed, |1: 0-1 d,#bca481, 2-49 #35584d,#bfdcce, 50-51 #35584d,#bca481, 52-99 #3d6055,#e4f0ed, |2: 0-1 d,#36826b, 2-28 #35584d,#bfdcce, 29-38 #653f6b,#bfdcce, 39-49 #35584d,#bfdcce, 50-51 #35584d,#95baa2, 52-78 #3d6055,#e4f0ed, 79-88 #6e4774,#e4f0ed, 89-99 #3d6055,#e4f0ed, |3: 0-1 d,#bfdcce, 2-49 #35584d,#bfdcce, 50-51 #35584d,#e4f0ed, 52-99 #3d6055,#e4f0ed, -|4: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-38 #293f35,#fffdeb, 39-39 #293f35,#e4f0ed, 40-49 #3d6055,#e4f0ed, 50-50 #3d6055,#9fae76, 51-51 #3d6055,#fffdeb, 52-99 #293f35,#fffdeb, +|4: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#fffdeb, |5: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#fffdeb, |6: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |7: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, @@ -203,11 +217,11 @@ |13: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |14: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |15: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, -|16: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, -|17: 0-1 d,#95baa2, 2-28 #3d6055,#e4f0ed, 29-38 #6e4774,#e4f0ed, 39-49 #3d6055,#e4f0ed, 50-50 #3d6055,#9fae76, 51-99 #3d6055,#fffdeb, -|18: 0-1 d,#e4f0ed, 2-49 #3d6055,#e4f0ed, 50-50 #3d6055,#9fae76, 51-99 #3d6055,#fffdeb, +|16: 0-1 d,#95baa2, 2-28 #3d6055,#e4f0ed, 29-38 #6e4774,#e4f0ed, 39-49 #3d6055,#e4f0ed, 50-50 #3d6055,#9fae76, 51-99 #3d6055,#fffdeb, +|17: 0-1 d,#e4f0ed, 2-49 #3d6055,#e4f0ed, 50-50 #3d6055,#9fae76, 51-99 #3d6055,#fffdeb, +|18: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#fffdeb, |19: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#fffdeb, -|20: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#fffdeb, +|20: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |21: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |22: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |23: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, @@ -217,14 +231,15 @@ |27: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |28: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, |29: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, -|30: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, +|30: 0-1 d,#e4f0ed, 2-99 #90a8a1,#e4f0ed, == snap forge grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×6 1 message · SPC h m == style forge grid=100x31 |0: 0-1 d,#22252b, 2-85 #c5c9d2,#22252b, 86-94 #e2eef4,#1c5172, 95-99 #e2eef4,#22252b, |1: 0-1 d,#6a7b67, 2-49 #d1d5de,#374253, 50-51 #d1d5de,#6a7b67, 52-99 #c5c9d2,#22252b, |2: 0-1 d,#9cc3f7, 2-28 #d1d5de,#374253, 29-38 #f8cba7,#374253, 39-49 #d1d5de,#374253, 50-51 #d1d5de,#55647b, 52-78 #c5c9d2,#22252b, 79-88 #ecbf9b,#22252b, 89-99 #c5c9d2,#22252b, |3: 0-1 d,#374253, 2-49 #d1d5de,#374253, 50-51 #d1d5de,#22252b, 52-99 #c5c9d2,#22252b, -|4: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-38 #e5e5e5,#0c0c0e, 39-39 #e5e5e5,#22252b, 40-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-51 #c5c9d2,#0c0c0e, 52-99 #e5e5e5,#0c0c0e, +|4: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#0c0c0e, |5: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#0c0c0e, |6: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |7: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, @@ -236,11 +251,11 @@ |13: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |14: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |15: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, -|16: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, -|17: 0-1 d,#55647b, 2-28 #c5c9d2,#22252b, 29-38 #ecbf9b,#22252b, 39-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#0c0c0e, -|18: 0-1 d,#22252b, 2-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#0c0c0e, +|16: 0-1 d,#55647b, 2-28 #c5c9d2,#22252b, 29-38 #ecbf9b,#22252b, 39-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#0c0c0e, +|17: 0-1 d,#22252b, 2-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#0c0c0e, +|18: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#0c0c0e, |19: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#0c0c0e, -|20: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#0c0c0e, +|20: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |21: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |22: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |23: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, @@ -250,14 +265,15 @@ |27: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |28: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, |29: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, -|30: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, +|30: 0-1 d,#22252b, 2-99 #73777e,#22252b, == snap lagoon grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×7 1 message · SPC h m == style lagoon grid=100x31 |0: 0-1 d,#29443f, 2-85 #bbd7cb,#29443f, 86-94 #e6f2f3,#325f6c, 95-99 #e6f2f3,#29443f, |1: 0-1 d,#9a7662, 2-49 #c7e3d7,#3a6154, 50-51 #c7e3d7,#9a7662, 52-99 #bbd7cb,#29443f, |2: 0-1 d,#81cfb7, 2-28 #c7e3d7,#3a6154, 29-38 #f0cef8,#3a6154, 39-49 #c7e3d7,#3a6154, 50-51 #c7e3d7,#548372, 52-78 #bbd7cb,#29443f, 79-88 #e4c2ec,#29443f, 89-99 #bbd7cb,#29443f, |3: 0-1 d,#3a6154, 2-49 #c7e3d7,#3a6154, 50-51 #c7e3d7,#29443f, 52-99 #bbd7cb,#29443f, -|4: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-38 #bac9ce,#34464c, 39-39 #bac9ce,#29443f, 40-49 #bbd7cb,#29443f, 50-50 #bbd7cb,#6e9b8b, 51-51 #bbd7cb,#34464c, 52-99 #bac9ce,#34464c, +|4: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#34464c, |5: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#34464c, |6: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |7: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, @@ -269,11 +285,11 @@ |13: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |14: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |15: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, -|16: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, -|17: 0-1 d,#548372, 2-28 #bbd7cb,#29443f, 29-38 #e4c2ec,#29443f, 39-49 #bbd7cb,#29443f, 50-50 #bbd7cb,#6e9b8b, 51-99 #bbd7cb,#34464c, -|18: 0-1 d,#29443f, 2-49 #bbd7cb,#29443f, 50-50 #bbd7cb,#6e9b8b, 51-99 #bbd7cb,#34464c, +|16: 0-1 d,#548372, 2-28 #bbd7cb,#29443f, 29-38 #e4c2ec,#29443f, 39-49 #bbd7cb,#29443f, 50-50 #bbd7cb,#6e9b8b, 51-99 #bbd7cb,#34464c, +|17: 0-1 d,#29443f, 2-49 #bbd7cb,#29443f, 50-50 #bbd7cb,#6e9b8b, 51-99 #bbd7cb,#34464c, +|18: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#34464c, |19: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#34464c, -|20: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#34464c, +|20: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |21: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |22: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |23: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, @@ -283,14 +299,15 @@ |27: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |28: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, |29: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, -|30: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, +|30: 0-1 d,#29443f, 2-99 #728d85,#29443f, == snap solarium grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×8 1 message · SPC h m == style solarium grid=100x31 |0: 0-1 d,#123f43, 2-85 #c7d4bd,#123f43, 86-94 #eee8d5,#1f5c64, 95-99 #eee8d5,#123f43, |1: 0-1 d,#347a9a, 2-49 #d3e0c9,#2f5c5c, 50-51 #d3e0c9,#347a9a, 52-99 #c7d4bd,#123f43, |2: 0-1 d,#e1c266, 2-28 #d3e0c9,#2f5c5c, 29-38 #f5cdec,#2f5c5c, 39-49 #d3e0c9,#2f5c5c, 50-51 #d3e0c9,#467f76, 52-78 #c7d4bd,#123f43, 79-88 #e9c1e0,#123f43, 89-99 #c7d4bd,#123f43, |3: 0-1 d,#2f5c5c, 2-49 #d3e0c9,#2f5c5c, 50-51 #d3e0c9,#123f43, 52-99 #c7d4bd,#123f43, -|4: 0-0 d,#65978c, 1-1 d,#173e45, 2-38 #a7b7ae,#173e45, 39-39 #a7b7ae,#123f43, 40-49 #c7d4bd,#123f43, 50-50 #c7d4bd,#65978c, 51-51 #c7d4bd,#173e45, 52-99 #a7b7ae,#173e45, +|4: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#173e45, |5: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#173e45, |6: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |7: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, @@ -302,11 +319,11 @@ |13: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |14: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |15: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, -|16: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, -|17: 0-1 d,#467f76, 2-28 #c7d4bd,#123f43, 29-38 #e9c1e0,#123f43, 39-49 #c7d4bd,#123f43, 50-50 #c7d4bd,#65978c, 51-99 #c7d4bd,#173e45, -|18: 0-1 d,#123f43, 2-49 #c7d4bd,#123f43, 50-50 #c7d4bd,#65978c, 51-99 #c7d4bd,#173e45, +|16: 0-1 d,#467f76, 2-28 #c7d4bd,#123f43, 29-38 #e9c1e0,#123f43, 39-49 #c7d4bd,#123f43, 50-50 #c7d4bd,#65978c, 51-99 #c7d4bd,#173e45, +|17: 0-1 d,#123f43, 2-49 #c7d4bd,#123f43, 50-50 #c7d4bd,#65978c, 51-99 #c7d4bd,#173e45, +|18: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#173e45, |19: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#173e45, -|20: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#173e45, +|20: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |21: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |22: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |23: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, @@ -316,14 +333,15 @@ |27: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |28: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, |29: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, -|30: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, +|30: 0-1 d,#123f43, 2-99 #6c8980,#123f43, == snap spectrum grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×9 1 message · SPC h m == style spectrum grid=100x31 |0: 0-1 d,#3b3830, 2-85 #ddd8bb,#3b3830, 86-94 #fcfcfa,#513f60, 95-99 #fcfcfa,#3b3830, |1: 0-1 d,#706596, 2-49 #e9e4c7,#5a523a, 50-51 #e9e4c7,#706596, 52-99 #ddd8bb,#3b3830, |2: 0-1 d,#ffd866, 2-28 #e9e4c7,#5a523a, 29-38 #d7e3ff,#5a523a, 39-49 #e9e4c7,#5a523a, 50-51 #e9e4c7,#92844f, 52-78 #ddd8bb,#3b3830, 79-88 #c5d7ff,#3b3830, 89-99 #ddd8bb,#3b3830, |3: 0-1 d,#5a523a, 2-49 #e9e4c7,#5a523a, 50-51 #e9e4c7,#3b3830, 52-99 #ddd8bb,#3b3830, -|4: 0-0 d,#948d6f, 1-1 d,#100e11, 2-38 #fcfcfa,#100e11, 39-39 #fcfcfa,#3b3830, 40-49 #ddd8bb,#3b3830, 50-50 #ddd8bb,#948d6f, 51-51 #ddd8bb,#100e11, 52-99 #fcfcfa,#100e11, +|4: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#100e11, |5: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#100e11, |6: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |7: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, @@ -335,11 +353,11 @@ |13: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |14: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |15: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, -|16: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, -|17: 0-1 d,#92844f, 2-28 #ddd8bb,#3b3830, 29-38 #c5d7ff,#3b3830, 39-49 #ddd8bb,#3b3830, 50-50 #ddd8bb,#948d6f, 51-99 #ddd8bb,#100e11, -|18: 0-1 d,#3b3830, 2-49 #ddd8bb,#3b3830, 50-50 #ddd8bb,#948d6f, 51-99 #ddd8bb,#100e11, +|16: 0-1 d,#92844f, 2-28 #ddd8bb,#3b3830, 29-38 #c5d7ff,#3b3830, 39-49 #ddd8bb,#3b3830, 50-50 #ddd8bb,#948d6f, 51-99 #ddd8bb,#100e11, +|17: 0-1 d,#3b3830, 2-49 #ddd8bb,#3b3830, 50-50 #ddd8bb,#948d6f, 51-99 #ddd8bb,#100e11, +|18: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#100e11, |19: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#100e11, -|20: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#100e11, +|20: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |21: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |22: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |23: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, @@ -349,14 +367,15 @@ |27: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |28: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, |29: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, -|30: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, +|30: 0-1 d,#3b3830, 2-99 #8c8875,#3b3830, == snap harvest grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×10 1 message · SPC h m == style harvest grid=100x31 |0: 0-1 d,#343b2e, 2-85 #d5d8b8,#343b2e, 86-94 #f3f2cc,#4f5834, 95-99 #f3f2cc,#343b2e, |1: 0-1 d,#9b583f, 2-49 #e1e4c4,#4a583e, 50-51 #e1e4c4,#9b583f, 52-99 #d5d8b8,#343b2e, |2: 0-1 d,#d8bd83, 2-28 #e1e4c4,#4a583e, 29-38 #c5e7f7,#4a583e, 39-49 #e1e4c4,#4a583e, 50-51 #e1e4c4,#7b7e4e, 52-78 #d5d8b8,#343b2e, 79-88 #badbeb,#343b2e, 89-99 #d5d8b8,#343b2e, |3: 0-1 d,#4a583e, 2-49 #e1e4c4,#4a583e, 50-51 #e1e4c4,#343b2e, 52-99 #d5d8b8,#343b2e, -|4: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-38 #f3f2cc,#100e0b, 39-39 #f3f2cc,#343b2e, 40-49 #d5d8b8,#343b2e, 50-50 #d5d8b8,#888e5e, 51-51 #d5d8b8,#100e0b, 52-99 #f3f2cc,#100e0b, +|4: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#100e0b, |5: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#100e0b, |6: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |7: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, @@ -368,11 +387,11 @@ |13: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |14: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |15: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, -|16: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, -|17: 0-1 d,#7b7e4e, 2-28 #d5d8b8,#343b2e, 29-38 #badbeb,#343b2e, 39-49 #d5d8b8,#343b2e, 50-50 #d5d8b8,#888e5e, 51-99 #d5d8b8,#100e0b, -|18: 0-1 d,#343b2e, 2-49 #d5d8b8,#343b2e, 50-50 #d5d8b8,#888e5e, 51-99 #d5d8b8,#100e0b, +|16: 0-1 d,#7b7e4e, 2-28 #d5d8b8,#343b2e, 29-38 #badbeb,#343b2e, 39-49 #d5d8b8,#343b2e, 50-50 #d5d8b8,#888e5e, 51-99 #d5d8b8,#100e0b, +|17: 0-1 d,#343b2e, 2-49 #d5d8b8,#343b2e, 50-50 #d5d8b8,#888e5e, 51-99 #d5d8b8,#100e0b, +|18: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#100e0b, |19: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#100e0b, -|20: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#100e0b, +|20: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |21: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |22: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |23: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, @@ -382,14 +401,15 @@ |27: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |28: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, |29: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, -|30: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, +|30: 0-1 d,#343b2e, 2-99 #848973,#343b2e, == snap clay grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×11 1 message · SPC h m == style clay grid=100x31 |0: 0-1 d,#343f36, 2-85 #d7d6b6,#343f36, 86-94 #fbf1c7,#505c38, 95-99 #fbf1c7,#343f36, |1: 0-1 d,#875e65, 2-49 #e3e2c2,#4d5c48, 50-51 #e3e2c2,#875e65, 52-99 #d7d6b6,#343f36, |2: 0-1 d,#8ac874, 2-28 #e3e2c2,#4d5c48, 29-38 #b5ecec,#4d5c48, 39-49 #e3e2c2,#4d5c48, 50-51 #e3e2c2,#687c4d, 52-78 #d7d6b6,#343f36, 79-88 #aae0e0,#343f36, 89-99 #d7d6b6,#343f36, |3: 0-1 d,#4d5c48, 2-49 #e3e2c2,#4d5c48, 50-51 #e3e2c2,#343f36, 52-99 #d7d6b6,#343f36, -|4: 0-0 d,#8c9467, 1-1 d,#10100e, 2-38 #f3e5bc,#10100e, 39-39 #f3e5bc,#343f36, 40-49 #d7d6b6,#343f36, 50-50 #d7d6b6,#8c9467, 51-51 #d7d6b6,#10100e, 52-99 #f3e5bc,#10100e, +|4: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#10100e, |5: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#10100e, |6: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |7: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, @@ -401,11 +421,11 @@ |13: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |14: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |15: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, -|16: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, -|17: 0-1 d,#687c4d, 2-28 #d7d6b6,#343f36, 29-38 #aae0e0,#343f36, 39-49 #d7d6b6,#343f36, 50-50 #d7d6b6,#8c9467, 51-99 #d7d6b6,#10100e, -|18: 0-1 d,#343f36, 2-49 #d7d6b6,#343f36, 50-50 #d7d6b6,#8c9467, 51-99 #d7d6b6,#10100e, +|16: 0-1 d,#687c4d, 2-28 #d7d6b6,#343f36, 29-38 #aae0e0,#343f36, 39-49 #d7d6b6,#343f36, 50-50 #d7d6b6,#8c9467, 51-99 #d7d6b6,#10100e, +|17: 0-1 d,#343f36, 2-49 #d7d6b6,#343f36, 50-50 #d7d6b6,#8c9467, 51-99 #d7d6b6,#10100e, +|18: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#10100e, |19: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#10100e, -|20: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#10100e, +|20: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |21: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |22: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |23: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, @@ -415,14 +435,15 @@ |27: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |28: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, |29: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, -|30: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, +|30: 0-1 d,#343f36, 2-99 #858a76,#343f36, == snap forge-black grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×12 1 message · SPC h m == style forge-black grid=100x31 |0: 0-1 d,#22252b, 2-85 #c5c9d2,#22252b, 86-94 #e2eef4,#1c5172, 95-99 #e2eef4,#22252b, |1: 0-1 d,#6a7b67, 2-49 #d1d5de,#374253, 50-51 #d1d5de,#6a7b67, 52-99 #c5c9d2,#22252b, |2: 0-1 d,#9cc3f7, 2-28 #d1d5de,#374253, 29-38 #f8cba7,#374253, 39-49 #d1d5de,#374253, 50-51 #d1d5de,#55647b, 52-78 #c5c9d2,#22252b, 79-88 #ecbf9b,#22252b, 89-99 #c5c9d2,#22252b, |3: 0-1 d,#374253, 2-49 #d1d5de,#374253, 50-51 #d1d5de,#22252b, 52-99 #c5c9d2,#22252b, -|4: 0-0 d,#708095, 1-1 d,#000000, 2-38 #f6f6f6,#000000, 39-39 #f6f6f6,#22252b, 40-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-51 #c5c9d2,#000000, 52-99 #f6f6f6,#000000, +|4: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#000000, |5: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#000000, |6: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |7: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, @@ -434,11 +455,11 @@ |13: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |14: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |15: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, -|16: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, -|17: 0-1 d,#55647b, 2-28 #c5c9d2,#22252b, 29-38 #ecbf9b,#22252b, 39-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#000000, -|18: 0-1 d,#22252b, 2-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#000000, +|16: 0-1 d,#55647b, 2-28 #c5c9d2,#22252b, 29-38 #ecbf9b,#22252b, 39-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#000000, +|17: 0-1 d,#22252b, 2-49 #c5c9d2,#22252b, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#000000, +|18: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#000000, |19: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#000000, -|20: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#000000, +|20: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |21: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |22: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |23: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, @@ -448,14 +469,15 @@ |27: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |28: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, |29: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, -|30: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, +|30: 0-1 d,#22252b, 2-99 #73777e,#22252b, == snap forge-soft grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×13 1 message · SPC h m == style forge-soft grid=100x31 |0: 0-1 d,#2a2d34, 2-85 #c5c9d2,#2a2d34, 86-94 #e2eef4,#1c5172, 95-99 #e2eef4,#2a2d34, |1: 0-1 d,#6d7f6c, 2-49 #d1d5de,#404a58, 50-51 #d1d5de,#6d7f6c, 52-99 #c5c9d2,#2a2d34, |2: 0-1 d,#9cc3f7, 2-28 #d1d5de,#404a58, 29-38 #f8cba7,#404a58, 39-49 #d1d5de,#404a58, 50-51 #d1d5de,#55647b, 52-78 #c5c9d2,#2a2d34, 79-88 #ecbf9b,#2a2d34, 89-99 #c5c9d2,#2a2d34, |3: 0-1 d,#404a58, 2-49 #d1d5de,#404a58, 50-51 #d1d5de,#2a2d34, 52-99 #c5c9d2,#2a2d34, -|4: 0-0 d,#708095, 1-1 d,#35383e, 2-38 #bfc3cc,#35383e, 39-39 #bfc3cc,#2a2d34, 40-49 #c5c9d2,#2a2d34, 50-50 #c5c9d2,#708095, 51-51 #c5c9d2,#35383e, 52-99 #bfc3cc,#35383e, +|4: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#35383e, |5: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#35383e, |6: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |7: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, @@ -467,11 +489,11 @@ |13: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |14: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |15: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, -|16: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, -|17: 0-1 d,#55647b, 2-28 #c5c9d2,#2a2d34, 29-38 #ecbf9b,#2a2d34, 39-49 #c5c9d2,#2a2d34, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#35383e, -|18: 0-1 d,#2a2d34, 2-49 #c5c9d2,#2a2d34, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#35383e, +|16: 0-1 d,#55647b, 2-28 #c5c9d2,#2a2d34, 29-38 #ecbf9b,#2a2d34, 39-49 #c5c9d2,#2a2d34, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#35383e, +|17: 0-1 d,#2a2d34, 2-49 #c5c9d2,#2a2d34, 50-50 #c5c9d2,#708095, 51-99 #c5c9d2,#35383e, +|18: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#35383e, |19: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#35383e, -|20: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#35383e, +|20: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |21: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |22: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |23: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, @@ -481,14 +503,15 @@ |27: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |28: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, |29: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, -|30: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, +|30: 0-1 d,#2a2d34, 2-99 #777b83,#2a2d34, == snap orchard-black grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×14 1 message · SPC h m == style orchard-black grid=100x31 |0: 0-1 d,#1d2824, 2-85 #b2c3b8,#1d2824, 86-94 #f5f7ee,#3c614a, 95-99 #f5f7ee,#1d2824, |1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824, |2: 0-1 d,#add38a, 2-28 #becfc4,#314738, 29-38 #dfbce5,#314738, 39-49 #becfc4,#314738, 50-51 #becfc4,#496656, 52-78 #b2c3b8,#1d2824, 79-88 #d3b0d9,#1d2824, 89-99 #b2c3b8,#1d2824, |3: 0-1 d,#314738, 2-49 #becfc4,#314738, 50-51 #becfc4,#1d2824, 52-99 #b2c3b8,#1d2824, -|4: 0-0 d,#608269, 1-1 d,#000000, 2-38 #f2f8ef,#000000, 39-39 #f2f8ef,#1d2824, 40-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-51 #b2c3b8,#000000, 52-99 #f2f8ef,#000000, +|4: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#000000, |5: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#000000, |6: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |7: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, @@ -500,11 +523,11 @@ |13: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |14: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |15: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, -|16: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, -|17: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#000000, -|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#000000, +|16: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-38 #d3b0d9,#1d2824, 39-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#000000, +|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#000000, +|18: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#000000, |19: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#000000, -|20: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#000000, +|20: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |21: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |22: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |23: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, @@ -514,14 +537,15 @@ |27: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |28: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, |29: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, -|30: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, == snap acme grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×15 1 message · SPC h m == style acme grid=100x31 |0: 0-1 d,#eaffff, 2-85 #000000,#eaffff, 86-94 #000000,#9eeeee, 95-99 #000000,#eaffff, |1: 0-1 d,#8888cc, 2-49 #000000,#eaffff, 50-51 #000000,#8888cc, 52-99 #000000,#eaffff, |2: 0-1 d,#8888cc, 2-28 #000000,#eaffff, 29-38 #000099,#eaffff, 39-49 #000000,#eaffff, 50-51 #000000,#b9c3e5, 52-78 #000000,#eaffff, 79-88 #000099,#eaffff, 89-99 #000000,#eaffff, |3: 0-1 d,#eaffff, 2-99 #000000,#eaffff, -|4: 0-1 d,#ffffea, 2-38 #000000,#ffffea, 39-49 #000000,#eaffff, 50-99 #000000,#ffffea, +|4: 0-1 d,#ffffea, 2-99 #000000,#ffffea, |5: 0-1 d,#ffffea, 2-99 #000000,#ffffea, |6: 0-99 d,#ffffea, |7: 0-99 d,#ffffea, @@ -533,11 +557,11 @@ |13: 0-99 d,#ffffea, |14: 0-99 d,#ffffea, |15: 0-99 d,#ffffea, -|16: 0-99 d,#ffffea, -|17: 0-1 d,#b9c3e5, 2-28 #000000,#eaffff, 29-38 #000099,#eaffff, 39-49 #000000,#eaffff, 50-99 #000000,#ffffea, -|18: 0-1 d,#eaffff, 2-49 #000000,#eaffff, 50-99 #000000,#ffffea, +|16: 0-1 d,#b9c3e5, 2-28 #000000,#eaffff, 29-38 #000099,#eaffff, 39-49 #000000,#eaffff, 50-99 #000000,#ffffea, +|17: 0-1 d,#eaffff, 2-49 #000000,#eaffff, 50-99 #000000,#ffffea, +|18: 0-1 d,#ffffea, 2-99 #000000,#ffffea, |19: 0-1 d,#ffffea, 2-99 #000000,#ffffea, -|20: 0-1 d,#ffffea, 2-99 #000000,#ffffea, +|20: 0-99 d,#ffffea, |21: 0-99 d,#ffffea, |22: 0-99 d,#ffffea, |23: 0-99 d,#ffffea, @@ -547,14 +571,15 @@ |27: 0-99 d,#ffffea, |28: 0-99 d,#ffffea, |29: 0-99 d,#ffffea, -|30: 0-99 d,#ffffea, +|30: 0-1 d,#eaffff, 2-99 #757f7f,#eaffff, == snap lapis grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×16 1 message · SPC h m == style lapis grid=100x31 |0: 0-1 d,#0f1a4a, 2-85 #9aa6d9,#0f1a4a, 86-94 #0f1a4a,#e8c46a, 95-99 #0f1a4a,#0f1a4a, |1: 0-1 d,#8a3a3a, 2-49 #eee6d2,#25397d, 50-51 #eee6d2,#8a3a3a, 52-99 #9aa6d9,#0f1a4a, |2: 0-1 d,#e8c46a, 2-28 #eee6d2,#25397d, 29-38 #f2d280,#25397d, 39-49 #eee6d2,#25397d, 50-51 #eee6d2,#6a78b1, 52-78 #9aa6d9,#0f1a4a, 79-88 #e8c46a,#0f1a4a, 89-99 #9aa6d9,#0f1a4a, |3: 0-1 d,#25397d, 2-49 #eee6d2,#25397d, 50-51 #eee6d2,#0f1a4a, 52-99 #9aa6d9,#0f1a4a, -|4: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-38 #eee6d2,#0a1030, 39-39 #eee6d2,#0f1a4a, 40-49 #9aa6d9,#0f1a4a, 50-50 #9aa6d9,#e8c46a, 51-51 #9aa6d9,#0a1030, 52-99 #eee6d2,#0a1030, +|4: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#0a1030, |5: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#0a1030, |6: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |7: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, @@ -566,11 +591,11 @@ |13: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |14: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |15: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, -|16: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, -|17: 0-1 d,#6a78b1, 2-28 #9aa6d9,#0f1a4a, 29-38 #e8c46a,#0f1a4a, 39-49 #9aa6d9,#0f1a4a, 50-50 #9aa6d9,#e8c46a, 51-99 #9aa6d9,#0a1030, -|18: 0-1 d,#0f1a4a, 2-49 #9aa6d9,#0f1a4a, 50-50 #9aa6d9,#e8c46a, 51-99 #9aa6d9,#0a1030, +|16: 0-1 d,#6a78b1, 2-28 #9aa6d9,#0f1a4a, 29-38 #e8c46a,#0f1a4a, 39-49 #9aa6d9,#0f1a4a, 50-50 #9aa6d9,#e8c46a, 51-99 #9aa6d9,#0a1030, +|17: 0-1 d,#0f1a4a, 2-49 #9aa6d9,#0f1a4a, 50-50 #9aa6d9,#e8c46a, 51-99 #9aa6d9,#0a1030, +|18: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#0a1030, |19: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#0a1030, -|20: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#0a1030, +|20: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |21: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |22: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |23: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, @@ -580,14 +605,15 @@ |27: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |28: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, |29: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, -|30: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, +|30: 0-1 d,#0f1a4a, 2-99 #546091,#0f1a4a, == snap dark-plus grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×17 1 message · SPC h m == style dark-plus grid=100x31 |0: 0-1 d,#007acc, 2-85 #ffffff,#007acc, 86-94 #d4d4d4,#264f78, 95-99 #d4d4d4,#007acc, |1: 0-1 d,#458276, 2-49 #ffffff,#1e1e1e, 50-51 #ffffff,#458276, 52-99 #a7a7a7,#3c3c3c, |2: 0-1 d,#007fd4, 2-28 #ffffff,#1e1e1e, 29-38 #cbe5fc,#1e1e1e, 39-49 #ffffff,#1e1e1e, 50-51 #ffffff,#1c608e, 52-78 #a7a7a7,#3c3c3c, 79-88 #68aee9,#3c3c3c, 89-99 #a7a7a7,#3c3c3c, |3: 0-1 d,#1e1e1e, 2-49 #ffffff,#1e1e1e, 50-51 #ffffff,#3c3c3c, 52-99 #a7a7a7,#3c3c3c, -|4: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-38 #d4d4d4,#1e1e1e, 39-39 #d4d4d4,#3c3c3c, 40-49 #a7a7a7,#3c3c3c, 50-50 #a7a7a7,#424242, 51-51 #a7a7a7,#1e1e1e, 52-99 #d4d4d4,#1e1e1e, +|4: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#1e1e1e, |5: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#1e1e1e, |6: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |7: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, @@ -599,11 +625,11 @@ |13: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |14: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |15: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, -|16: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, -|17: 0-1 d,#1c608e, 2-28 #a7a7a7,#3c3c3c, 29-38 #68aee9,#3c3c3c, 39-49 #a7a7a7,#3c3c3c, 50-50 #a7a7a7,#424242, 51-99 #a7a7a7,#1e1e1e, -|18: 0-1 d,#3c3c3c, 2-49 #a7a7a7,#3c3c3c, 50-50 #a7a7a7,#424242, 51-99 #a7a7a7,#1e1e1e, +|16: 0-1 d,#1c608e, 2-28 #a7a7a7,#3c3c3c, 29-38 #68aee9,#3c3c3c, 39-49 #a7a7a7,#3c3c3c, 50-50 #a7a7a7,#424242, 51-99 #a7a7a7,#1e1e1e, +|17: 0-1 d,#3c3c3c, 2-49 #a7a7a7,#3c3c3c, 50-50 #a7a7a7,#424242, 51-99 #a7a7a7,#1e1e1e, +|18: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#1e1e1e, |19: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#1e1e1e, -|20: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#1e1e1e, +|20: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |21: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |22: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |23: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, @@ -613,14 +639,15 @@ |27: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |28: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, |29: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, -|30: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, +|30: 0-1 d,#007acc, 2-99 #7fbce5,#007acc, == snap solarized-dark grid=100x31 cursor=4,6 +|30: ✓ @p1 NextColor ×18 1 message · SPC h m == style solarized-dark grid=100x31 |0: 0-1 d,#657b83, 2-85 #01090b,#657b83, 86-94 #002b36,#586e75, 95-99 #002b36,#657b83, |1: 0-1 d,#758a41, 2-49 #073642,#93a1a1, 50-51 #073642,#758a41, 52-99 #01090b,#657b83, |2: 0-1 d,#2483c5, 2-28 #073642,#93a1a1, 29-38 #2d3502,#93a1a1, 39-49 #073642,#93a1a1, 50-51 #073642,#185986, 52-78 #01090b,#657b83, 79-88 #121600,#657b83, 89-99 #01090b,#657b83, |3: 0-1 d,#93a1a1, 2-49 #073642,#93a1a1, 50-51 #073642,#657b83, 52-99 #01090b,#657b83, -|4: 0-0 d,#839496, 1-1 d,#002b36, 2-38 #839496,#002b36, 39-39 #839496,#657b83, 40-49 #01090b,#657b83, 50-50 #01090b,#839496, 51-51 #01090b,#002b36, 52-99 #839496,#002b36, +|4: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#002b36, |5: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#002b36, |6: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |7: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, @@ -632,11 +659,11 @@ |13: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |14: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |15: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, -|16: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, -|17: 0-1 d,#185986, 2-28 #01090b,#657b83, 29-38 #121600,#657b83, 39-49 #01090b,#657b83, 50-50 #01090b,#839496, 51-99 #01090b,#002b36, -|18: 0-1 d,#657b83, 2-49 #01090b,#657b83, 50-50 #01090b,#839496, 51-99 #01090b,#002b36, +|16: 0-1 d,#185986, 2-28 #01090b,#657b83, 29-38 #121600,#657b83, 39-49 #01090b,#657b83, 50-50 #01090b,#839496, 51-99 #01090b,#002b36, +|17: 0-1 d,#657b83, 2-49 #01090b,#657b83, 50-50 #01090b,#839496, 51-99 #01090b,#002b36, +|18: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#002b36, |19: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#002b36, -|20: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#002b36, +|20: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |21: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |22: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |23: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, @@ -646,4 +673,4 @@ |27: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |28: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, |29: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, -|30: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, +|30: 0-1 d,#657b83, 2-99 #334247,#657b83, diff --git a/test/snapshots/themesel.golden b/test/snapshots/themesel.golden index a1d5e10a..1cf6f0a5 100644 --- a/test/snapshots/themesel.golden +++ b/test/snapshots/themesel.golden @@ -29,9 +29,8 @@ | 25 line 25 | 26 line 26 | 27 line 27 -| 28 line 28 +| /tmp/pardes-snap/themesel/cwd/t.txt:1 == snap list grid=100x31 cursor=7,3 -|3: 1 line 1 Themes |16: /tmp/pardes-snap/themesel/cwd/+Themes Save Term Collapse Follow Del |17: 1 # Pardes themes |18: 2 Theme orchard @@ -46,10 +45,9 @@ |27: 11 Theme spectrum |28: 12 Theme harvest |29: 13 Theme clay -|30: 14 Theme forge_black +|30: ✓ /tmp/pardes-snap/themesel/cwd/t.txt Themes 1 message · SPC h m == snap step-orchard grid=100x31 cursor=7,18 -|3: 1 line 1 -|17: 1 # Pardes themes Theme +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 3 messages · SPC h m == style step-orchard grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -68,7 +66,7 @@ |14: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |15: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |16: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, -|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-92 #e5eee5,#0d1410, 93-93 #e5eee5,#1d2824, 94-99 #b2c3b8,#1d2824, +|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |18: 0-0 d,#152019, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, |19: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |20: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, @@ -81,8 +79,9 @@ |27: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |28: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |29: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|30: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, == snap step-dusk grid=100x31 cursor=7,19 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 5 messages · SPC h m == style step-dusk grid=100x31 |0: 0-1 d,#2c2630, 2-99 #c6b6c5,#2c2630, |1: 0-1 d,#757a5f, 2-99 #d2c2d1,#533d4d, @@ -101,7 +100,7 @@ |14: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |15: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |16: 0-1 d,#edb092, 2-31 #d2c2d1,#533d4d, 32-39 #a1d5c4,#533d4d, 40-99 #d2c2d1,#533d4d, -|17: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-92 #c3b6c1,#39323b, 93-93 #c3b6c1,#2c2630, 94-99 #c6b6c5,#2c2630, +|17: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |18: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |19: 0-0 d,#3d3540, 1-1 d,#39323b, 2-4 d,#39323b,b 5-6 #8a7986,#39323b,b 7-99 #c3b6c1,#39323b, |20: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, @@ -114,8 +113,9 @@ |27: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |28: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |29: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|30: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|30: 0-1 d,#2c2630, 2-99 #796e7a,#2c2630, == snap step-atelier grid=100x31 cursor=7,23 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 7 messages · SPC h m == style step-atelier grid=100x31 |0: 0-1 d,#e4f0ed, 2-99 #3d6055,#e4f0ed, |1: 0-1 d,#bca481, 2-99 #35584d,#bfdcce, @@ -134,7 +134,7 @@ |14: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |15: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |16: 0-1 d,#36826b, 2-31 #35584d,#bfdcce, 32-39 #653f6b,#bfdcce, 40-99 #35584d,#bfdcce, -|17: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-92 #293f35,#fffdeb, 93-93 #293f35,#e4f0ed, 94-99 #3d6055,#e4f0ed, +|17: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |18: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |19: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |20: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, @@ -147,8 +147,9 @@ |27: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |28: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |29: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|30: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|30: 0-1 d,#e4f0ed, 2-99 #90a8a1,#e4f0ed, == snap step-forge grid=100x31 cursor=7,24 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 9 messages · SPC h m == style step-forge grid=100x31 |0: 0-1 d,#22252b, 2-99 #c5c9d2,#22252b, |1: 0-1 d,#6a7b67, 2-99 #d1d5de,#374253, @@ -167,7 +168,7 @@ |14: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |15: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, -|17: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-92 #e5e5e5,#0c0c0e, 93-93 #e5e5e5,#22252b, 94-99 #c5c9d2,#22252b, +|17: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |18: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |19: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |20: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, @@ -180,8 +181,9 @@ |27: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |28: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |29: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|30: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|30: 0-1 d,#22252b, 2-99 #73777e,#22252b, == snap step-lagoon grid=100x31 cursor=7,25 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 11 messages · SPC h m == style step-lagoon grid=100x31 |0: 0-1 d,#29443f, 2-99 #bbd7cb,#29443f, |1: 0-1 d,#9a7662, 2-99 #c7e3d7,#3a6154, @@ -200,7 +202,7 @@ |14: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |15: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |16: 0-1 d,#81cfb7, 2-31 #c7e3d7,#3a6154, 32-39 #f0cef8,#3a6154, 40-99 #c7e3d7,#3a6154, -|17: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-92 #bac9ce,#34464c, 93-93 #bac9ce,#29443f, 94-99 #bbd7cb,#29443f, +|17: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |18: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |19: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |20: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, @@ -213,8 +215,9 @@ |27: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |28: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |29: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|30: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, +|30: 0-1 d,#29443f, 2-99 #728d85,#29443f, == snap step-solarium grid=100x31 cursor=7,26 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 13 messages · SPC h m == style step-solarium grid=100x31 |0: 0-1 d,#123f43, 2-99 #c7d4bd,#123f43, |1: 0-1 d,#347a9a, 2-99 #d3e0c9,#2f5c5c, @@ -233,7 +236,7 @@ |14: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |15: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |16: 0-1 d,#e1c266, 2-31 #d3e0c9,#2f5c5c, 32-39 #f5cdec,#2f5c5c, 40-99 #d3e0c9,#2f5c5c, -|17: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-92 #a7b7ae,#173e45, 93-93 #a7b7ae,#123f43, 94-99 #c7d4bd,#123f43, +|17: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |18: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |19: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |20: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, @@ -246,8 +249,22 @@ |27: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |28: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |29: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|30: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -== snap step-spectrum grid=100x31 cursor=7,27 +|30: 0-1 d,#123f43, 2-99 #6c8980,#123f43, +== snap step-spectrum grid=100x31 cursor=7,26 +|17: 2 Theme orchard +|18: 3 Theme dusk +|19: 4 Theme ink +|20: 5 Theme paper +|21: 6 Theme daybreak +|22: 7 Theme atelier +|23: 8 Theme forge +|24: 9 Theme lagoon +|25: 10 Theme solarium +|26: 11 Theme spectrum +|27: 12 Theme harvest +|28: 13 Theme clay +|29: 14 Theme forge_black +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 15 messages · SPC h m == style step-spectrum grid=100x31 |0: 0-1 d,#3b3830, 2-99 #ddd8bb,#3b3830, |1: 0-1 d,#706596, 2-99 #e9e4c7,#5a523a, @@ -266,7 +283,7 @@ |14: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |15: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |16: 0-1 d,#ffd866, 2-31 #e9e4c7,#5a523a, 32-39 #d7e3ff,#5a523a, 40-99 #e9e4c7,#5a523a, -|17: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-92 #fcfcfa,#100e11, 93-93 #fcfcfa,#3b3830, 94-99 #ddd8bb,#3b3830, +|17: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |18: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |19: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |20: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, @@ -274,27 +291,27 @@ |22: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |23: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |24: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|25: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|26: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|27: 0-0 d,#211d23, 1-1 d,#100e11, 2-3 d,#100e11,b 4-6 #706973,#100e11,b 7-99 #fcfcfa,#100e11, +|25: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, +|26: 0-0 d,#211d23, 1-1 d,#100e11, 2-3 d,#100e11,b 4-6 #706973,#100e11,b 7-99 #fcfcfa,#100e11, +|27: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |28: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |29: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|30: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -== snap step-harvest grid=100x31 cursor=7,27 -|17: 2 Theme orchard Theme -|18: 3 Theme dusk -|19: 4 Theme ink -|20: 5 Theme paper -|21: 6 Theme daybreak -|22: 7 Theme atelier -|23: 8 Theme forge -|24: 9 Theme lagoon -|25: 10 Theme solarium -|26: 11 Theme spectrum -|27: 12 Theme harvest -|28: 13 Theme clay -|29: 14 Theme forge_black -|30: 15 Theme forge_soft +|30: 0-1 d,#3b3830, 2-99 #8c8875,#3b3830, +== snap step-harvest grid=100x31 cursor=7,26 +|17: 3 Theme dusk +|18: 4 Theme ink +|19: 5 Theme paper +|20: 6 Theme daybreak +|21: 7 Theme atelier +|22: 8 Theme forge +|23: 9 Theme lagoon +|24: 10 Theme solarium +|25: 11 Theme spectrum +|26: 12 Theme harvest +|27: 13 Theme clay +|28: 14 Theme forge_black +|29: 15 Theme forge_soft +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 17 messages · SPC h m == style step-harvest grid=100x31 |0: 0-1 d,#343b2e, 2-99 #d5d8b8,#343b2e, |1: 0-1 d,#9b583f, 2-99 #e1e4c4,#4a583e, @@ -313,35 +330,35 @@ |14: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |15: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |16: 0-1 d,#d8bd83, 2-31 #e1e4c4,#4a583e, 32-39 #c5e7f7,#4a583e, 40-99 #e1e4c4,#4a583e, -|17: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-92 #f3f2cc,#100e0b, 93-93 #f3f2cc,#343b2e, 94-99 #d5d8b8,#343b2e, +|17: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |18: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |19: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |20: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |21: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |22: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |23: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|24: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, +|24: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |25: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|26: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|27: 0-0 d,#201d17, 1-1 d,#100e0b, 2-3 d,#100e0b,b 4-6 #726c5e,#100e0b,b 7-99 #f3f2cc,#100e0b, +|26: 0-0 d,#201d17, 1-1 d,#100e0b, 2-3 d,#100e0b,b 4-6 #726c5e,#100e0b,b 7-99 #f3f2cc,#100e0b, +|27: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |28: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |29: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|30: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -== snap step-clay grid=100x31 cursor=7,27 -|17: 3 Theme dusk Theme -|18: 4 Theme ink -|19: 5 Theme paper -|20: 6 Theme daybreak -|21: 7 Theme atelier -|22: 8 Theme forge -|23: 9 Theme lagoon -|24: 10 Theme solarium -|25: 11 Theme spectrum -|26: 12 Theme harvest -|27: 13 Theme clay -|28: 14 Theme forge_black -|29: 15 Theme forge_soft -|30: 16 Theme orchard_black +|30: 0-1 d,#343b2e, 2-99 #848973,#343b2e, +== snap step-clay grid=100x31 cursor=7,26 +|17: 4 Theme ink +|18: 5 Theme paper +|19: 6 Theme daybreak +|20: 7 Theme atelier +|21: 8 Theme forge +|22: 9 Theme lagoon +|23: 10 Theme solarium +|24: 11 Theme spectrum +|25: 12 Theme harvest +|26: 13 Theme clay +|27: 14 Theme forge_black +|28: 15 Theme forge_soft +|29: 16 Theme orchard_black +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 19 messages · SPC h m == style step-clay grid=100x31 |0: 0-1 d,#343f36, 2-99 #d7d6b6,#343f36, |1: 0-1 d,#875e65, 2-99 #e3e2c2,#4d5c48, @@ -360,35 +377,35 @@ |14: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |15: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |16: 0-1 d,#8ac874, 2-31 #e3e2c2,#4d5c48, 32-39 #b5ecec,#4d5c48, 40-99 #e3e2c2,#4d5c48, -|17: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-92 #f3e5bc,#10100e, 93-93 #f3e5bc,#343f36, 94-99 #d7d6b6,#343f36, +|17: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |18: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |19: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |20: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |21: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |22: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|23: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, +|23: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |24: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |25: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|26: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|27: 0-0 d,#222119, 1-1 d,#10100e, 2-3 d,#10100e,b 4-6 #716c5d,#10100e,b 7-99 #f3e5bc,#10100e, +|26: 0-0 d,#222119, 1-1 d,#10100e, 2-3 d,#10100e,b 4-6 #716c5d,#10100e,b 7-99 #f3e5bc,#10100e, +|27: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |28: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |29: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|30: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -== snap step-forge-black grid=100x31 cursor=7,27 -|17: 4 Theme ink Theme -|18: 5 Theme paper -|19: 6 Theme daybreak -|20: 7 Theme atelier -|21: 8 Theme forge -|22: 9 Theme lagoon -|23: 10 Theme solarium -|24: 11 Theme spectrum -|25: 12 Theme harvest -|26: 13 Theme clay -|27: 14 Theme forge_black -|28: 15 Theme forge_soft -|29: 16 Theme orchard_black -|30: 17 Theme acme +|30: 0-1 d,#343f36, 2-99 #858a76,#343f36, +== snap step-forge-black grid=100x31 cursor=7,26 +|17: 5 Theme paper +|18: 6 Theme daybreak +|19: 7 Theme atelier +|20: 8 Theme forge +|21: 9 Theme lagoon +|22: 10 Theme solarium +|23: 11 Theme spectrum +|24: 12 Theme harvest +|25: 13 Theme clay +|26: 14 Theme forge_black +|27: 15 Theme forge_soft +|28: 16 Theme orchard_black +|29: 17 Theme acme +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 21 messages · SPC h m == style step-forge-black grid=100x31 |0: 0-1 d,#22252b, 2-99 #c5c9d2,#22252b, |1: 0-1 d,#6a7b67, 2-99 #d1d5de,#374253, @@ -407,35 +424,35 @@ |14: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |15: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, -|17: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-92 #f6f6f6,#000000, 93-93 #f6f6f6,#22252b, 94-99 #c5c9d2,#22252b, +|17: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |18: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |19: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |20: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |21: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|22: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, +|22: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |23: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |24: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |25: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|26: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|27: 0-0 d,#14161a, 1-1 d,#000000, 2-3 d,#000000,b 4-6 #6a6d74,#000000,b 7-99 #f6f6f6,#000000, +|26: 0-0 d,#14161a, 1-1 d,#000000, 2-3 d,#000000,b 4-6 #6a6d74,#000000,b 7-99 #f6f6f6,#000000, +|27: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |28: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |29: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|30: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -== snap step-forge-soft grid=100x31 cursor=7,27 -|17: 5 Theme paper Theme -|18: 6 Theme daybreak -|19: 7 Theme atelier -|20: 8 Theme forge -|21: 9 Theme lagoon -|22: 10 Theme solarium -|23: 11 Theme spectrum -|24: 12 Theme harvest -|25: 13 Theme clay -|26: 14 Theme forge_black -|27: 15 Theme forge_soft -|28: 16 Theme orchard_black -|29: 17 Theme acme -|30: 18 Theme lapis +|30: 0-1 d,#22252b, 2-99 #73777e,#22252b, +== snap step-forge-soft grid=100x31 cursor=7,26 +|17: 6 Theme daybreak +|18: 7 Theme atelier +|19: 8 Theme forge +|20: 9 Theme lagoon +|21: 10 Theme solarium +|22: 11 Theme spectrum +|23: 12 Theme harvest +|24: 13 Theme clay +|25: 14 Theme forge_black +|26: 15 Theme forge_soft +|27: 16 Theme orchard_black +|28: 17 Theme acme +|29: 18 Theme lapis +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 23 messages · SPC h m == style step-forge-soft grid=100x31 |0: 0-1 d,#2a2d34, 2-99 #c5c9d2,#2a2d34, |1: 0-1 d,#6d7f6c, 2-99 #d1d5de,#404a58, @@ -454,35 +471,35 @@ |14: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |15: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#404a58, 32-39 #f8cba7,#404a58, 40-99 #d1d5de,#404a58, -|17: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-92 #bfc3cc,#35383e, 93-93 #bfc3cc,#2a2d34, 94-99 #c5c9d2,#2a2d34, +|17: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |18: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |19: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |20: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|21: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, +|21: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |22: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |23: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |24: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |25: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|26: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|27: 0-0 d,#3d4047, 1-1 d,#35383e, 2-3 d,#35383e,b 4-6 #8e9199,#35383e,b 7-99 #bfc3cc,#35383e, +|26: 0-0 d,#3d4047, 1-1 d,#35383e, 2-3 d,#35383e,b 4-6 #8e9199,#35383e,b 7-99 #bfc3cc,#35383e, +|27: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |28: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |29: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|30: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -== snap step-orchard-black grid=100x31 cursor=7,27 -|17: 6 Theme daybreak Theme -|18: 7 Theme atelier -|19: 8 Theme forge -|20: 9 Theme lagoon -|21: 10 Theme solarium -|22: 11 Theme spectrum -|23: 12 Theme harvest -|24: 13 Theme clay -|25: 14 Theme forge_black -|26: 15 Theme forge_soft -|27: 16 Theme orchard_black -|28: 17 Theme acme -|29: 18 Theme lapis -|30: 19 +|30: 0-1 d,#2a2d34, 2-99 #777b83,#2a2d34, +== snap step-orchard-black grid=100x31 cursor=7,26 +|17: 7 Theme atelier +|18: 8 Theme forge +|19: 9 Theme lagoon +|20: 10 Theme solarium +|21: 11 Theme spectrum +|22: 12 Theme harvest +|23: 13 Theme clay +|24: 14 Theme forge_black +|25: 15 Theme forge_soft +|26: 16 Theme orchard_black +|27: 17 Theme acme +|28: 18 Theme lapis +|29: 19 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 25 messages · SPC h m == style step-orchard-black grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -501,35 +518,35 @@ |14: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |15: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |16: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, -|17: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-92 #f2f8ef,#000000, 93-93 #f2f8ef,#1d2824, 94-99 #b2c3b8,#1d2824, +|17: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |18: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |19: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|20: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, +|20: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |21: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |22: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |23: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |24: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |25: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|26: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|27: 0-0 d,#111813, 1-1 d,#000000, 2-3 d,#000000,b 4-6 #616f64,#000000,b 7-99 #f2f8ef,#000000, +|26: 0-0 d,#111813, 1-1 d,#000000, 2-3 d,#000000,b 4-6 #616f64,#000000,b 7-99 #f2f8ef,#000000, +|27: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |28: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|29: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|30: 0-0 d,#111813, 1-3 d,#000000, 4-99 #59675c,#000000, -== snap step-acme grid=100x31 cursor=7,27 -|17: 7 Theme atelier Theme -|18: 8 Theme forge -|19: 9 Theme lagoon -|20: 10 Theme solarium -|21: 11 Theme spectrum -|22: 12 Theme harvest -|23: 13 Theme clay -|24: 14 Theme forge_black -|25: 15 Theme forge_soft -|26: 16 Theme orchard_black -|27: 17 Theme acme -|28: 18 Theme lapis -|29: 19 -|30: 20 # Visual Studio Code +|29: 0-0 d,#111813, 1-3 d,#000000, 4-99 #59675c,#000000, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, +== snap step-acme grid=100x31 cursor=7,26 +|17: 8 Theme forge +|18: 9 Theme lagoon +|19: 10 Theme solarium +|20: 11 Theme spectrum +|21: 12 Theme harvest +|22: 13 Theme clay +|23: 14 Theme forge_black +|24: 15 Theme forge_soft +|25: 16 Theme orchard_black +|26: 17 Theme acme +|27: 18 Theme lapis +|28: 19 +|29: 20 # Visual Studio Code +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 27 messages · SPC h m == style step-acme grid=100x31 |0: 0-1 d,#eaffff, 2-99 #000000,#eaffff, |1: 0-1 d,#8888cc, 2-99 #000000,#eaffff, @@ -548,35 +565,35 @@ |14: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |15: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |16: 0-1 d,#8888cc, 2-31 #000000,#eaffff, 32-39 #000099,#eaffff, 40-99 #000000,#eaffff, -|17: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-92 #000000,#ffffea, 93-99 #000000,#eaffff, +|17: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |18: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|19: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|19: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |20: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |21: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |22: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |23: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |24: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |25: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|26: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|27: 0-0 d,#99994c, 1-1 d,#ffffea, 2-3 d,#ffffea,b 4-6 #999980,#ffffea,b 7-99 #000000,#ffffea, -|28: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|29: 0-0 d,#99994c, 1-3 d,#ffffea, 4-99 #999980,#ffffea, -|30: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -== snap step-lapis grid=100x31 cursor=7,27 -|17: 8 Theme forge Theme -|18: 9 Theme lagoon -|19: 10 Theme solarium -|20: 11 Theme spectrum -|21: 12 Theme harvest -|22: 13 Theme clay -|23: 14 Theme forge_black -|24: 15 Theme forge_soft -|25: 16 Theme orchard_black -|26: 17 Theme acme -|27: 18 Theme lapis -|28: 19 -|29: 20 # Visual Studio Code -|30: 21 Theme dark_plus +|26: 0-0 d,#99994c, 1-1 d,#ffffea, 2-3 d,#ffffea,b 4-6 #999980,#ffffea,b 7-99 #000000,#ffffea, +|27: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|28: 0-0 d,#99994c, 1-3 d,#ffffea, 4-99 #999980,#ffffea, +|29: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|30: 0-1 d,#eaffff, 2-99 #757f7f,#eaffff, +== snap step-lapis grid=100x31 cursor=7,26 +|17: 9 Theme lagoon +|18: 10 Theme solarium +|19: 11 Theme spectrum +|20: 12 Theme harvest +|21: 13 Theme clay +|22: 14 Theme forge_black +|23: 15 Theme forge_soft +|24: 16 Theme orchard_black +|25: 17 Theme acme +|26: 18 Theme lapis +|27: 19 +|28: 20 # Visual Studio Code +|29: 21 Theme dark_plus +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 29 messages · SPC h m == style step-lapis grid=100x31 |0: 0-1 d,#0f1a4a, 2-99 #9aa6d9,#0f1a4a, |1: 0-1 d,#8a3a3a, 2-99 #eee6d2,#25397d, @@ -595,8 +612,8 @@ |14: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |15: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |16: 0-1 d,#e8c46a, 2-31 #eee6d2,#25397d, 32-39 #f2d280,#25397d, 40-99 #eee6d2,#25397d, -|17: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-92 #eee6d2,#0a1030, 93-93 #eee6d2,#0f1a4a, 94-99 #9aa6d9,#0f1a4a, -|18: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|17: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|18: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |19: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |20: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |21: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, @@ -604,26 +621,26 @@ |23: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |24: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |25: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|26: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|27: 0-0 d,#050a24, 1-1 d,#0a1030, 2-3 d,#0a1030,b 4-6 #6a7ab8,#0a1030,b 7-99 #eee6d2,#0a1030, -|28: 0-0 d,#050a24, 1-3 d,#0a1030, 4-99 #5a6aa8,#0a1030, +|26: 0-0 d,#050a24, 1-1 d,#0a1030, 2-3 d,#0a1030,b 4-6 #6a7ab8,#0a1030,b 7-99 #eee6d2,#0a1030, +|27: 0-0 d,#050a24, 1-3 d,#0a1030, 4-99 #5a6aa8,#0a1030, +|28: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |29: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|30: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -== snap step-dark-plus grid=100x31 cursor=7,27 -|17: 11 Theme spectrum Theme -|18: 12 Theme harvest -|19: 13 Theme clay -|20: 14 Theme forge_black -|21: 15 Theme forge_soft -|22: 16 Theme orchard_black -|23: 17 Theme acme -|24: 18 Theme lapis -|25: 19 -|26: 20 # Visual Studio Code -|27: 21 Theme dark_plus -|28: 22 -|29: 23 # Solarized -|30: 24 Theme solarized_dark +|30: 0-1 d,#0f1a4a, 2-99 #546091,#0f1a4a, +== snap step-dark-plus grid=100x31 cursor=7,26 +|17: 12 Theme harvest +|18: 13 Theme clay +|19: 14 Theme forge_black +|20: 15 Theme forge_soft +|21: 16 Theme orchard_black +|22: 17 Theme acme +|23: 18 Theme lapis +|24: 19 +|25: 20 # Visual Studio Code +|26: 21 Theme dark_plus +|27: 22 +|28: 23 # Solarized +|29: 24 Theme solarized_dark +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 31 messages · SPC h m == style step-dark-plus grid=100x31 |0: 0-1 d,#007acc, 2-99 #ffffff,#007acc, |1: 0-1 d,#458276, 2-99 #ffffff,#1e1e1e, @@ -642,35 +659,35 @@ |14: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |15: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |16: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, -|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-92 #d4d4d4,#1e1e1e, 93-93 #d4d4d4,#3c3c3c, 94-99 #a7a7a7,#3c3c3c, +|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |20: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |21: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |22: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |23: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|24: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|25: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, -|26: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|27: 0-1 d,#1e1e1e, 2-3 d,#1e1e1e,b 4-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, -|28: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|24: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|25: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|26: 0-1 d,#1e1e1e, 2-3 d,#1e1e1e,b 4-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, +|27: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|28: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |29: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|30: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -== snap step-solarized-dark grid=100x31 cursor=7,27 -|17: 14 Theme forge_black Theme -|18: 15 Theme forge_soft -|19: 16 Theme orchard_black -|20: 17 Theme acme -|21: 18 Theme lapis -|22: 19 -|23: 20 # Visual Studio Code -|24: 21 Theme dark_plus -|25: 22 -|26: 23 # Solarized -|27: 24 Theme solarized_dark -|28: 25 Theme solarized_light -|29: 26 -|30: 27 # Dracula +|30: 0-1 d,#007acc, 2-99 #7fbce5,#007acc, +== snap step-solarized-dark grid=100x31 cursor=7,26 +|17: 15 Theme forge_soft +|18: 16 Theme orchard_black +|19: 17 Theme acme +|20: 18 Theme lapis +|21: 19 +|22: 20 # Visual Studio Code +|23: 21 Theme dark_plus +|24: 22 +|25: 23 # Solarized +|26: 24 Theme solarized_dark +|27: 25 Theme solarized_light +|28: 26 +|29: 27 # Dracula +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 33 messages · SPC h m == style step-solarized-dark grid=100x31 |0: 0-1 d,#657b83, 2-99 #01090b,#657b83, |1: 0-1 d,#758a41, 2-99 #073642,#93a1a1, @@ -689,21 +706,22 @@ |14: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |15: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |16: 0-1 d,#2483c5, 2-31 #073642,#93a1a1, 32-39 #2d3502,#93a1a1, 40-99 #073642,#93a1a1, -|17: 0-0 d,#839496, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-92 #839496,#002b36, 93-93 #839496,#657b83, 94-99 #01090b,#657b83, +|17: 0-0 d,#839496, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |18: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |19: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |20: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|21: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|22: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, +|21: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, +|22: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |23: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|24: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|25: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, -|26: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|27: 0-0 d,#eee8d5, 1-1 d,#002b36, 2-3 d,#002b36,b 4-6 #586e75,#002b36,b 7-99 #839496,#002b36, -|28: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|29: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, -|30: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -== snap step-back grid=100x31 cursor=7,24 +|24: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, +|25: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, +|26: 0-0 d,#eee8d5, 1-1 d,#002b36, 2-3 d,#002b36,b 4-6 #586e75,#002b36,b 7-99 #839496,#002b36, +|27: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, +|28: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-99 #586e75,#002b36, +|29: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, +|30: 0-1 d,#657b83, 2-99 #334247,#657b83, +== snap step-back grid=100x31 cursor=7,23 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 35 messages · SPC h m == style step-back grid=100x31 |0: 0-1 d,#007acc, 2-99 #ffffff,#007acc, |1: 0-1 d,#458276, 2-99 #ffffff,#1e1e1e, @@ -722,35 +740,34 @@ |14: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |15: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |16: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, -|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-92 #d4d4d4,#1e1e1e, 93-93 #d4d4d4,#3c3c3c, 94-99 #a7a7a7,#3c3c3c, +|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |20: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|21: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|22: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, -|23: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|24: 0-1 d,#1e1e1e, 2-3 d,#1e1e1e,b 4-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, -|25: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|21: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|22: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|23: 0-1 d,#1e1e1e, 2-3 d,#1e1e1e,b 4-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, +|24: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|25: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |26: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |27: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|28: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|29: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, -|30: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -== snap tail grid=100x31 cursor=7,29 -|17: 304 Theme wolf_alabaster_dark -|18: 305 Theme wolf_alabaster_dark_bg -|19: 306 Theme wolf_alabaster_dark_mono -|20: 307 Theme wolf_alabaster_light -|21: 308 Theme wolf_alabaster_light_bg -|22: 309 Theme wolf_alabaster_light_mono -|23: 310 Theme yellowed -|24: 311 Theme yo -|25: 312 Theme yo_berry -|26: 313 Theme yo_light -|27: 314 Theme zed_onedark -|28: 315 Theme zed_onelight -|29: 316 Theme zenburn -|30: ~ +|28: 0-3 d,#1e1e1e, 4-99 #858585,#1e1e1e, +|29: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|30: 0-1 d,#007acc, 2-99 #7fbce5,#007acc, +== snap tail grid=100x31 cursor=7,28 +|17: 305 Theme wolf_alabaster_dark_bg +|18: 306 Theme wolf_alabaster_dark_mono +|19: 307 Theme wolf_alabaster_light +|20: 308 Theme wolf_alabaster_light_bg +|21: 309 Theme wolf_alabaster_light_mono +|22: 310 Theme yellowed +|23: 311 Theme yo +|24: 312 Theme yo_berry +|25: 313 Theme yo_light +|26: 314 Theme zed_onedark +|27: 315 Theme zed_onelight +|28: 316 Theme zenburn +|29: ~ == snap picked grid=100x31 cursor=7,3 |16: 14 line 14 |17: 15 line 15 @@ -766,7 +783,7 @@ |27: 25 line 25 |28: 26 line 26 |29: 27 line 27 -|30: 28 line 28 +|30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Del 36 messages · SPC h m == style picked grid=100x31 |2: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-37 #cbe5fc,#1e1e1e, 38-99 #ffffff,#1e1e1e, |3: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-4 d,#1e1e1e,b 5-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, @@ -780,12 +797,9 @@ |14: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |15: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |16: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|20: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|21: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|22: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|21: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|23: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |24: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|25: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|29: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|28: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, diff --git a/test/snapshots/topbarexec.golden b/test/snapshots/topbarexec.golden index 971761d8..5a6ebf64 100644 --- a/test/snapshots/topbarexec.golden +++ b/test/snapshots/topbarexec.golden @@ -10,30 +10,36 @@ | | | -| | /tmp/pardes-snap/topbarexec/cwd Term+bash S | ave Mode Filter Collapse Del | ls | zmarkfile.txt +| +| +| +| +| +| /tmp/pardes-snap/topbarexec/cwd == snap noarg-runs grid=90x21 cursor=14,5 |1: New Term Find Grep Joincol Delcol New T╭────────────────────────────────────╮ |2: /tmp/pardes-snap/topbarexec/cwd Term+bash S /tmp/│pardes resizes=1 │ |3: ave Mode Filter Collapse Del ave M│theme orchard │ -|4: ls Debug ls │font default │ +|4: ls ls │font default │ |5: zmarkfile.txt zmark│terms 3 cols 2 │ -|6: │active #0 43x8 │ -|7: │scroll 0/8 │ +|6: │active #0 43x7 │ +|7: │scroll 0/7 │ |8: │frame virtual clock │ |9: │ │ |10: │ │ -|11: │ │ -|12: /tmp/pardes-snap/topbarexec/cwd Term+bash S │ │ -|13: ave Mode Filter Collapse Del ╰────────────────────────────────────╯ +|11: /tmp/pardes-snap/topbarexec/cwd Term+bash S │ │ +|12: ave Mode Filter Collapse Del │ │ +|13: ls ╰────────────────────────────────────╯ +|20: ✓ @p1 Debug 1 message · SPC h m == snap arg-still-spliced grid=90x21 cursor=14,4 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/topbarexec/cwd Term+bash S /tmp/pardes-snap/topbarexec/cwd Term+bash S |3: ave Mode Filter Collapse Del ave Mode Filter Collapse Del -|4: zmarkfile.txt Find ls +|4: zmarkfile.txt ls |5: zmarkfile.txt |6: +Search 1/1 Del |7: Find zmarkfile.txt @@ -46,3 +52,4 @@ |14: ave Mode Filter Collapse Del |15: ls |16: zmarkfile.txt +|20: ✓ @p1 Find 2 messages · SPC h m diff --git a/test/snapshots/tty.golden b/test/snapshots/tty.golden index a715c990..8d9e5f1e 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil | ter Collapse Del | ls | m.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tty/cwd == snap tty-echo grid=100x31 cursor=4,8 |6: $ echo SNAP''OK |7: SNAPOK @@ -29,14 +39,13 @@ |4: ls ls |6: echo SNAP''OK |8: -== snap shift-esc-normal grid=100x31 cursor=4,21 -|4: ls Last ls -== snap ctrl-b-on grid=100x31 cursor=4,21 -|4: ls ls -|17: $ /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil -|19: $ ls -|21: $ -== snap ctrl-b-off grid=100x31 cursor=4,21 -|17: /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil -|19: ls -|21: +== snap shift-esc-normal grid=100x31 cursor=4,20 +|30: ✓ @p1 Last 1 message · SPC h m +== snap ctrl-b-on grid=100x31 cursor=4,20 +|16: $ /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil +|18: $ ls +|20: $ +== snap ctrl-b-off grid=100x31 cursor=4,20 +|16: /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil +|18: ls +|20: diff --git a/test/snapshots/ttyclick.golden b/test/snapshots/ttyclick.golden index a65efdd1..9334dd01 100644 --- a/test/snapshots/ttyclick.golden +++ b/test/snapshots/ttyclick.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/ttyclick/cwd Term+bash Save Mod | e Filter Collapse Del | ls | probe.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyclick/cwd == snap tty-tagedit grid=100x31 cursor=32,2 == snap tty-tagexit grid=100x31 cursor=4,6 == snap ins-bodyclick grid=100x31 cursor=11,4 diff --git a/test/snapshots/ttyedit.golden b/test/snapshots/ttyedit.golden index e39ed6bb..6328c54c 100644 --- a/test/snapshots/ttyedit.golden +++ b/test/snapshots/ttyedit.golden @@ -15,21 +15,30 @@ | | | -| | /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode | Filter Collapse Del | ls | words.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyedit/cwd == snap split grid=100x31 cursor=2,9 |2: ^ /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode -|4: next replaces it (Ctrl-b types to the program) ls |8: one t |9: wo three |10: four five six |11: seven eight nine +|30: · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draw 1 message · SPC h m == snap opened grid=100x31 cursor=6,10 |2: /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode -|4: ls ls |10: OPEN |11: four five six |12: seven eight nine diff --git a/test/snapshots/ttyfollow.golden b/test/snapshots/ttyfollow.golden index 2c0ca230..b7e9f527 100644 --- a/test/snapshots/ttyfollow.golden +++ b/test/snapshots/ttyfollow.golden @@ -1,11 +1,10 @@ -== snap held-pre grid=100x31 cursor=4,16 +== snap held-pre grid=100x31 cursor=4,15 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo | de Filter Collapse Del de Filter Collapse Del -| 186 ls -| 187 s.txt -| 188 +| 187 ls +| 188 s.txt | 189 | 190 | 191 @@ -20,25 +19,35 @@ | de Filter Collapse Del | ls | s.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyfollow/cwd == snap held-post grid=100x31 cursor=54,9 |2: /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo$ /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo -|4: 186 $ ls -|6: 188 $ touch go; until test -f done1; do sleep 0.05; -|7: 189 done; echo SYN''CED -|8: 190 SYNCED -|9: 191 $ -== snap tty-follows grid=100x31 cursor=4,16 +|4: 187 $ ls +|6: 189 $ touch go; until test -f done1; do sleep 0.05; +|7: 190 done; echo SYN''CED +|8: 191 SYNCED +|9: 192 $ +== snap tty-follows grid=100x31 cursor=4,15 |2: $ /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo$ /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo -|4: 293 $ ls -|5: 294 s.txt -|6: 295 $ touch go; until test -f done1; do sleep 0.05; -|7: 296 done; echo SYN''CED -|8: 297 SYNCED -|9: 298 $ -|10: 299 -|11: 300 -|12: [1]+ Done ( until test -f -|13: go; do -|14: sleep 0.05; -|15: done; seq 201 260; touch done1 ) -|16: $ +|4: 294 $ ls +|5: 295 s.txt +|6: 296 $ touch go; until test -f done1; do sleep 0.05; +|7: 297 done; echo SYN''CED +|8: 298 SYNCED +|9: 299 $ +|10: 300 +|11: [1]+ Done ( until test -f +|12: go; do +|13: sleep 0.05; +|14: done; seq 201 260; touch done1 ) +|15: $ diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden index de9471a9..7f7413ec 100644 --- a/test/snapshots/ttyhelp.golden +++ b/test/snapshots/ttyhelp.golden @@ -22,8 +22,15 @@ | | /tmp/pardes-snap/ttyhelp/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyhelp/cwd == snap helped grid=100x31 cursor=7,6 -|3: $ Help |5: /tmp/pardes-snap/ttyhelp/cwd/+Help Save Term Collapse Follow Del |6: 1 pardes builtins: each one's keys and its name, then what it does. Run one by its keys, or by↩ |7: its name anywhere: B2 on the word, Exec , a line of a ctl file, or `pardes do `↩ @@ -40,5 +47,5 @@ |18: 7 SPC P ClipPasteBefore |19: 8 Paste the system clipboard before the selection. |20: 9 +|30: ✓ @p1 Help 1 message · SPC h m == snap leaderworks grid=100x31 cursor=7,6 -|3: $ diff --git a/test/snapshots/ttylook.golden b/test/snapshots/ttylook.golden index 49a17f97..252640c5 100644 --- a/test/snapshots/ttylook.golden +++ b/test/snapshots/ttylook.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/ttylook/cwd Term+bash Save Mode Filter Co | llapse Del | ls | big.txt plain.txt sub +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttylook/cwd == style tok1 grid=120x31 |0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, @@ -37,11 +47,11 @@ |13: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |14: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |15: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|16: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|17: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, -|18: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|16: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|17: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |21: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |22: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |23: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, @@ -51,20 +61,21 @@ |27: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |28: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |29: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|30: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|30: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, == snap tok2 grid=120x31 cursor=11,5 == snap tokback grid=120x31 cursor=2,5 == snap insert grid=120x31 cursor=4,5 |5: nnbig.txt plain.txt sub big.txt plain.txt sub +|30: · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it ( 1 message · SPC h m == snap tok3 grid=120x31 cursor=22,5 |5: big.txt plain.txt sub big.txt plain.txt sub -== snap diropen grid=120x31 cursor=7,8 -|7: /tmp/pardes-snap/ttylook/cwd/sub/ Get Term Collapse Del -|8: 1 +== snap diropen grid=120x31 cursor=7,22 +|21: /tmp/pardes-snap/ttylook/cwd/sub/ Get Term Collapse Del +|22: 1 == snap noop grid=120x31 cursor=2,5 == snap cursorword grid=120x31 cursor=3,4 -|22: /tmp/pardes-snap/ttylook/cwd/+Search Save Term Collapse Fo -|23: llow LocationsConfig Del -|24: 1 @p1:1:1-2 -|25: 2 ls -|26: ~ +|7: /tmp/pardes-snap/ttylook/cwd/+Search Save Term Collapse Fo +|8: llow LocationsConfig Del +|9: 1 @p1:1:1-2 +|10: 2 ls +|11: ~ diff --git a/test/snapshots/ttyonly.golden b/test/snapshots/ttyonly.golden index ef0a5385..4c640cae 100644 --- a/test/snapshots/ttyonly.golden +++ b/test/snapshots/ttyonly.golden @@ -22,6 +22,14 @@ | | /tmp/pardes-snap/ttyonly/cwd/+New Save Term Collapse Follow Del | 1 +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyonly/cwd == style ttyonly grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, @@ -53,4 +61,4 @@ |27: 0-0 d,#608269, 1-99 d,#0d1410, |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, -|30: 0-0 d,#608269, 1-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/ttypaste.golden b/test/snapshots/ttypaste.golden index b02c97d4..35364d52 100644 --- a/test/snapshots/ttypaste.golden +++ b/test/snapshots/ttypaste.golden @@ -15,9 +15,19 @@ | | | -| | /tmp/pardes-snap/ttypaste/cwd Term+bash Save Mod | e Filter Collapse Del | ls | src.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttypaste/cwd == snap ctrl-v-with-empty-register-is-inert grid=100x31 cursor=18,6 diff --git a/test/snapshots/ttyprompt.golden b/test/snapshots/ttyprompt.golden index ef3c5cea..e0f76455 100644 --- a/test/snapshots/ttyprompt.golden +++ b/test/snapshots/ttyprompt.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/ttyprompt/cwd Term+bash Save Mo | de Filter Collapse Del | ls | probe.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttyprompt/cwd == snap in-tty grid=100x31 cursor=17,6 |2: $ /tmp/pardes-snap/ttyprompt/cwd Term+bash Save Mo /tmp/pardes-snap/ttyprompt/cwd Term+bash Save Mo |4: $ ls ls diff --git a/test/snapshots/ttytaken.golden b/test/snapshots/ttytaken.golden index ee72ccc2..337072f1 100644 --- a/test/snapshots/ttytaken.golden +++ b/test/snapshots/ttytaken.golden @@ -4,12 +4,38 @@ | /tmp/pardes-snap/ttytaken/cwd Term+bash Save Mode Filter Collapse Del | ls | big.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/ttytaken/cwd == snap at-prompt grid=210x31 cursor=4,5 |2: /tmp/pardes-snap/ttytaken/cwd Term+bash Save Mode Filter Collapse Del @`echo TAKEN''ONE` -|3: ls Exec |5: echo TAKEN''ONE |6: TAKENONE -== snap paging grid=210x31 cursor=9,30 +|30: ✓ @p1 Exec 1 message · SPC h m +== snap paging grid=210x31 cursor=9,29 |3: line 1 |4: line 2 |5: line 3 @@ -36,16 +62,15 @@ |26: line 24 |27: line 25 |28: line 26 -|29: line 27 -|30: big.txt +|29: big.txt == snap spawned grid=210x31 cursor=hidden |2: /tmp/pardes-snap/ttytaken/cwd Term+bash Save Mode Filter Collapse Del @`echo TAKEN''ONE` @`echo TAKEN''TWO` -|3: line 1 Exec -|16: : -|17: /tmp/pardes-snap/ttytaken/cwd (echo TAKEN''TWO) exit 0 Kill Save Collapse Del -|18: % echo TAKEN''TWO -|19: TAKENTWO -|20: exit 0 +|15: : +|16: /tmp/pardes-snap/ttytaken/cwd (echo TAKEN''TWO) exit 0 Kill Save Collapse Del +|17: % echo TAKEN''TWO +|18: TAKENTWO +|19: exit 0 +|20: |21: |22: |23: @@ -55,4 +80,4 @@ |27: |28: |29: -|30: +|30: ✓ @p1 Exec ×2 1 message · SPC h m diff --git a/test/snapshots/tutor.golden b/test/snapshots/tutor.golden index 7d285c18..a04c8ca2 100644 --- a/test/snapshots/tutor.golden +++ b/test/snapshots/tutor.golden @@ -1,8 +1,22 @@ -== snap tutor grid=150x31 cursor=7,6 +== snap tutor grid=150x31 cursor=7,20 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/tutor/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/tutor/cwd Term+bash Save Mode Filter Collapse Del -| ls Tutor ls +| ls ls +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/tutor/cwd Term+bash Save Mode Filter Collapse Del +| ls | | /tmp/pardes-snap/tutor/cwd/+Tutor Save Term Collapse Follow Del | 1 @@ -14,7 +28,5 @@ | 7 once and the second `Del` discards. `Tutor` or SPC h t opens a | 8 fresh copy. | 9 -| 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part↩ -| . -| /tmp/pardes-snap/tutor/cwd Term+bash Save Mode Filter Collapse Del -| ls +| 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part +| ✓ @p1 Tutor 1 message · SPC h m diff --git a/test/snapshots/wheeldrift.golden b/test/snapshots/wheeldrift.golden index 393a57e1..832cc045 100644 --- a/test/snapshots/wheeldrift.golden +++ b/test/snapshots/wheeldrift.golden @@ -3,7 +3,7 @@ | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/wheeldrift/cwd/drift.txt Save Term Collapse Follow | Del -| 1 line 1_0123456789_abcdefghij_ZEND Wrap +| 1 line 1_0123456789_abcdefghij_ZEND | 2 line 2_0123456789_abcdefghij_ZEND | 3 line 3_0123456789_abcdefghij_ZEND | 4 line 4_0123456789_abcdefghij_ZEND @@ -15,7 +15,7 @@ | 10 line 10_0123456789_abcdefghij_ZEND | 11 line 11_0123456789_abcdefghij_ZEND | 12 line 12_0123456789_abcdefghij_ZEND -| 13 line 13_0123456789_abcdefghij_ZEND +| ✓ /tmp/pardes-snap/wheeldrift/cwd/drift.txt Wra 1 message · SPC h m == snap drifted grid=70x17 cursor=hidden |4: 6 line 6_0123456789_abcdefghij_ZEND |5: 7 line 7_0123456789_abcdefghij_ZEND @@ -29,7 +29,6 @@ |13: 15 line 15_0123456789_abcdefghij_ZEND |14: 16 line 16_0123456789_abcdefghij_ZEND |15: 17 line 17_0123456789_abcdefghij_ZEND -|16: 18 line 18_0123456789_abcdefghij_ZEND == snap paying grid=70x17 cursor=hidden == snap moved grid=70x17 cursor=hidden |4: 6 123456789_abcdefghij_ZEND @@ -44,7 +43,6 @@ |13: 15 0123456789_abcdefghij_ZEND |14: 16 0123456789_abcdefghij_ZEND |15: 17 0123456789_abcdefghij_ZEND -|16: 18 0123456789_abcdefghij_ZEND == snap rearmed grid=70x17 cursor=hidden |4: 5 123456789_abcdefghij_ZEND |5: 6 123456789_abcdefghij_ZEND @@ -58,4 +56,3 @@ |13: 14 0123456789_abcdefghij_ZEND |14: 15 0123456789_abcdefghij_ZEND |15: 16 0123456789_abcdefghij_ZEND -|16: 17 0123456789_abcdefghij_ZEND diff --git a/test/snapshots/winch.golden b/test/snapshots/winch.golden index bb994371..64d527c8 100644 --- a/test/snapshots/winch.golden +++ b/test/snapshots/winch.golden @@ -15,10 +15,21 @@ | | | -| | /tmp/pardes-snap/winch/cwd Term+bash Save Mode F | ilter Collapse Del | ls +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/winch/cwd == snap resized grid=106x35 cursor=4,8 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol @@ -38,7 +49,20 @@ | | | -| | /tmp/pardes-snap/winch/cwd Term+bash Save Mode Filt | er Collapse Del | ls +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/winch/cwd diff --git a/test/snapshots/windownav.golden b/test/snapshots/windownav.golden index 9e7db6f6..d8da122b 100644 --- a/test/snapshots/windownav.golden +++ b/test/snapshots/windownav.golden @@ -6,26 +6,52 @@ | 1 alpha ls | 2 beta w.txt | 3 gamma +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| ✓ @p2 Window 1 message · SPC h m == snap to-term grid=100x31 cursor=54,6 -|4: 1 alpha Last ls +|30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Last 2 messages · SPC h m == snap back-to-file grid=100x31 cursor=7,4 -|4: 1 alpha ls Last +|30: ✓ @p2 Last 3 messages · SPC h m == snap esc-to-term grid=100x31 cursor=54,6 -|4: 1 alpha Last ls +|30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Last 4 messages · SPC h m == snap esc-back-to-file grid=100x31 cursor=7,4 -|4: 1 alpha ls Last +|30: ✓ @p2 Last 5 messages · SPC h m == snap altn grid=100x31 cursor=4,11 -|4: 1 alpha ls |7: /tmp/pardes-snap/windownav/cwd Term+bash Save Mo |8: de Filter Collapse Del |9: ls |10: w.txt == snap up grid=100x31 cursor=7,4 +|30: ✓ @p3 Window 6 messages · SPC h m == snap right grid=100x31 cursor=54,6 +|30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Window 7 messages · SPC h m == snap left grid=100x31 cursor=7,4 +|30: ✓ @p2 Window 8 messages · SPC h m == snap down grid=100x31 cursor=4,11 +|30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Window 9 messages · SPC h m == snap toggle-doc grid=100x31 cursor=7,4 -|9: ls Last +|30: ✓ @p3 Last 10 messages · SPC h m == snap toggle-back grid=100x31 cursor=4,11 -|4: 1 alpha Last ls -|9: ls +|30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Last 11 messages · SPC h m diff --git a/test/snapshots/windowops.golden b/test/snapshots/windowops.golden index ab97a868..3b9af25b 100644 --- a/test/snapshots/windowops.golden +++ b/test/snapshots/windowops.golden @@ -15,11 +15,21 @@ | | | -| | /tmp/pardes-snap/windowops/cwd Term+bash Save Mo | de Filter Collapse Del | ls | w.txt +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/windowops/cwd == snap hover-h grid=100x31 cursor=4,6 == snap hborder-done grid=100x31 cursor=4,6 |13: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo @@ -29,7 +39,6 @@ |17: |18: |19: -|20: == snap move-preview grid=100x31 cursor=4,17 == snap moved grid=100x31 cursor=4,17 == snap altn grid=100x31 cursor=4,22 @@ -38,20 +47,22 @@ |20: ls |21: w.txt == snap focus-right grid=100x31 cursor=54,6 +|30: ✓ @p4 Window 1 message · SPC h m == snap debug-on grid=100x31 cursor=54,6 |1: New Term Find Grep Joincol Delcol New Term F╭────────────────────────────────────╮ |2: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo /tmp/parde│pardes resizes=1 │ |3: de Filter Collapse Del de Filter │theme orchard │ |4: ls ls │font default │ |5: w.txt w.txt │terms 4 cols 2 │ -|6: │active #2 48x27 │ -|7: │scroll 0/27 │ +|6: │active #2 48x26 │ +|7: │scroll 0/26 │ |8: │frame virtual clock │ |9: │ │ |10: │ │ |11: │ │ |12: │ │ |13: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo ╰────────────────────────────────────╯ +|30: ✓ @p3 Debug 2 messages · SPC h m == style debug-on grid=100x31 |0: 0-1 d,#1d2824, 2-74 #b2c3b8,#1d2824, 75-79 #f5f7ee,#3c614a, 80-80 #f5f7ee,#1d2824, 81-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #b2c3b8,#1d2824, 50-51 #b2c3b8,#887455, 52-61 #becfc4,#314738, 62-99 d,d, @@ -83,12 +94,12 @@ |27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|30: 0-1 d,#1d2824, 2-99 #67756e,#1d2824, == snap debug-off grid=100x31 cursor=54,6 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo /tmp/pardes-snap/windowops/cwd Term+bash Save Mo |3: de Filter Collapse Del de Filter Collapse Del -|4: ls ls Debug +|4: ls ls |5: w.txt w.txt |6: |7: @@ -98,3 +109,4 @@ |11: |12: |13: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo +|30: ✓ @p3 Debug ×2 2 messages · SPC h m diff --git a/test/snapshots/wrap.golden b/test/snapshots/wrap.golden index ba115b3f..f67afc70 100644 --- a/test/snapshots/wrap.golden +++ b/test/snapshots/wrap.golden @@ -11,14 +11,19 @@ | 2 second line | 3 third line | ~ +| +| +| /tmp/pardes-snap/wrap/cwd/long.txt:1 == snap clicked grid=48x15 cursor=17,4 == snap logical-j grid=48x15 cursor=17,9 +|14: /tmp/pardes-snap/wrap/cwd/long.txt:2 == snap visual-gj grid=48x15 cursor=10,5 +|14: /tmp/pardes-snap/wrap/cwd/long.txt:1 == snap visual-gj-again grid=48x15 cursor=10,6 == snap visual-gk grid=48x15 cursor=10,5 == snap visual-count-gj grid=48x15 cursor=10,7 == snap off grid=48x15 cursor=hidden -|4: 1 0---------1---------2---------3---- Wrap +|4: 1 0---------1---------2---------3---------4 |5: 2 second line |6: 3 third line |7: ~ @@ -26,7 +31,9 @@ |9: |10: |11: +|14: ✓ /tmp/pardes-snap/wrap/c 1 message · SPC h m == snap on-again grid=48x15 cursor=10,7 +|4: 1 0---------1---------2---------3---------↩ |5: 4---------5---------6---------7---------↩ |6: 8---------9---------A---------B---------↩ |7: C---------D---------E---------F---------↩ @@ -43,3 +50,10 @@ | 2 second line | 3 third line | ~ +| +| +| +| +| +| +| /tmp/pardes-snap/wrap/cwd/long.txt:1 diff --git a/test/snapshots/yankpaste.golden b/test/snapshots/yankpaste.golden index 6519db3e..2099cb82 100644 --- a/test/snapshots/yankpaste.golden +++ b/test/snapshots/yankpaste.golden @@ -9,13 +9,36 @@ | 5 line 4 | 6 line 5 | ~ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| /tmp/pardes-snap/yankpaste/cwd/f.txt:4 == snap linewise-above grid=100x31 cursor=13,7 |8: 6 line 2 |9: 7 line 4 |10: 8 line 5 |11: ~ +|30: /tmp/pardes-snap/yankpaste/cwd/f.txt:5 == snap charwise-inline grid=100x31 cursor=10,3 |3: 1 liline 1 +|30: /tmp/pardes-snap/yankpaste/cwd/f.txt:1 == snap blankline grid=100x31 cursor=7,5 |4: 2 |5: 3 @@ -24,3 +47,4 @@ |11: 9 line 4 |12: 10 line 5 |13: ~ +|30: /tmp/pardes-snap/yankpaste/cwd/f.txt:3 diff --git a/test/terminal.zig b/test/terminal.zig index b53b9f34..5cf853e7 100644 --- a/test/terminal.zig +++ b/test/terminal.zig @@ -270,7 +270,7 @@ test "rows asked for after a pane's cached rows were dropped, before the sweep, test "terminal Filter keys indexed truecolor OSC and background-only cells through the theme" { const testing = std.testing; // Raw index assertions require a theme that inherits the ANSI palette. - const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 18, .rows = 6 }); + const p = try Pardes.init(testing.allocator, .{ .startup_config = "Theme helix\n", .tty_only = true, .cols = 18, .rows = 7 }); defer p.deinit(); while (p.nextEffect()) |_| {} const pane = p.panes[0].?; -- cgit v1.3 From e91261ff4f4602afec14d2fb958fd3e51a4dc62d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 21:01:37 -0300 Subject: messages: a background question waits in its pane's tag and never takes the keyboard; SPC e gives it the keyboard, Esc leaves it waiting (pick-ui SPEC §10.2, §10.4, §3.2 asking, walk UI line C item 4): a file that changes on disk under unsaved text is now a question of its pane (one at a time: File.changed), its answers r Reload, k Keep mine and d Diff (Messages.Ask.answers); while the tag is at rest the question is drawn after the path as computed prefix text, 'changed on disk ▸ r Reload k Keep mine d Diff · SPC e to answer' (Messages.askingText; the tag's own words stay after it until the head of ruling R1 takes their place), its mark ? in the box and the notice row's '1 question · SPC e'; the keys stay the body's: View.answering (a pane's serial, the view's own keyboard state, ruling R4) is set by SPC e (item 5) and makes the answer's key answer it in handleKey's first slot, Esc leaving it waiting; the own-command questions (Del's side, a REPL's choice) keep that slot as they were; B2 on an answer's word in its tag answers it (exec.execute: Messages.answerWord); r reads the file again with the consent Get would ask for, k keeps the text and says so, d reads the disk's text (the host's read, taped) and shows where it parts from the buffer as ghost rows under that line, the disk's + lines first (Messages.diskDiff, Said.open: shown whatever the caret), d again hides them; an answer is logged ('... · answered Reload'); Messages.waitingAnswers is what a : lists first (for agent E); 9P /log says 'msg N changed on disk' (monkey9p's checker reads that); tests: Messages.zig 'a file changed on disk under unsaved text asks in its tag and never takes the keyboard: SPC e's keyboard answers, d shows the disk's lines as ghosts, Esc leaves it waiting, B2 on Reload reads it again', ninep/ctl.zig's disk-change test now finds the question; tui: core-test, shell-test, pane-test, behaviour-test pass; process-test: filewatch's golden takes the question (its tag row and its notice row), Restore's root-ctl case failed once under load and passes alone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- core/Core.zig | 4 + core/File.zig | 5 +- core/Messages.zig | 192 ++++++++++++++++++++++++++++++++++++++++ core/exec.zig | 2 + core/keys.zig | 17 ++++ core/ninep/ctl.zig | 4 +- core/tagline.zig | 7 +- test/monkey9p.zig | 2 +- test/snapshots/filewatch.golden | 5 +- 9 files changed, 231 insertions(+), 7 deletions(-) (limited to 'core/Core.zig') diff --git a/core/Core.zig b/core/Core.zig index 27a0da4f..92c81ba6 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -177,6 +177,10 @@ pub const View = struct { /// A key that waits for the next: the leader (SPC) or the window prefix /// (Ctrl-w), one at a time. prefix: enum { none, leader, window } = .none, + /// A background question SPC e gave the keyboard: the serial of the + /// pane it waits on (0: none). Its next key answers it; Esc leaves it + /// waiting (keys.zig handleKey). + answering: u32 = 0, /// The register the running normal command names (`"`); 0 for the /// default one. register: u21 = 0, diff --git a/core/File.zig b/core/File.zig index 58544b62..f611bbbd 100644 --- a/core/File.zig +++ b/core/File.zig @@ -2439,8 +2439,9 @@ pub fn changed(p: *Pardes, id: u8, bytes: []const u8) void { if (f.disk_newer == disk) return; f.disk_newer = disk; f.disk_newer_warned = false; - var said: pardes.Kind.Buf(limits.host_path_cap + 64) = .{}; - p.setMessage(.at(id), said.print("{s} changed on disk (get reloads it, Save overwrites it)", .{f.path[0..@min(f.path.len, limits.host_path_cap)]})); + // A question in its tag, never the keyboard's (pick-ui SPEC §10.2): + // one waiting already is the one about it. + if (p.messages.waiting(pane) == null) pardes.Messages.say(p, .question, id, "changed on disk").asks = .disk; var rec: [16]u8 = undefined; pardes.ctlfs.events.notePath(p, "changed", std.fmt.bufPrint(&rec, "{d}", .{pane.serial}) catch unreachable); // a u32 fits 16 return; diff --git a/core/Messages.zig b/core/Messages.zig index 282482ea..e421a32c 100644 --- a/core/Messages.zig +++ b/core/Messages.zig @@ -104,8 +104,19 @@ pub const Ask = enum(u8) { none, /// A file changed on disk under unsaved text. disk, + + /// Its answers, as its pane's tag offers them: the key that gives one, + /// and its word (an Exec of the word's first word gives it too). + pub fn answers(a: Ask) []const Answer { + return switch (a) { + .none => &.{}, + .disk => &.{ .{ .key = 'r', .word = "Reload" }, .{ .key = 'k', .word = "Keep mine" }, .{ .key = 'd', .word = "Diff" } }, + }; + } }; +pub const Answer = struct { key: u8, word: []const u8 }; + /// One live message. pub const Said = struct { pub const replica = .{ .len = .{ .{ "places", "places_len" }, .{ "detail", "detail_len" } } }; @@ -125,6 +136,9 @@ pub const Said = struct { /// The serial of the pane it is about, 0 for none in particular. pane: u32 = 0, asks: Ask = .none, + /// Its detail shown under its first place's line whatever the caret + /// (a question's Diff). + open: bool = false, /// How many times in a row it was said. n: u16 = 1, /// When it was last said, on the core's clock (`Pardes.clock.now_ns`). @@ -472,6 +486,135 @@ fn placeOf(row: []const u8) ?struct { path: []const u8, line: u32, col: u32, tex return null; } +/// The question waiting on `pane`, an index into `live`; null for none. +pub fn waiting(m: *const Messages, pane: *const Pane) ?usize { + for (m.live[0..m.live_len], 0..) |*s, i| if (s.kind == .question and s.pane == pane.serial) return i; + return null; +} + +/// The answers of the question waiting on `pane`: what a `:` lists first +/// (pick-ui SPEC §10.4); none without one. +pub fn waitingAnswers(m: *const Messages, pane: *const Pane) []const Answer { + const i = m.waiting(pane) orelse return &.{}; + return m.live[i].asks.answers(); +} + +/// The waiting question's words as its pane's tag asks them, while the tag +/// is at rest (SPEC §3.2 asking): what it asks, its answers, and how to +/// give one. `answering`: SPC e gave it the keyboard. +pub fn askingText(m: *const Messages, pane: *const Pane, answering: bool, out: []u8) []const u8 { + const i = m.waiting(pane) orelse return ""; + const s = &m.live[i]; + var w: std.Io.Writer = .fixed(out); + w.print("{s} \u{25b8}", .{s.words()}) catch {}; + for (s.asks.answers()) |a| w.print(" {c} {s} ", .{ a.key, a.word }) catch {}; + w.writeAll(if (answering) "\u{b7} Esc later" else "\u{b7} SPC e to answer") catch {}; + return w.buffered(); +} + +/// Answer live question `i` with `key`: `r` reads the file again over its +/// unsaved text, `k` keeps the text and lets the disk's be, `d` shows (or +/// hides again) the disk's lines where they differ, as ghosts in its +/// body. False for a key that is none of its answers. +pub fn answer(p: *Pardes, i: usize, key: u8) bool { + const m = &p.messages; + const s = &m.live[i]; + const a = for (s.asks.answers()) |a| { + if (a.key == key) break a; + } else return false; + p.needs_frame = true; + const id = p.paneBySerial(s.pane) orelse { + m.remove(i); + return true; + }; + var said: Buf(256) = .{}; + if (key == 'd') { + if (s.open) { + s.open = false; + return true; + } + diskDiff(p, s, id); + return true; + } + logMessage(p, id, .echo, said.print("{s} {s} \u{b7} answered {s}", .{ s.src.slice(), s.words(), a.word })); + m.remove(i); + if (key == 'r') { + const pane = p.panes[id].?; + // The answer is the consent Get would ask for. + if (pane.file) |f| pane.discard_warned = .{ .revision = f.revision, .by = .get }; + pardes.exec.runBuiltin(p, .Get, id, "", null); + } else _ = say(p, .echo, id, "kept yours; the disk's is not read"); + return true; +} + +/// An Exec of an answer's word in the tag of a pane a question waits on +/// (B2 on `Reload`): that answer. False for any other word. +pub fn answerWord(p: *Pardes, id: usize, word: []const u8) bool { + if (id >= MAX_PANES) return false; + const pane = p.panes[id] orelse return false; + const i = p.messages.waiting(pane) orelse return false; + const typed = std.mem.trim(u8, word, " \t\r\n"); + for (p.messages.live[i].asks.answers()) |a| { + const first = a.word[0 .. std.mem.indexOfScalar(u8, a.word, ' ') orelse a.word.len]; + if (std.mem.eql(u8, typed, first)) return answer(p, i, a.key); + } + return false; +} + +/// A question's Diff: the disk's text read (the host's read, taped) and +/// set against the buffer's, the lines they share at either end left out; +/// where they part, its place, and up to `Said.max_detail` of the lines +/// there, the disk's `+` and then the buffer's `-`, its detail, shown. +fn diskDiff(p: *Pardes, s: *Said, id: usize) void { + const pane = p.panes[id].?; + const f = if (pane.file) |*file| file else return; + const disk = @import("fs.zig").read(p, f.path) catch |err| return pardes.Messages.reportError(p, .at(id), "Diff", err); + defer p.gpa.free(disk); + const mine = pardes.panes.File.fileText(f, p.scratch.allocator()) catch return; + var a = std.mem.splitScalar(u8, mine, '\n'); + var b = std.mem.splitScalar(u8, disk, '\n'); + var line: u32 = 1; + var ours: []const u8 = ""; + var theirs: []const u8 = ""; + while (true) : (line += 1) { + const x = a.next(); + const y = b.next(); + if (x == null and y == null) return; + if (x != null and y != null and std.mem.eql(u8, x.?, y.?)) continue; + ours = if (x) |l| mine[@intFromPtr(l.ptr) - @intFromPtr(mine.ptr) ..] else ""; + theirs = if (y) |l| disk[@intFromPtr(l.ptr) - @intFromPtr(disk.ptr) ..] else ""; + break; + } + // The lines both end with, left out. + var ours_end = ours.len; + var theirs_end = theirs.len; + while (ours_end > 0 and theirs_end > 0) { + const ol = std.mem.lastIndexOfScalar(u8, ours[0 .. ours_end - 1], '\n'); + const tl = std.mem.lastIndexOfScalar(u8, theirs[0 .. theirs_end - 1], '\n'); + const o_line = ours[if (ol) |nl| nl + 1 else 0..ours_end]; + const t_line = theirs[if (tl) |nl| nl + 1 else 0..theirs_end]; + if (!std.mem.eql(u8, o_line, t_line)) break; + ours_end = if (ol) |nl| nl + 1 else 0; + theirs_end = if (tl) |nl| nl + 1 else 0; + } + s.places[0] = .{ .line = line, .col = 1 }; + s.places[0].path.set(f.path); + s.places[0].text.set("the disk's differs here"); + s.places_len = 1; + s.detail_len = 0; + // The disk's first: it is what the answer shows. + for ([_]struct { []const u8, []const u8 }{ .{ "+", theirs[0..theirs_end] }, .{ "-", ours[0..ours_end] } }) |side| { + var rows = std.mem.splitScalar(u8, std.mem.trimEnd(u8, side[1], "\n"), '\n'); + while (rows.next()) |row| { + if (side[1].len == 0 or s.detail_len == Said.max_detail) break; + s.detail[s.detail_len] = .{}; + _ = s.detail[s.detail_len].print("{s}{s}", .{ side[0], row }); + s.detail_len += 1; + } + } + s.open = true; +} + /// The words the newest live message said of `pane` has, "" for none: /// what its band shows, and what a write that failed on it answers. pub fn saidBy(m: *const Messages, pane: *const Pane) []const u8 { @@ -1093,3 +1236,52 @@ test "a burst of the same message is one message, counted, and moves nothing on const row = noticeRow(p, 78, &buf); try std.testing.expect(std.mem.endsWith(u8, row.text[0..row.left], "3 files \u{d7}10")); } + +test "a file changed on disk under unsaved text asks in its tag and never takes the keyboard: SPC e's keyboard answers, d shows the disk's lines as ghosts, Esc leaves it waiting, B2 on Reload reads it again" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 120, .rows = 20 }); + defer p.deinit(); + var tmp = std.testing.tmpDir(.{}); + defer tmp.cleanup(); + try tmp.dir.writeFile(std.testing.io, .{ .sub_path = "c.zig", .data = "one\ntwo\nthree\n" }); + var dir: [4096]u8 = undefined; + const path = try std.fmt.allocPrint(std.testing.allocator, "{s}/c.zig", .{dir[0..try tmp.dir.realPath(std.testing.io, &dir)]}); + defer std.testing.allocator.free(path); + const pane = try p.setTestFile("one\ntwo\nthree\n"); + const id = p.view().active; + p.gpa.free(pane.file.?.path); + pane.file.?.path = try p.gpa.dupe(u8, path); + const f = &pane.file.?; + f.saved_hash = panes.File.fileHash(f); + // Unsaved: a line typed at the end. + for ([_]u21{ 'G', 'o', 'f', 'o', 'u', 'r', Key.escape }) |cp| p.update(.{ .key = .{ .cp = cp } }); + try std.testing.expect(f.revision != f.saved_revision); + const disk = "zero\none\ntwo\nthree\n"; + try tmp.dir.writeFile(std.testing.io, .{ .sub_path = "c.zig", .data = disk }); + p.update(.{ .file_changed = .{ .pane = .at(id), .bytes = disk } }); + const i = p.messages.waiting(pane) orelse return error.NotAsked; + try std.testing.expectEqual(Kind.question, p.messages.live[i].kind); + // In its tag at rest, its answers offered; its mark `?`. + const prefix = try pardes.tagline.tagPrefix(p, pane); + try std.testing.expect(std.mem.indexOf(u8, prefix, "changed on disk \u{25b8} r Reload k Keep mine d Diff \u{b7} SPC e to answer") != null); + try std.testing.expectEqualStrings("Reload", p.messages.waitingAnswers(pane)[0].word); + // The keyboard is not its: `r` is the body's (helix's replace). + p.update(.{ .key = .{ .cp = 'k' } }); + try std.testing.expect(p.messages.waiting(pane) != null); + // Given the keyboard: `d` shows the disk's lines and keeps asking; Esc + // leaves it waiting. + p.view().answering = pane.serial; + p.update(.{ .key = .{ .cp = 'd' } }); + const asked = &p.messages.live[p.messages.waiting(pane).?]; + try std.testing.expect(asked.open); + try std.testing.expectEqual(@as(u32, 1), asked.places[0].line); + try std.testing.expectEqualStrings("+zero", asked.detail[0].slice()); + try std.testing.expectEqual(pane.serial, p.view().answering); + p.update(.{ .key = .{ .cp = Key.escape } }); + try std.testing.expectEqual(@as(u32, 0), p.view().answering); + try std.testing.expect(p.messages.waiting(pane) != null); + // B2 on `Reload` in its tag: read again, the question gone. + try std.testing.expectEqual(@as(?usize, null), pardes.exec.execute(p, id, "Reload")); + while (p.nextEffect()) |_| {} + try std.testing.expect(p.messages.waiting(pane) == null); + try std.testing.expectEqualStrings(disk, p.panes[id].?.file.?.content); +} diff --git a/core/exec.zig b/core/exec.zig index 3bb6e809..6b05cb8e 100644 --- a/core/exec.zig +++ b/core/exec.zig @@ -633,6 +633,8 @@ const max_exec_depth = 8; /// child is `$SHELL -c` the line, which shows its output and `exit N` when /// done, and which Kill signals. Answers the pane it went to. pub fn execute(p: *Pardes, id: usize, txt: []const u8) ?usize { + // A question's answer word, on the pane it waits on (B2 on `Reload`). + if (pardes.Messages.answerWord(p, id, txt)) return null; return executeFrom(p, id, txt, false); } diff --git a/core/keys.zig b/core/keys.zig index 5257a093..68e3585d 100644 --- a/core/keys.zig +++ b/core/keys.zig @@ -206,6 +206,23 @@ pub fn handleKey(p: *Pardes, key: Key) void { } return; } + // A background question SPC e gave the keyboard: one of its answers' + // keys answers it (Diff leaves it asking), Esc leaves it waiting, and + // nothing else gets past it (pick-ui SPEC §10.4). + if (p.view().answering != 0) answering: { + const v = p.view(); + const at = p.paneBySerial(v.answering) orelse break :answering; + const i = p.messages.waiting(p.panes[at].?) orelse break :answering; + if (key.cp == Key.escape and !key.ctrl and !key.alt) { + v.answering = 0; + p.needs_frame = true; + return; + } + if (key.ctrl or key.alt or key.cp > 0x7f) return; + if (pardes.Messages.answer(p, i, @intCast(key.cp)) and key.cp != 'd') v.answering = 0; + return; + } + p.view().answering = 0; if (p.view().window_pick != null) return layout.windowKey(p, key); const pane = p.panes[p.view().active] orelse return; layout.noteTyped(p); diff --git a/core/ninep/ctl.zig b/core/ninep/ctl.zig index c7f22b9a..e47aec94 100644 --- a/core/ninep/ctl.zig +++ b/core/ninep/ctl.zig @@ -2388,7 +2388,9 @@ test "a file changed on disk under unsaved edits is not reloaded: it says so, ge pardes.panes.File.changed(p, 0, "three\n"); try testing.expectEqualStrings("two\nmine\n", f.content); try testing.expect(f.revision != f.saved_revision); - try testing.expect(th.logHas(p, "changed on disk (get reloads it, Save overwrites it)")); + // ...and asks, in its tag (Messages.waiting), which /log hears. + try testing.expect(p.messages.waiting(p.panes[0].?) != null); + try testing.expect(th.logHas(p, "changed on disk\n")); var want: [32]u8 = undefined; try testing.expect(th.logHas(p, try std.fmt.bufPrint(&want, "changed {d}\n", .{serial}))); // Exit and get still ask about the edits. diff --git a/core/tagline.zig b/core/tagline.zig index 02d1b277..a389bb6d 100644 --- a/core/tagline.zig +++ b/core/tagline.zig @@ -172,7 +172,12 @@ pub fn tagPrefix(p: *Pardes, pane: *Pane) ![]u8 { /// The prefix as the tag shows it, built in `arena`. pub fn prefixIn(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]u8 { - const prefix = try pathPrefix(p, arena, pane); + const path = try pathPrefix(p, arena, pane); + // Asking (SPEC §3.2): a question waiting on it, after the path while + // the tag is at rest (not while it has the keyboard). + var asking: [512]u8 = undefined; + const asks = if (pane.focus == .tag or pane.prompt == .name) "" else p.messages.askingText(pane, p.view().answering == pane.serial, &asking); + const prefix = if (asks.len > 0) try std.mem.concat(arena, u8, &.{ path, " ", asks }) else path; // The space between the prefix and the tag's own text is the text's // (every default starts with one), but the prefix is computed, so it // cannot trust the text to keep it: with it deleted, Look and Exec diff --git a/test/monkey9p.zig b/test/monkey9p.zig index 1f213a3b..aaef1de6 100644 --- a/test/monkey9p.zig +++ b/test/monkey9p.zig @@ -1318,7 +1318,7 @@ fn oneFailureRule(c: *Ctx, a: Allocator, res: *Res) ?[]const u8 { // is the host's news, said whenever it arrives: no write's. var msgs: std.ArrayList([]const u8) = .empty; for (occurrences(a, window, "msg")) |m| { - if (std.mem.indexOf(u8, m, " deleted on disk (") != null or std.mem.indexOf(u8, m, " changed on disk (") != null or + if (std.mem.indexOf(u8, m, " deleted on disk (") != null or std.mem.indexOf(u8, m, " changed on disk") != null or std.mem.indexOf(u8, m, " reloaded ") != null) continue; msgs.append(a, m) catch oom(); } diff --git a/test/snapshots/filewatch.golden b/test/snapshots/filewatch.golden index 1e10ec08..b9716691 100644 --- a/test/snapshots/filewatch.golden +++ b/test/snapshots/filewatch.golden @@ -31,7 +31,8 @@ | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == snap kept grid=210x31 cursor=15,7 -|30: · /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk (get reloads it, Save overwrites it) 2 messages · SPC h m +|6: ?/tmp/pardes-snap/filewatch/cwd/w.txt changed on disk ▸ r Reload k Keep mine d Diff · SPC e to answer Save Term Collapse Follow Del +|30: ? /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk 1 question · SPC e == snap reloaded_sub grid=210x31 cursor=15,7 |19: 1 RENAMED |20: ~ @@ -42,4 +43,4 @@ |25: |26: |27: -|30: · reloaded /tmp/pardes-snap/filewatch/cwd/sub/s.txt 3 messages · SPC h m +|30: ? /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk +1 · 1 question · SPC e -- cgit v1.3 From 9f4109bceefbfc3e63eaf510eb7d05603e09db9c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 21:28:54 -0300 Subject: TagState, Core, Band, process-test: a tag out of rest keeps its rows at rest, a rolled level counts every cell it adds, a doc's paragraphs are rows, and the +Help cases use the word (fixes on top of items 2-5 of line A, uqopxwqz vnqmzpqs kquzozvs okqtwzll moosvmpn, frozen): process-test's six failures on moosvmpn: TAGNAV (row 6's `$` gone after `c-w l enter`, `c-b`) and LOOKPANES (`@alpha` off row 6 after `space w h`, on the parallel pass only): RUN: a screen dumped before each click: lookpanes' shell tag `/tmp/.../cwd C-w …` on ONE row where its own text takes two, the shell's rows moved up one; tagnav's shell pty resized twice by `c-w h enter` from its focused tag (bash's redraw lost its prompt mark); THE CAUSE: Core.zig sync gave a tag out of rest the rows its head takes, and a root's key cell (` C-w …`, ` ␣ …`, before its level shows 250 ms on) is shorter than the tag's own text: the body moved up and back down, a terminal's pty resized under its program (moosvmpn bounded a terminal's rolled level from above only); and TagState.head's room left out the ` …` past the last child that fits, each group's `…` and a struck key (at 100 columns C-w's level took 97 of a terminal's 96 cells, three rows for its two); THE FIX: sync: out of rest (hostOf), a tag keeps the rows its own text takes (layout.wantedTagRows), at least, and a terminal's exactly; tag_top saturates (a head of fewer lines than the tag's rows overflowed `lines - tag_rows` when the tag had the keyboard: a panic the first fix met in tagnav); head counts every cell (exact separators, `…`s, the struck key) and the child whose ` …` would not fit stops the level; DECIDED (SPEC §3.6's give-way order): a text pane's rolled level may wrap its tag to three rows (the first give-way, the §3.7 mockup's two rows), never fewer rows than at rest; a terminal's, exactly its rows at rest; a user hit both: every SPC or C-w in a pane whose tag takes two rows or more moved its body up for 250 ms, and in a terminal resized its program twice; THE BAND (seen in ttyhelp's new golden): a doc's paragraphs, a line each in builtins.Doc.text, were drawn as one row with a `�` for each newline (Band.wrap): each now starts a row; FIND, LEADER, BUILTINS, TTYHELP: `SPC ?` and `?` down a level are Help in the tag now (SPEC §4.5), so the cases that test the +Help index run the word (`Help` from the workspace tag, `Help h`, `Help t`, `Help c`, `Help l` swept with B2 on a line of their file, tty_boot.zig sweepHelp); ttyhelp's `SPC ?` shows the new Help in the focused pane's tag, `tutor` typed into its field; the snapshots taken after SPC wait for its level (the quiet screen of the parallel pass came back before the 250 ms frame: a golden that depended on the pass); leader presses Esc after its struck key (the level stays, A's ruling); GOLDENS, every changed row: find: `group` the rolled SPC f level in the tag over two rows (the hint cut by the cell, acme's wrap), the body a row down, the `SPC f` chip gone; `armed` the tag back at rest; ttyhelp: `leaderworks` the +Help's tag `^ ... Help tutor 1/133`, its band (the row, the doc step, no `�`) pushing its body four rows down; builtins: notes.txt's first line `Help c Help h`; the +Help for SPC h with Keys (SPC h k, item 5) and its documentation, every row under it six down, the +Look search on line 224 for 220, Tutor's row 30 for 24; leader: `spc`, `spc-h`, `unmapped` the rolled levels (SPC's over three rows, `x` struck), cmds.txt's line of five words, the Help announcement chip, the Keys rows, the tutor a row lower under the longer +Help; TESTS FIRST: TagState.zig "a rolled level fits its rows at every width..." (failed: 4 rows), "a terminal's rolled level keeps its tag rows at every width, C-w's as SPC's..." (shell-test; failed: expected 2, found 3), "a tag out of rest keeps its rows at rest at least..." (failed: expected 2, found 1; then the integer overflow at Core.zig:2047 with the keyboard in the tag), Band.zig "a doc's paragraphs are rows of their own..." (failed: a newline in a row) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- core/Band.zig | 55 +++++++++++++----- core/Core.zig | 11 +++- core/TagState.zig | 97 ++++++++++++++++++++++++++++--- test/process/tty_boot.zig | 51 ++++++++++++----- test/process/tty_editing.zig | 5 +- test/process/tty_terminals.zig | 9 +-- test/snapshots/builtins.golden | 94 +++++++++++++++--------------- test/snapshots/find.golden | 9 ++- test/snapshots/leader.golden | 127 ++++++++++++++++++++++++----------------- test/snapshots/ttyhelp.golden | 18 +++++- 10 files changed, 332 insertions(+), 144 deletions(-) (limited to 'core/Core.zig') diff --git a/core/Band.zig b/core/Band.zig index 9fa204ee..03cdbbda 100644 --- a/core/Band.zig +++ b/core/Band.zig @@ -328,24 +328,31 @@ fn findSpines(band: *Band, p: *Pardes, arena: std.mem.Allocator, pane: *Pane, id } /// `rows` wrapped at `width` display columns, word by word, `height` rows -/// at most: a doc's paragraphs. +/// at most: a doc's paragraphs, a line each in its text (builtins.Doc), +/// each starting a row (a newline drawn in a row was a `�`). fn wrap(arena: std.mem.Allocator, tab: u16, rows: []const Row, width: u16, max: u16) ![]const Row { var out: std.ArrayList(Row) = .empty; - for (rows) |row| { - if (File.displayWidth(tab, row.text) <= width) { - try out.append(arena, row); - } else { - var rest = row.text; - while (rest.len > 0 and out.items.len < max) { - var cut = File.byteAtDisplay(tab, rest, width); - if (cut < rest.len) { - if (std.mem.lastIndexOfScalar(u8, rest[0..cut], ' ')) |space| { - if (space > 0) cut = space; + for (rows) |whole| { + var paragraphs = std.mem.splitScalar(u8, whole.text, '\n'); + var row = whole; + while (paragraphs.next()) |text| : (row = .{ .text = "" }) { + if (out.items.len >= max) break; + row.text = text; + if (File.displayWidth(tab, row.text) <= width) { + try out.append(arena, row); + } else { + var rest = row.text; + while (rest.len > 0 and out.items.len < max) { + var cut = File.byteAtDisplay(tab, rest, width); + if (cut < rest.len) { + if (std.mem.lastIndexOfScalar(u8, rest[0..cut], ' ')) |space| { + if (space > 0) cut = space; + } } + if (cut == 0) cut = modal.nextGrapheme(rest, 0); + try out.append(arena, .{ .text = std.mem.trimEnd(u8, rest[0..cut], " ") }); + rest = std.mem.trimStart(u8, rest[cut..], " "); } - if (cut == 0) cut = modal.nextGrapheme(rest, 0); - try out.append(arena, .{ .text = std.mem.trimEnd(u8, rest[0..cut], " ") }); - rest = std.mem.trimStart(u8, rest[cut..], " "); } } if (out.items.len >= max) break; @@ -540,3 +547,23 @@ test "the band's words are read-only text: B2 runs one, the tag back at rest" { try std.testing.expect(p.settings.wrap != wrapped); try std.testing.expect(p.view().prefix == .none and !p.view().tag_state.unrolled); } + +test "a doc's paragraphs are rows of their own: no newline in a band's row" { + const Key = pardes.Key; + const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = 40 }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + const id = p.view().active; + var frame = std.heap.ArenaAllocator.init(std.testing.allocator); + defer frame.deinit(); + const a = frame.allocator(); + // SPC b b is Panes, whose documentation has three paragraphs. + for ([_]u21{ ' ', 'b', Key.down }) |c| p.update(.{ .key = .{ .cp = c } }); + const band = (try of(p, a, p.panes[id].?, id)).?; + var docs: usize = 0; + for (band.steps[0..band.nsteps]) |step| for (step.rows) |row| { + try std.testing.expect(std.mem.indexOfScalar(u8, row.text, '\n') == null); + if (step.doc) docs += 1; + }; + try std.testing.expect(docs > 2); +} diff --git a/core/Core.zig b/core/Core.zig index 11f254ab..5ce635f2 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -2028,6 +2028,15 @@ pub fn sync(p: *Pardes) void { caret_row = std.mem.count(u8, shown.text[0..@min(shown.fromReal(cur), shown.text.len)], "\n"); } if (!pane.tag_expanded) wanted = 1; + // Out of rest the head is the tag's text (TagState), and the tag + // keeps the rows its own text takes at least: a head shorter than + // it (a root's key cell, before its level shows) moved the body up + // and back down a moment later; a terminal's exactly those, its pty + // its body (a resize the program under it saw at every C-w and SPC). + if (pardes.TagState.hostOf(p) == id) { + const rest = layout.wantedTagRows(p, id); + wanted = if (pane.isTerminal()) rest else @max(wanted, rest); + } pane.tag_rows = @intCast(@min(wanted, MAX_TAG_ROWS, @max(BOX_H, r.h -| 1))); if (pane.collapsed) pane.tag_rows = BOX_H; if (pane.focus == .tag and pane.prompt != .name) { @@ -2035,7 +2044,7 @@ pub fn sync(p: *Pardes) void { var top: usize = pane.tag_top; if (cur < top) top = cur; if (cur >= top + pane.tag_rows) top = cur + 1 - pane.tag_rows; - pane.tag_top = @intCast(@min(top, lines - pane.tag_rows)); + pane.tag_top = @intCast(@min(top, lines -| pane.tag_rows)); } else pane.tag_top = 0; // The band unrolled under the tag's text pushes the body down: // the tag's rows, as everything under them counts them. diff --git a/core/TagState.zig b/core/TagState.zig index a0ac6353..867b1391 100644 --- a/core/TagState.zig +++ b/core/TagState.zig @@ -486,21 +486,28 @@ pub fn head(p: *Pardes, arena: std.mem.Allocator, pane: *Pane) !?Head { // The rolled level wraps to three rows at most (SPEC §3.6): what does // not fit is `…`, and `↓` unrolls it whole. A terminal's to the rows its // own text takes: its pty is its body, and a which-key that took a row - // would resize the program under it at every SPC. + // would resize the program under it at every SPC. Every cell is + // counted: the prefix, each child with its separator and a group's + // `…`, the ` …` after a child that is not the last, a struck key, the + // hint (left out, a terminal's tag took a row more at some widths). const hint = " ↓ unroll · ? help"; + const more = " …"; const prefix = try tagline.prefixIn(p, arena, pane); const tab = p.settings.tab; const most: usize = if (pane.isTerminal()) @import("layout.zig").wantedTagRows(p, id) else 3; - const room = most * tagline.tagWidth(p, id) -| panes.File.displayWidth(tab, prefix) -| panes.File.displayWidth(tab, hint) -| 2; + const struck: usize = if (s.miss != 0) 1 + panes.File.displayWidth(tab, bindings.keyName(s.miss)) else 0; + const room = most * tagline.tagWidth(p, id) -| panes.File.displayWidth(tab, prefix) -| panes.File.displayWidth(tab, hint) -| struck; var children: [bindings.max_children]bindings.Child = undefined; + const level = bindings.level(p, cur.root, cur.path, &children); const used = s.used[node.group]; - for (bindings.level(p, cur.root, cur.path, &children)) |c| { - const width = panes.File.displayWidth(tab, b.text.items) + 2 + bindings.keyName(c.key).len + 1 + panes.File.displayWidth(tab, c.label); - if (width > room) { - try b.put(" …"); + var width = panes.File.displayWidth(tab, b.text.items); + for (level, 0..) |c, i| { + width += @as(usize, if (i == 0) 1 else 2) + panes.File.displayWidth(tab, bindings.keyName(c.key)) + 1 + panes.File.displayWidth(tab, c.label) + @intFromBool(c.group); + if (width + @as(usize, if (i + 1 < level.len) panes.File.displayWidth(tab, more) else 0) > room) { + try b.put(more); break; } - try b.put(if (b.text.items.len > 0 and std.mem.endsWith(u8, b.text.items, "▸")) " " else " "); + try b.put(if (i == 0) " " else " "); const lo: u32 = @intCast(b.text.items.len); try b.styled(bindings.keyName(c.key), .key); try b.put(" "); @@ -808,3 +815,79 @@ test "a terminal's rolled level takes no more tag rows than its own text: its pt try std.testing.expectEqual(tag_rows, pane.tag_rows); try std.testing.expectEqual(rows, pane.rows); } + +test "a rolled level fits its rows at every width: its `…`, its groups' `…` and a struck key are counted" { + const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = 40 }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + var frame = std.heap.ArenaAllocator.init(std.testing.allocator); + defer frame.deinit(); + const a = frame.allocator(); + const pane = p.panes[p.view().active].?; + for ([_]pardes.Key{ .{ .cp = ' ' }, .{ .cp = 'w', .ctrl = true } }) |root| for ([_]bool{ false, true }) |struck| { + p.update(.{ .key = root }); + p.advance(p.clock.now_ns); + p.clock.now_ns = p.view().tag_state.due_ns; + // `x` is a child of neither level: struck, the level stays. + if (struck) p.update(.{ .key = .{ .cp = 'x' } }); + for (30..161) |cols| { + p.update(.{ .resize = .{ .cols = @intCast(cols), .rows = 40 } }); + try std.testing.expect(hostOf(p) != null); + try std.testing.expect((try tagline.shownTag(p, a, pane)).rows() <= 3); + } + toRest(p); + p.update(.{ .resize = .{ .cols = 120, .rows = 40 } }); + }; +} + +test "a terminal's rolled level keeps its tag rows at every width, C-w's as SPC's: its pty is never resized" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const p = try Pardes.init(std.testing.allocator, .{ .file = "mise.toml", .cols = 100, .rows = 30 }); + defer p.deinit(); + _ = pardes.exec.spawnTty(p, 0); + const shell = p.view().active; + const pane = p.panes[shell].?; + pane.body.mode = .normal; + for ([_]pardes.Key{ .{ .cp = ' ' }, .{ .cp = 'w', .ctrl = true } }) |root| for (30..131) |cols| { + p.update(.{ .resize = .{ .cols = @intCast(cols), .rows = 30 } }); + p.sync(); + const rows, const tag_rows = .{ pane.rows, pane.tag_rows }; + p.update(.{ .key = root }); + // Its key cell alone, before the level shows: shorter than the + // tag's own text, the rows it had. + p.sync(); + try std.testing.expect(hostOf(p) == shell); + try std.testing.expectEqual(tag_rows, pane.tag_rows); + try std.testing.expectEqual(rows, pane.rows); + p.advance(p.clock.now_ns); + p.clock.now_ns = p.view().tag_state.due_ns; + p.sync(); + try std.testing.expectEqual(tag_rows, pane.tag_rows); + try std.testing.expectEqual(rows, pane.rows); + toRest(p); + }; +} + +test "a tag out of rest keeps its rows at rest at least: a root's key cell alone moves no body up" { + const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 40, .rows = 30 }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + const pane = p.panes[p.view().active].?; + p.sync(); + const rows, const tag_rows = .{ pane.rows, pane.tag_rows }; + try std.testing.expect(tag_rows > 1); + p.update(.{ .key = .{ .cp = ' ' } }); + p.sync(); + try std.testing.expect(hostOf(p) != null); + try std.testing.expectEqual(tag_rows, pane.tag_rows); + try std.testing.expectEqual(rows, pane.rows); + // With the keyboard in the tag (whose top row follows its caret) too: + // C-w's key cell, a line, in a tag of more rows. + toRest(p); + pane.focus = .tag; + p.update(.{ .key = .{ .cp = 'w', .ctrl = true } }); + p.sync(); + try std.testing.expect(hostOf(p) != null); + try std.testing.expectEqual(tag_rows, pane.tag_rows); + try std.testing.expectEqual(@as(u16, 0), pane.tag_top); +} diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig index 01b35a24..e342ea46 100644 --- a/test/process/tty_boot.zig +++ b/test/process/tty_boot.zig @@ -114,14 +114,17 @@ fn boot(gpa: std.mem.Allocator, exe: [:0]const u8) !void { fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "builtins"); defer t.deinit(); - try t.lines("notes.txt", 6, ""); + // SPC ? is Help in the tag now (pick-ui SPEC §4.5): the +Help index is + // the word's, `Help` run from the workspace's tag, `Help c` swept here. + try t.file("notes.txt", "Help c Help h\nline 2\nline 3\nline 4\nline 5\nline 6\n"); try t.start(67, 120, &.{"notes.txt"}); try t.wait(8000, "notes.txt"); try t.stable(700, 20000); try t.snap("boot"); // The full index includes commands without leader paths. - try t.key("space ?"); + try t.press("middle", "@Help", 1); + try t.release("middle", "@Help", 1); try t.wait(10000, "pardes builtins: each one's keys and its name"); try t.wait(10000, "ClipPasteBefore"); // The words with no SPC path come last, each under its documentation: @@ -141,19 +144,20 @@ fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("space j n space j n space j n"); try t.wait(10000, "Look enter, right-click"); try t.wait(10000, "Look at its argument as B3 does"); - try t.key("space c ?"); + try sweepHelp(&t, "@Help#1", 4); try t.wait(10000, "under SPC c"); try t.wait(10000, "Joincol"); try t.stable(700, 15000); try t.snap("column-group"); - try t.key("space h ?"); + try sweepHelp(&t, "@Help#2", 4); try t.wait(10000, "Tutor"); try t.stable(700, 15000); try t.snap("docs-group"); - // Tutor's row, under the documentation of the three before it - try t.press("middle", "@Tutor", 24); - try t.release("middle", "@Tutor", 24); + // Tutor's row, under the documentation of the four before it (Keys, + // describe-key, is SPC h k) + try t.press("middle", "@Tutor", 30); + try t.release("middle", "@Tutor", 30); try t.wait(10000, "PARDES TUTOR"); try t.stable(700, 15000); try t.snap("tutor-from-index"); @@ -472,13 +476,18 @@ fn topbarexec(gpa: std.mem.Allocator, exe: [:0]const u8) !void { fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "leader"); defer t.deinit(); - try t.file("cmds.txt", "Help"); + // SPC ? and `?` down a level are Help in the tag now (pick-ui SPEC + // §4.5): the +Help index for a group is the word's, `Help h` swept here. + try t.file("cmds.txt", "Help Help h Help t Help c Help l"); try t.start(41, 100, &.{"cmds.txt"}); try t.wait(8000, "Newcol Joincol"); try t.wait(8000, "cmds.txt"); try t.stable(700, 20000); + // SPC's level, rolled in the tag once its delay is up (a frame on the + // clock, which a quiet screen does not wait for) try t.key("space"); + try t.wait(5000, "↓ unroll"); try t.stable(400, 5000); try t.snap("spc"); try t.key("h"); @@ -489,15 +498,21 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("abandoned"); try t.key("space x"); + try t.wait(5000, "↓ unroll"); try t.stable(400, 5000); try t.snap("unmapped"); + // A key the level has no child for is struck and the level stays + // (which-key); Esc leaves it. + try t.key("esc"); + try t.settle(100); + try t.stable(400, 5000); // Executing Help as text opens the full index, not a filtered group. try t.press("middle", "@Help", 4); try t.release("middle", "@Help", 4); try t.wait(10000, "pardes builtins: each one's keys and its name"); try t.wait(10000, "ClipPasteBefore"); - try t.key("space h ?"); + try sweepHelp(&t, "@Help#2", 4); try t.wait(10000, "under SPC h"); try t.stable(700, 15000); try t.snap("help-group"); @@ -517,23 +532,24 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("space d"); try t.stable(700, 15000); - try t.key("space ?"); + try t.press("middle", "@Help", 4); + try t.release("middle", "@Help", 4); try t.wait(10000, "pardes builtins: each one's keys and its name"); try t.wait(10000, "ClipPasteBefore"); // PDF commands depend on the build; these toggles do not. - try t.key("space t ?"); + try sweepHelp(&t, "@Help#3", 4); try t.wait(10000, "under SPC t"); // its first rows: each word's documentation under it, the rest below try t.wait(10000, "SPC t a Ascii"); try t.wait(10000, "SPC t c Changes"); // SPC w is Window itself now, not a group; the column group stands in - try t.key("space c ?"); + try sweepHelp(&t, "@Help#4", 4); try t.wait(10000, "under SPC c"); try t.wait(10000, "Joincol"); try t.stable(700, 15000); try t.snap("help-column"); - try t.key("space l ?"); + try sweepHelp(&t, "@Help#5", 4); try t.wait(10000, "WsDiagnostics"); try t.stable(700, 15000); try t.snap("help-language"); @@ -544,6 +560,15 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.done(); } +/// B2 swept over `Help ` from the word `at` on `row` (its six +/// cells): the word and its argument run, as a sweep anywhere runs them. +fn sweepHelp(t: *Tty, at: []const u8, row: u16) !void { + const end = try std.fmt.allocPrint(t.arena, "{s}+6", .{at}); + try t.press("middle", at, row); + try t.drag("middle", end, row); + try t.release("middle", end, row); +} + fn mini(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "mini"); defer t.deinit(); diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index 53e1da1e..33ad2802 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -608,9 +608,12 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(41, 120, &.{"here.txt"}); try t.wait(8000, "here.txt"); try t.stable(700, 20000); - // SPC f is a group (Find, New, Save, Recent, Grep): the indicator waits + // SPC f is a group (Find, New, Save, Recent, Grep): its level rolled in + // the tag once SPC's delay is up (a frame on the clock, which a quiet + // screen does not wait for) try t.key("space"); try t.key("f"); + try t.wait(5000, "↓ unroll"); try t.stable(400, 5000); try t.snap("group"); // the second f opens the query pane: every file listed, line 1 `Find ` diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index 9f7c9308..896ac062 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -226,12 +226,13 @@ fn ttyhelp(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // row 0, which is not a pane, so the terminal never saw it. try t.key("c-b"); try t.stable(600, 10000); + // SPC ? is Help in the focused pane's tag (pick-ui SPEC §4.5): a field + // typed in, the leaves it matches in rows under the tag, the cursor's + // documentation beside them. try t.key("space"); try t.key("?"); - // The bare-tty boot now opens an empty pane under the shell, so the index is - // half as tall: wait on a row that is on screen. What the leader route - // produced is the snapshot below, not this. - try t.wait(10000, "SPC ? Help"); + try t.send("tutor"); + try t.wait(10000, "SPC h t · Tutor · help"); try t.stable(700, 15000); try t.snap("leaderworks"); try t.done(); diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index e9786c8a..d0277f63 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -2,7 +2,7 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/builtins/cwd/notes.txt Save Term Collapse Follow Del -| 1 line 1 +| 1 Help c Help h | 2 line 2 | 3 line 3 | 4 line 4 @@ -10,6 +10,7 @@ | 6 line 6 | ~ == snap column-group grid=120x67 cursor=7,10 +|3: 1 Help c Help h Help |9: /tmp/pardes-snap/builtins/cwd/+Help Save Term Collapse Follow Del |10: 1 pardes builtins under SPC c |11: 2 @@ -34,7 +35,7 @@ |30: ~ |57: +Search 1/1 Save Undock Del |58: /^ +Look -|59: @p2:220:1 Look enter, right-click +|59: @p2:224:1 Look enter, right-click == snap docs-group grid=120x67 cursor=7,10 |10: 1 pardes builtins under SPC h |12: 3 SPC h b Build @@ -44,50 +45,47 @@ |17: 7 SPC h c Changelog topbar |18: 8 Show this build's version and what changed to reach it, in a +Changelog. |19: 9 -|20: 10 SPC h m Messages -|21: 11 Show the messages said so far in a +Messages. -|22: 12 -|23: 13 SPC h t Tutor topbar -|24: 14 Open the tutor, a document to work through. -|25: 15 -|26: ~ -|27: -|28: -|29: -|30: -== snap tutor-from-index grid=120x67 cursor=7,37 +|20: 10 SPC h k Keys +|21: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|22: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls its level under the ↩ +|23: tag with the leaf on the cursor and its documentation beside it, and Enter runs it. Every root answers: SPC, g, ↩ +|24: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it. +|25: 13 +|26: 14 SPC h m Messages +|27: 15 Show the messages said so far in a +Messages. +|28: 16 +|29: 17 SPC h t Tutor topbar +|30: 18 Open the tutor, a document to work through. +|31: 19 +|32: ~ +== snap tutor-from-index grid=120x67 cursor=7,43 +|3: 1 Help c Help h |10: 1 pardes builtins under SPC h Tutor -|26: +Search 1/1 Save Undock Del -|27: /^ +Look -|28: @p2:220:1 Look enter, right-click -|36: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del -|37: 1 -|38: 2 PARDES TUTOR -|39: 3 -|40: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|41: 5 Save it (a bare Save asks for a path to write a copy to). -|42: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|43: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|44: 8 fresh copy. -|45: 9 -|46: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|47: 11 Each lesson is a few things to do, then names its guide section. -|48: 12 Words in backticks, like `Save`, are builtins. -|49: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|50: 14 shell line; `Look` (B3) opens what the text names, or else finds -|51: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|52: 16 "| " are tags. -|53: 17 -|54: 18 Press j until you reach part 1. -|55: 19 -|56: 20 -|57: 21 ================================================================= -|58: 22 = PART 1 — MODES = -|59: 23 ================================================================= -|60: 24 -|61: 25 1. The box left of this pane's tag is blank, so you are in -|62: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then -|63: 27 Esc: blank again. -|64: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the -|65: 29 pane you were in before (not what helix does). Come back with -|66: 30 Esc again. +|32: +Search 1/1 Save Undock Del +|33: /^ +Look +|34: @p2:224:1 Look enter, right-click +|42: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del +|43: 1 +|44: 2 PARDES TUTOR +|45: 3 +|46: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|47: 5 Save it (a bare Save asks for a path to write a copy to). +|48: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|49: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|50: 8 fresh copy. +|51: 9 +|52: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|53: 11 Each lesson is a few things to do, then names its guide section. +|54: 12 Words in backticks, like `Save`, are builtins. +|55: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|56: 14 shell line; `Look` (B3) opens what the text names, or else finds +|57: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|58: 16 "| " are tags. +|59: 17 +|60: 18 Press j until you reach part 1. +|61: 19 +|62: 20 +|63: 21 ================================================================= +|64: 22 = PART 1 — MODES = +|65: 23 ================================================================= +|66: 24 diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 4825d1dc..ee343b32 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -1,10 +1,13 @@ -== snap group grid=120x41 cursor=7,3 +== snap group grid=120x41 cursor=7,4 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/find/cwd/here.txt Save Term Collapse Follow Del -| 1 Find zqm SPC f +| /tmp/pardes-snap/find/cwd/here.txt ␣ f ▸ c Config f Find g Grep h History n New r Recent s Save ↓ unroll · ? h +| elp +| 1 Find zqm == snap armed grid=120x41 cursor=7,23 +|2: /tmp/pardes-snap/find/cwd/here.txt Save Term Collapse Follow Del |3: 1 Find zqm Find +|4: |22: ^ +Search 1/5 Del |23: Find |24: here.txt diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 9f523992..81ddd6ce 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -1,14 +1,28 @@ -== snap spc grid=100x41 cursor=7,3 +== snap spc grid=100x41 cursor=7,5 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/leader/cwd/cmds.txt Save Term Collapse Follow Del -| 1 Help SPC -== snap spc-h grid=100x41 cursor=7,3 -|3: 1 Help SPC h +| /tmp/pardes-snap/leader/cwd/cmds.txt ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… +| n new… s session… t view… / All ? Help d Del p ClipPaste P ClipPasteBefore q Exit R ClipR +| eplace w Window y ClipYank Y ClipYankMain ↓ unroll · ? help +| 1 Help Help h Help t Help c Help l +== snap spc-h grid=100x41 cursor=7,4 +|2: /tmp/pardes-snap/leader/cwd/cmds.txt ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ u +|3: nroll · ? help +|4: 1 Help Help h Help t Help c Help l +|5: == snap abandoned grid=100x41 cursor=7,3 -|3: 1 Help -== snap unmapped grid=100x41 cursor=7,3 +|2: /tmp/pardes-snap/leader/cwd/cmds.txt Save Term Collapse Follow Del +|3: 1 Help Help h Help t Help c Help l +|4: +== snap unmapped grid=100x41 cursor=7,5 +|2: /tmp/pardes-snap/leader/cwd/cmds.txt ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… +|3: n new… s session… t view… / All ? Help d Del p ClipPaste P ClipPasteBefore q Exit R ClipR +|4: eplace w Window y ClipYank Y ClipYankMain x ↓ unroll · ? help +|5: 1 Help Help h Help t Help c Help l == snap help-group grid=100x41 cursor=7,6 +|2: /tmp/pardes-snap/leader/cwd/cmds.txt Save Term Collapse Follow Del +|3: 1 Help Help h Help t Help c Help l Help +|4: |5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del |6: 1 pardes builtins under SPC h |7: 2 @@ -20,34 +34,41 @@ |13: 7 SPC h c Changelog topbar |14: 8 Show this build's version and what changed to reach it, in a +Changelog. |15: 9 -|16: 10 SPC h m Messages -|17: 11 Show the messages said so far in a +Messages. -|18: 12 -|19: 13 SPC h t Tutor topbar -|20: 14 Open the tutor, a document to work through. -|21: 15 -|22: ~ -== snap tutor grid=100x41 cursor=7,23 +|16: 10 SPC h k Keys +|17: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|18: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ +|19: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ +|20: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ +|21: is bound to is shown struck, `runs nothing`. Esc leaves it. +|22: 13 +|23: 14 SPC h m Messages +|24: 15 Show the messages said so far in a +Messages. +|25: 16 +|26: 17 SPC h t Tutor topbar +|27: 18 Open the tutor, a document to work through. +|28: 19 +|29: ~ +== snap tutor grid=100x41 cursor=7,24 +|3: 1 Help Help h Help t Help c Help l |6: 1 pardes builtins under SPC h Tutor -|22: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del -|23: 1 -|24: 2 PARDES TUTOR -|25: 3 -|26: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|27: 5 Save it (a bare Save asks for a path to write a copy to). -|28: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|29: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|30: 8 fresh copy. -|31: 9 -|32: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|33: 11 Each lesson is a few things to do, then names its guide section. -|34: 12 Words in backticks, like `Save`, are builtins. -|35: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|36: 14 shell line; `Look` (B3) opens what the text names, or else finds -|37: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|38: 16 "| " are tags. -|39: 17 -|40: 18 Press j until you reach part 1. +|23: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del +|24: 1 +|25: 2 PARDES TUTOR +|26: 3 +|27: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|28: 5 Save it (a bare Save asks for a path to write a copy to). +|29: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|30: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|31: 8 fresh copy. +|32: 9 +|33: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|34: 11 Each lesson is a few things to do, then names its guide section. +|35: 12 Words in backticks, like `Save`, are builtins. +|36: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|37: 14 shell line; `Look` (B3) opens what the text names, or else finds +|38: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|39: 16 "| " are tags. +|40: 17 == snap deleted grid=100x41 cursor=7,3 |5: |6: @@ -67,25 +88,26 @@ |20: |21: |22: -|23: -|24: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del -|25: 1 pardes builtins under SPC h -|26: 2 -|27: 3 SPC h b Build -|28: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|29: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ -|30: its platform, its grammars, and whether the addons are compiled in. -|31: 6 -|32: 7 SPC h c Changelog topbar -|33: 8 Show this build's version and what changed to reach it, in a +Changelog. -|34: 9 -|35: 10 SPC h m Messages -|36: 11 Show the messages said so far in a +Messages. -|37: 12 -|38: 13 SPC h t Tutor topbar -|39: 14 Open the tutor, a document to work through. -|40: 15 +|23: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|24: 1 pardes builtins under SPC h +|25: 2 +|26: 3 SPC h b Build +|27: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|28: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|29: its platform, its grammars, and whether the addons are compiled in. +|30: 6 +|31: 7 SPC h c Changelog topbar +|32: 8 Show this build's version and what changed to reach it, in a +Changelog. +|33: 9 +|34: 10 SPC h k Keys +|35: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|36: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ +|37: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ +|38: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ +|39: is bound to is shown struck, `runs nothing`. Esc leaves it. +|40: 13 == snap help-column grid=100x41 cursor=7,6 +|3: 1 Help Help h Help t Help c Help l Help |5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del |6: 1 pardes builtins under SPC c |7: 2 @@ -158,6 +180,7 @@ |39: 31 |40: 32 SPC l i Lspinfo == snap del-output grid=100x41 cursor=7,3 +|3: 1 Help Help h Help t Help c Help l |5: |6: |7: diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden index de9471a9..04cbb2a1 100644 --- a/test/snapshots/ttyhelp.golden +++ b/test/snapshots/ttyhelp.golden @@ -40,5 +40,21 @@ |18: 7 SPC P ClipPasteBefore |19: 8 Paste the system clipboard before the selection. |20: 9 -== snap leaderworks grid=100x31 cursor=7,6 +== snap leaderworks grid=100x31 cursor=47,5 |3: $ +|5: ^ /tmp/pardes-snap/ttyhelp/cwd/+Help Help tutor 1/133 +|6: ▶ SPC h t · Tutor · help│ t Tutor +|7: │ Open the tutor, a document to work through. +|8: │ keys SPC h t +|9: │ +|10: 1 pardes builtins: each one's keys and its name, then what it does. Run one by its keys, or by↩ +|11: its name anywhere: B2 on the word, Exec , a line of a ctl file, or `pardes do `↩ +|12: from a shell. `Help ` shows one builtin alone; `Help ` (or SPC, those keys, the↩ +|13: n ?) the builtins under SPC and those keys. +|14: 2 +|15: 3 SPC ? Help topbar +|16: 4 Show every builtin with its keys and documentation, or one builtin's alone. +|17: 5 `Help `: that builtin alone, its keys spelled out, what it acts on and its line for a ↩ +|18: shell (`Help Diff`); a setting or an addon's word the same. `Help `: the builtins unde↩ +|19: r SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second↩ +|20: Help replaces its text. -- cgit v1.3