diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 00:03:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 02:04:52 -0300 |
| commit | 13d234f431a98bf97fcc1caec812f59eff711aa0 (patch) | |
| tree | db88980c1cd3fafb4e56e66ea6387f1f2bdd6eb4 | |
| parent | 94f00e966c908d370e34ed5e0496a86b33de26d6 (diff) | |
| download | pardes-13d234f431a98bf97fcc1caec812f59eff711aa0.tar.gz pardes-13d234f431a98bf97fcc1caec812f59eff711aa0.zip | |
tagline, edit, dump, layout: a pane tag reads its path, then its computed words, the words that act now, read-only and made again from its state as the path is, then the user's text (UX DESIGN K'1, K'3, binding; the user: "pardes looked so cramped and full of information with the taglines compared to the other editors", "I liked C and D"); THE OLD WAY: a tag's words were its own text (`tag.own`, or until edited its kind's default `*_tail`: `Save Term Collapse Follow Del`, a speaking file's `Def Refs`, `TreeContext`, `LocationsConfig`, a terminal's `Term Save Mode Filter Collapse Del`), the same in every state, so a file tag held 5 to 9 command words, wrapped to a second row at 84 columns, and `Save` stood there clean; THE CHANGE: tagline.computedWords per K'3's table (a file reading `Keep Del`, `Keep` its walk's word after the path as before; held `Del`, `Undo` while its journal has a step back with something in it (insert mode's `i` alone marks a step of none: a behaviour test caught `Undo` coming, and a 24-column tag wrapping, before a key was typed), `Redo` while it has one forward; unsaved, gone from disk too, `Save Undo Del`; `Diff` first for a diff, a +Pager holding one and the Diff view; `Filter` for a +Pager; a +New never `Save` (the table's `Del; Undo once typed into`); a directory `Get Del`; a command pane `Kill Del` running, `Del` done; queries and the preview unchanged; a kind its own words then `Del` (Kind.reopen, `Term` and `Collapse` gone); a terminal `Del`, its shell's word after it as its text, `Term` until the shell says its name, then `Term+fish`, as before), a comptime table of the 32 file combinations, no allocation; restPrefix = path, computed words and a blank, the prefix every edit must leave as it is (edit.setEditTextSpan, which compared the path alone) and the 9P cleartag's caret goes after; `tag.own` holds only what the user typed (curTail: own, else a terminal's shell word, else none), shown after the computed words and never regenerated; enterTag puts the caret at the start of the user's text, no longer on `Save`; a question waiting at rest (TagState.asks, the test TagState.asking used) replaces the computed words with the own text, as out of rest (D13, D1 unchanged: prefixIn gives the path alone, sync keeps the tag's offsets at rest); `:` lists the computed words, then the own text's, `in the tag`; Follow's `Unfollow` goes in the new page's own text with no second blank; RESTORE: dump.dropOldTags drops an own text equal to its kind's tag before K' (tagline.kindTail, the old defaults kept for it) where a Restore, a start from a dump and an Upgrade load (loadAndRevive; a replica's join loads its authority's, dropped there; a Restore replays through the same path), any other kept whole as the user's text; THE LAYOUT (two faults the lean tags let the random placements find, ninep/tree.zig "random placements ... leave no pane under its tag and two rows"): (1) seed 273 (core-test): `Edit =` gave a full column's +Errors an undo step, `Undo` wrapped its 16-cell tag onto a 5th row, the pane under its minimum, no row to give: layout.minRows now counts a tag with the widest computed words its pane can come to show (tagline.widestWords: `Save Undo Redo` where it saves, a query's frozen words; a reading pane's own, its first edit holds it), so an edit never takes a row its placement did not leave; (2) seed 162 and 192 (shell-test): a walk step in a 12-cell tag whose basename did not fit beside its newest step (`test.txt:1 › …f.txt Keep Del`), the fold had nothing left to cut: tagline.folded then folds that step into the `+N` too (D2's basename stays whole; a hunk in the fold W4 touches); TESTS (FIRST): tagline.zig "a pane tag's computed words are the words that act now, its own text after them (UX K'1, K'3)" (reading, held, typed twice, undone, saved, a .patch, a pager, a pager's diff, a +New before and after typing, a kind), "typing in a tag goes after its computed words, and stays the user's text through a change of state" (`Mine` typed after `Del`, a Backspace on the blank before it refused, the body typed into: `Save Undo Del Mine`, the caret still on `M`), "a dump of a build before UX K' restores a tag's old default own text as none, any other as the user's"; TESTS CHANGED, each for a word gone from a tag: lsp/Ask.zig Def/Refs (the 2-1 chord now on `Def Refs` typed into the tag's own text, kindTail asserts the kind's words), Effect.zig "Save is a word of every pane with text behind it and no other" (kindTail, computedWords `Del` while clean), Core.zig TreeContext (kindTail, the tag holds no TreeContext), Filter (computedWords `Filter Del`), pane-tag Exec (`Term+sh` the text; `Theme dark` and the fallback word found where they are), compact tag commands (`Del Term`), Term+ paths (`Term+/bin/sh`, `Term+sh`), the command pane's and REPL's prefixes (pathPrefix), Dir (`Get Del`), Stream (`More Del`), jj At (pathPrefix), Pipe (`| tr` on the own text `Look here`), Command.zig `:` (typed into first: `Save Undo Del` its tag's rows, 14 commands), Trail.zig (W4's file: tags `/test.txt Del `, `rank.zig Del `; the Fixture 120 to 200 columns, as its 85-cell tmp paths beside a short tag folded the walks these tests read; "too short to halve" 24 to 20 rows), TagState and Band (a tag of two rows: own text given), Messages (the question test at 200 columns, the tag at rest one row), dev/tui/tui.zig (a terminal view's wrapped tag read on across its rows: the shorter prefix cut `w19`), test/mode.zig (`Mode` typed into the terminal tag's own text, kindTail has it), test/panes.zig (an image's pathPrefix); BEHAVIOUR (a helper's edits, each a word moved): tags.zig (a tag's keyboard starts on its own text, so `Save Term`, `Save`, `JumpTrail` are written into the own text where a test clicked or edited them; expected tags `/test.txt Del ...`), keys.zig (a scratch's Save prompt by `SPC f s`, was `::` Tab), modes.zig, mouse.zig (`Keep Del`, the own text swept), panes.zig ("an unsaved file's tag ... Save and Undo come into its words", Collapse by `C-w c`), placement.zig, terminals.zig (`Del Term`), addons_pdf.zig (`PdfSections PdfTint PdfFit Del`), columns_and_tags.zig; addons/fake/fake.out and addons/life/life.out re-recorded (a tag one row shorter: one more body row); PROCESS (a helper's edits): 11 cases clicked a word gone or a row a shorter tag moved (lookpanes, selarg, tagnav, tag, images, collapse, layout-open, ghostty-mid, look-fd-deep, respawn, ttylook: each to the word's new place, the own text or the row it moved to) and 5 more whose clicks had silently stopped doing what their comments say (shrinktag, windowops, ttyedit, tagcmd, chordcut); GOLDENS: 101 re-recorded, every change one of: a tag's words (`Term+bash Save Mode Filter Collapse Del` to `Del Term+bash`), a tag no longer wrapping (its body a row taller, the rows under it up one, one more line at the foot), splits a row smaller where a tag above stopped wrapping, a click at a fixed row landing a body row lower, the computed words' ink in style rows; three now do what their comments say where the old golden recorded a miss (chordcut's end, jumps' look-row, wrap's logical-j); ttyhelp.golden left as the merge's placeholder (M1's; this change moves it too); core-test 1126/1299 (173 skipped: +3), shell-test 1347/1350 (3 skipped), pane-test 183/184 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps 0 failures, process-test 1 of 147 failed (ttyhelp, the placeholder; 3 skipped), term-test 17/17, kitty-test 45/45, the gui unit-test 1949/1954 (4 skipped; its one failure colors.zig's whole-ring CPU timing at a load of 8.7, L1's, passing in core-test, and the known BaselineHarnessMismatch); the soak `replicas -- --clients 5 --rtt 30,80,207`: diverged 0, unequal 0, agree/differ 451/0 420/0 623/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; no dump field changes (no fuzz); no frame/perf gate (moved to the programme's end); load 2.6 to 10.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
139 files changed, 1987 insertions, 1691 deletions
diff --git a/addons/fake/fake.out b/addons/fake/fake.out index 4216d91e..3ac52cfe 100644 --- a/addons/fake/fake.out +++ b/addons/fake/fake.out @@ -64,12 +64,13 @@ tag fake petscii:on palette:commodore ascii:on | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 > size 70 30 -window 68x11 +window 68x12 tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 2 68x11 +|view 2 68x12 +| | | | diff --git a/addons/life/life.out b/addons/life/life.out index e6da2e40..c7f81e40 100644 --- a/addons/life/life.out +++ b/addons/life/life.out @@ -84,6 +84,7 @@ tag gen 3 alive 131 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. +|.....##.##...................##. > tick 300 tag gen 3 alive 131 paused |.#.........#...#......#.....#... @@ -100,6 +101,7 @@ tag gen 3 alive 131 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. +|.....##.##...................##. > key lljx tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -116,6 +118,7 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. +|.....##.##...................##. > key k tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -132,6 +135,7 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. +|.....##.##...................##. > body =.#.........#...#......#.....#... =...........#...................# @@ -166,6 +170,7 @@ tag gen 3 alive 130 paused |..........#.....##....######..#. |........#.#...##.###........#... |.......###....#...##.....######. +|.....##.##...................##. > key r tag gen 0 alive 130 paused |.#.#.......##......#...#..#..... @@ -182,6 +187,7 @@ tag gen 0 alive 130 paused |.#..##.......#..#..#....#.#..... |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# +|....#......##.##..#.#.....#.#.#. > key h l tag gen 0 alive 130 |.#.#.......##......#...#..#..... diff --git a/core/Band.zig b/core/Band.zig index 8ee5c9f0..4b56b0b8 100644 --- a/core/Band.zig +++ b/core/Band.zig @@ -681,6 +681,8 @@ test "a narrow band gives way and keeps its spines: the doc goes, the steps star defer p.deinit(); const pane = try p.setTestFile("one\n"); const id = p.view().active; + // Its own text past a row: the tag takes two (UX K'1). + pane.tag.own = try p.gpa.dupe(u8, "words of the user's own that run on past a row"); p.sync(); const rest = pane.tag_rows; try std.testing.expect(rest > 1); @@ -716,6 +718,8 @@ test "out of rest with no band, the rows a tag keeps from rest stay blank: a spi defer p.deinit(); const pane = try p.setTestFile("one\n"); const id = p.view().active; + // Its own text past a row: the tag takes two (UX K'1). + pane.tag.own = try p.gpa.dupe(u8, "words of the user's own that run on past a row"); p.sync(); const rest = pane.tag_rows; try std.testing.expect(rest > 1); diff --git a/core/Command.zig b/core/Command.zig index 908358de..d0d8d2d3 100644 --- a/core/Command.zig +++ b/core/Command.zig @@ -263,14 +263,16 @@ fn matches(q: []const u8, text: []const u8) bool { return Names.match(q, t, std.ascii.lowerString(&low, t), 0, null, null) != null; } -/// The tag's own words, in its order: its text after the prefix but `|`, -/// then for a terminal `Kill` (its job's), unless the tag has it. +/// The tag's words, in its order: its computed words, then its own text +/// but `|` (UX K'1), then for a terminal `Kill` (its job's), unless the +/// tag has it. const Words = struct { - words: std.mem.TokenIterator(u8, .any), + computed: std.mem.TokenIterator(u8, .any), + own: std.mem.TokenIterator(u8, .any), kill: bool, fn next(w: *Words) ?[]const u8 { - while (w.words.next()) |word| { + while (w.computed.next() orelse w.own.next()) |word| { if (std.mem.eql(u8, word, "|")) continue; if (std.mem.eql(u8, word, "Kill")) w.kill = false; return word; @@ -282,7 +284,7 @@ const Words = struct { }; fn tagWords(pane: *Pane) Words { - return .{ .words = std.mem.tokenizeAny(u8, tagline.curTail(pane), " \t\n"), .kill = pane.isTerminal() and pane.command == null }; + return .{ .computed = std.mem.tokenizeAny(u8, tagline.computedWords(pane), " "), .own = std.mem.tokenizeAny(u8, tagline.curTail(pane), " \t\n"), .kill = pane.isTerminal() and pane.command == null }; } /// What row `at` of the rows stands for, as Tab writes it: an answer's @@ -691,6 +693,9 @@ test ": opens a field in the tag after its key cell: the tag's own words first, defer frame.deinit(); const a = frame.allocator(); const pane = try p.setTestFile("b\na\nc\n"); + // Typed into: its tag's words Save Undo Del (UX K'3). + typeKeys(p, "ix"); + p.update(.{ .key = .{ .cp = Key.escape } }); const rest = try std.testing.allocator.dupe(u8, try tagOf(p)); defer std.testing.allocator.free(rest); typeKeys(p, ":"); @@ -699,19 +704,19 @@ test ": opens a field in the tag after its key cell: the tag's own words first, try std.testing.expectEqual(Prompt.Op.command, s.prompt.op); try std.testing.expectEqual(panes.Pane.Focus.body, pane.focus); // The head: its key cell, the field, the count, the hints. - try std.testing.expect(has(try tagOf(p), ": 16 commands Tab complete · ⏎ run · C-r history · esc")); + try std.testing.expect(has(try tagOf(p), ": 14 commands Tab complete · ⏎ run · C-r history · esc")); // The rows: the tag's words in its order, `in the tag`, the last ruled // off; then the commands, each what it takes. try std.testing.expect(has(try bandRow(p, a, 0), "▶ Save ")); try std.testing.expect(has(try bandRow(p, a, 0), "in the tag")); - try std.testing.expect(has(try bandRow(p, a, 1), " Term ")); + try std.testing.expect(has(try bandRow(p, a, 1), " Undo ")); // The doc beside them is the current row's: Save's. try std.testing.expect(has(try bandRow(p, a, 0), "Save in the tag")); const band = (try Band.of(p, a, pane, p.view().active)).?; const first = band.steps[0].rows; - try std.testing.expect(first[4].under and !first[3].under); - try std.testing.expect(has(first[5].text, "write w")); - try std.testing.expect(has(first[7].text, "theme") and has(first[7].text, "<theme>")); + try std.testing.expect(first[2].under and !first[1].under); + try std.testing.expect(has(first[3].text, "write w")); + try std.testing.expect(has(first[5].text, "theme") and has(first[5].text, "<theme>")); // Typing filters both, by the scorer, in their order. typeKeys(p, "th"); try std.testing.expect(has(try tagOf(p), ": th = Exec th 1 command ")); diff --git a/core/Core.zig b/core/Core.zig index f47cc5d8..a22822c2 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -1167,14 +1167,13 @@ fn acknowledgeShellInner(p: *Pardes, id: Pane.Id, executable: []const u8, prompt pane.greeted = false; pane.had_shell = true; pane.fs.unmarked = !prompt_marks; - // The tag's Term word names the shell the host ran, and a click - // on it (`Term+fish`) opens another of the same. + // The tag's text names the shell the host ran (tagline.defaultTail), + // and a click on it (`Term+fish`) opens another of the same. if (pane.command == null) { // A shell given as a path keeps it: its bare name would find // nothing, or another program, on the usual paths. const base = if (pane.shell) |given| (if (std.mem.indexOfScalar(u8, given, '/') != null) given else std.Io.Dir.path.basename(executable)) else std.Io.Dir.path.basename(executable); - const rest = tagline.terminal_pane_tail[" Term".len..]; - if (std.fmt.bufPrint(&pane.shell_tail, " Term+{s}{s}", .{ base, rest })) |tail| { + if (std.fmt.bufPrint(&pane.shell_tail, "Term+{s}", .{base})) |tail| { pane.shell_tail_len = @intCast(tail.len); } else |_| {} } @@ -2018,7 +2017,7 @@ pub fn sync(p: *Pardes) void { const prefix: ?[]const u8 = tagline.prefixIn(p, wa, pane) catch null; // The tag's cursor and selections are offsets in its text at rest: // a head shown over its own text moves none of them (UX D1). - const at_rest = if (pardes.Trail.outOfRest(p, pane)) tagline.restPrefix(p, wa, pane) catch null else prefix; + const at_rest = if (pardes.Trail.outOfRest(p, pane) or pardes.TagState.asks(p, pane)) tagline.restPrefix(p, wa, pane) catch null else prefix; const lead = if (at_rest) |made| made.len else pane.tag_lead; if (lead != pane.tag_lead) { const t = &pane.tag; @@ -2579,9 +2578,10 @@ test "pane-tag Exec prefers Term and argument builtins before shell fallback" { while (p.nextEffect()) |_| {} // initial shell spawn/geometry p.acknowledgeShell(.at(0), "/bin/sh", false); - // The Term word names the shell the host ran, and opens another of it. + // The Term word names the shell the host ran, and opens another of it: + // the tag's text after its computed Del (UX K'3). const pane = p.panes[0].?; - try std.testing.expectEqualStrings(" Term+sh" ++ tagline.terminal_pane_tail[" Term".len..], tagline.curTail(pane)); + try std.testing.expectEqualStrings("Term+sh", tagline.curTail(pane)); const tag_x = p.view().rects[0].x + TAG_TEXT_INSET; const tag_y = p.view().rects[0].y; @@ -2608,10 +2608,11 @@ test "pane-tag Exec prefers Term and argument builtins before shell fallback" { // Argument-taking builtins use the same gesture path: a tag sweep is the // complete command line, and Theme consumes its tail without a PTY write. if (pane.tag.own) |own| p.gpa.free(own); - pane.tag.own = try p.gpa.dupe(u8, " Theme dark"); - p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .press, .col = tag_x + 1, .row = tag_y } }); - p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .drag, .col = tag_x + 10, .row = tag_y } }); - p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .release, .col = tag_x + 10, .row = tag_y } }); + pane.tag.own = try p.gpa.dupe(u8, "Theme dark"); + const theme_x = tag_x + @as(u16, @intCast(std.mem.indexOf(u8, try tagline.tagText(p, p.scratch.allocator(), pane), "Theme dark").?)); + p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .press, .col = theme_x, .row = tag_y } }); + p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .drag, .col = theme_x + 9, .row = tag_y } }); + p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .release, .col = theme_x + 9, .row = tag_y } }); try std.testing.expectEqualStrings("dark", p.theme().name); while (p.nextEffect()) |effect| switch (effect) { .write => return error.ArgumentBuiltinFellThroughToPty, @@ -2627,9 +2628,10 @@ test "pane-tag Exec prefers Term and argument builtins before shell fallback" { // A word absent from the builtin vocabulary takes the fallback, including // the terminating carriage return expected by the shell prompt. if (pane.tag.own) |own| p.gpa.free(own); - pane.tag.own = try p.gpa.dupe(u8, " DefinitelyNotABuiltin"); - p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .press, .col = tag_x + 1, .row = tag_y } }); - p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .release, .col = tag_x + 1, .row = tag_y } }); + pane.tag.own = try p.gpa.dupe(u8, "DefinitelyNotABuiltin"); + const word_x = tag_x + @as(u16, @intCast(std.mem.indexOf(u8, try tagline.tagText(p, p.scratch.allocator(), pane), "Definitely").?)) + 1; + p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .press, .col = word_x, .row = tag_y } }); + p.update(.{ .mouse = .{ .button = config.exec_button, .kind = .release, .col = word_x, .row = tag_y } }); var sent: [256]u8 = undefined; var sent_len: usize = 0; while (p.nextEffect()) |effect| switch (effect) { @@ -2701,12 +2703,14 @@ test "TreeContext command and custom tag survive a workspace round trip" { defer p.deinit(); const pane = try p.setTestFile("pub fn main() void {}\n"); try std.testing.expect(!pardes.panes.File.supportsContext(pane)); - try std.testing.expectEqualStrings(tagline.file_pane_tail, tagline.curTail(pane)); + try std.testing.expectEqualStrings(tagline.file_pane_tail, tagline.kindTail(pane)); const path = try p.gpa.dupe(u8, "/test.zig"); p.gpa.free(pane.file.?.path); pane.file.?.path = path; if (!pardes.panes.File.supportsContext(pane)) return error.SkipZigTest; - try std.testing.expectEqualStrings(if (lsp.speaks("/test.zig")) tagline.lsp_context_pane_tail else tagline.context_pane_tail, tagline.curTail(pane)); + // TreeContext is a word of its kind's (`:`'s, UX K'4), not its tag's. + try std.testing.expectEqualStrings(if (lsp.speaks("/test.zig")) tagline.lsp_context_pane_tail else tagline.context_pane_tail, tagline.kindTail(pane)); + try std.testing.expect(std.mem.indexOf(u8, try tagline.tagText(p, p.scratch.allocator(), pane), "TreeContext") == null); try std.testing.expect(!pane.file.?.tree_context); try std.testing.expect(p.executeBuiltinLine(0, "TreeContext on")); try std.testing.expect(pane.file.?.tree_context); @@ -2767,7 +2771,7 @@ test "Filter is ordered after Del and toggles only its terminal or +Pager pane" const pager_id = try pardes.panes.Output.openPager(p, 0, "/tmp"); const pager_pane = p.panes[pager_id].?; try testing.expect(pager_pane.tty_filter); - try testing.expectEqualStrings(tagline.pager_pane_tail, tagline.curTail(pager_pane)); + try testing.expectEqualStrings(" Filter Del", tagline.computedWords(pager_pane)); try testing.expectEqual(@as(u16, 0), pardes.panes.File.gutterWidth(pager_pane)); try testing.expect(p.executeBuiltinLine(pager_id, "Filter")); try testing.expect(!pager_pane.tty_filter); @@ -2797,7 +2801,9 @@ test "compact tag commands stay beside their own prefix across layout changes" { defer gpa.free(above_tag); const below_tag = try tagline.tagText(p, p.scratch.allocator(), below); try std.testing.expect(below_tag.len > above_tag.len); - const tail = tagline.terminal_pane_tail; + // Its computed Del, the blank before its own text (UX K'1), and that + // text: Term, its shell not yet named. + const tail = " Del Term"; try std.testing.expectEqualStrings(tail, above_tag[above_tag.len - tail.len ..]); try std.testing.expectEqual(above.cwdSlice().len + tail.len, above_tag.len); @@ -2809,7 +2815,7 @@ test "compact tag commands stay beside their own prefix across layout changes" { try std.testing.expectEqualStrings(above_tag, try tagline.tagText(p, p.scratch.allocator(), above)); p.update(.{ .resize = .{ .cols = 100, .rows = 30 } }); while (p.nextEffect()) |_| {} - try std.testing.expectEqualStrings(tail, tagline.curTail(below)); + try std.testing.expectEqualStrings("Term", tagline.curTail(below)); try below.appendTag(" lots and lots of typing out here"); try std.testing.expectEqual(above_tag.len, (try tagline.tagText(p, p.scratch.allocator(), above)).len); @@ -3081,7 +3087,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 PY")); var idbuf: [48]u8 = undefined; try std.testing.expectEqualStrings("python-a", exec.replId(&idbuf, p.panes[1].?)); - try std.testing.expect(std.mem.endsWith(u8, try tagline.tagPrefix(p, p.panes[1].?), " python-a")); + try std.testing.expect(std.mem.endsWith(u8, try tagline.pathPrefix(p, p.scratch.allocator(), p.panes[1].?), " python-a")); Sent.drain(p); // A click on the file's body, a single word: typed into the REPL. @@ -3284,7 +3290,7 @@ test "a Term started by a shell's path keeps the path in its Term+ word" { try std.testing.expect(p.executeBuiltinLine(0, "Term /bin/sh")); try std.testing.expect(p.view().active != 0); p.acknowledgeShell(.at(p.view().active), "/bin/sh", false); - try std.testing.expect(std.mem.startsWith(u8, tagline.curTail(p.panes[p.view().active].?), " Term+/bin/sh ")); + try std.testing.expectEqualStrings("Term+/bin/sh", tagline.curTail(p.panes[p.view().active].?)); } test "Tty, Term's old name in saved tags, runs as Term, bare and with its +shell" { @@ -3310,7 +3316,7 @@ test "Term+fish, one word a tag can hold, opens a terminal on that shell" { try std.testing.expect(p.view().active != 0); try std.testing.expectEqualStrings("sh", p.panes[p.view().active].?.shell.?); p.acknowledgeShell(.at(p.view().active), "/bin/sh", false); - try std.testing.expect(std.mem.startsWith(u8, tagline.curTail(p.panes[p.view().active].?), " Term+sh ")); + try std.testing.expectEqualStrings("Term+sh", tagline.curTail(p.panes[p.view().active].?)); p.view().active = 0; // A shell that is not there is said, not quietly replaced, and the // pane that asked gets no shell of its own. @@ -3350,7 +3356,7 @@ test "a command pane shows how its command ended, and the next command there run } var frame = std.heap.ArenaAllocator.init(gpa); defer frame.deinit(); - try std.testing.expect(std.mem.endsWith(u8, try tagline.tagPrefix(p, pane), "(make -j8) running")); + try std.testing.expect(std.mem.endsWith(u8, try tagline.pathPrefix(p, p.scratch.allocator(), pane), "(make -j8) running")); // Running, a second command goes to a pane of its own. const other = exec.execute(p, 1, "ls") orelse return error.NoCommandPane; try std.testing.expect(other != dst); @@ -3368,7 +3374,7 @@ test "a command pane shows how its command ended, and the next command there run try std.testing.expect(p.panes[dst] == pane and !pane.command_pty); try std.testing.expect(p.panes[dst] == pane); try std.testing.expect(pane.command_done); - try std.testing.expect(std.mem.endsWith(u8, try tagline.tagPrefix(p, pane), "(make -j8) exit 2")); + try std.testing.expect(std.mem.endsWith(u8, try tagline.pathPrefix(p, p.scratch.allocator(), pane), "(make -j8) exit 2")); // Kill leaves a finished one be. try std.testing.expect(p.executeBuiltinLine(0, "Kill make")); while (p.nextEffect()) |effect| if (effect == .signal_pty and effect.signal_pty.pane.index() == dst) return error.SignalledAFinishedCommand; @@ -3390,7 +3396,7 @@ test "a command pane shows how its command ended, and the next command there run const ended = std.mem.indexOf(u8, body, "exit 2") orelse return error.ExitLost; const next = std.mem.indexOf(u8, body, "% make test") orelse return error.NoSeparator; try std.testing.expect(said < ended and ended < next); - try std.testing.expect(std.mem.endsWith(u8, try tagline.tagPrefix(p, pane), "(make test) running")); + try std.testing.expect(std.mem.endsWith(u8, try tagline.pathPrefix(p, p.scratch.allocator(), pane), "(make test) running")); // Kill stops a running one: its whole process group, SIGTERM. try std.testing.expect(p.executeBuiltinLine(0, "Kill make")); var signalled = false; diff --git a/core/Dir.zig b/core/Dir.zig index 869a7cd5..b9c8c917 100644 --- a/core/Dir.zig +++ b/core/Dir.zig @@ -360,7 +360,7 @@ test "a look at a directory opens a pane named for it with a /, its entries in c try testing.expectEqual(id, p.view().active); const pane = p.panes[id].?; try testing.expectEqualStrings(".dot sub/ top.txt\n", pane.file.?.content); - try testing.expectEqualStrings(@import("tagline.zig").dir_pane_tail, @import("tagline.zig").curTail(pane)); + try testing.expectEqualStrings(" Get Del", @import("tagline.zig").computedWords(pane)); try testing.expectEqualStrings(s.dir, Pardes.paneDir(pane)); // Edited, still never dirty, and no Save writes it. try testing.expect(p.executeBuiltinLine(id, "Edit ,d")); diff --git a/core/Effect.zig b/core/Effect.zig index 3bca04c9..e9f7a8f3 100644 --- a/core/Effect.zig +++ b/core/Effect.zig @@ -442,8 +442,9 @@ test "Save on an output buffer writes its rows out and leaves the buffer alone" const rows = try gpa.dupe(u8, out.file.?.content); defer gpa.free(rows); - // Save leads its tagline now, and the path is REQUIRED: a bare Save asks - try std.testing.expectEqualStrings(tagline.file_pane_tail, tagline.curTail(out)); + // Save is one of its words (`:`'s, UX K'4), and the path is REQUIRED: a + // bare Save asks + try std.testing.expectEqualStrings(tagline.file_pane_tail, tagline.kindTail(out)); try std.testing.expect(p.executeBuiltinLine(id, "Save")); try std.testing.expect(out.prompt == .save); try edit.insertKey(p.editor(), &out.input, .{ .cp = 'h', .text = "help.txt" }); @@ -626,25 +627,29 @@ test "a save whose pane is gone before the drain writes nothing" { try std.testing.expect(p.fallback.get("/tmp/pardes-gone/recycled.txt") == null); } -test "Save reaches every tagline with text behind it and no other" { +test "Save is a word of every pane with text behind it and no other" { const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 100, .rows = 30 }); defer p.deinit(); while (p.nextEffect()) |_| {} + // Its kind's words (what `:` lists, UX K'4); its tag's, while clean, + // Del alone (K'3). const out = try p.setTestFile("build.zig:1:1 pub fn main\n"); out.file.?.output = .{ .from = .search }; - try std.testing.expectEqualStrings(tagline.locations_pane_tail, tagline.curTail(out)); + try std.testing.expectEqualStrings(tagline.locations_pane_tail, tagline.kindTail(out)); + try std.testing.expectEqualStrings(" Del", tagline.computedWords(out)); - // A scratch is an output buffer that wears the FILE tails. + // A scratch is an output buffer that has the FILE words. out.file.?.output = .{ .from = .{ .cmd = std.meta.stringToEnum(pardes.Builtin, "New").? } }; - try std.testing.expectEqualStrings(" Save Term Collapse Follow Del", tagline.curTail(out)); + try std.testing.expectEqualStrings(" Save Term Collapse Follow Del", tagline.kindTail(out)); // An image's bytes on disk already are what they are: nothing of the // pane's own is unwritten, so the word is absent and inert. const img_id = p.freeSlot().?; const img = try pardes.Kind.open(p, img_id, pardes.Kind.test_kind.of(p), "/tmp/pardes-tag.ppm", ""); - try std.testing.expectEqualStrings(" Term Collapse Del", tagline.curTail(img)); + try std.testing.expectEqualStrings(" Del", tagline.kindTail(img)); + try std.testing.expectEqualStrings(" Del", tagline.computedWords(img)); try std.testing.expect(p.executeBuiltinLine(img_id, "Save")); try std.testing.expect(img.prompt != .save); var buf: [256]u8 = undefined; diff --git a/core/File.zig b/core/File.zig index 0f9178ac..217531fd 100644 --- a/core/File.zig +++ b/core/File.zig @@ -2191,12 +2191,17 @@ pub fn unchain(pane: *Pane) void { dropUnfollow(pane); } -/// The Unfollow word Follow gave a pane's tag (builtins.Follow), gone. +/// The Unfollow word Follow gave a pane's tag (builtins.Follow), gone, with +/// the blank before it (after it, first in the tag's own text). fn dropUnfollow(pane: *Pane) void { const own = pane.tag.own orelse return; - const at = std.mem.indexOf(u8, own, " Unfollow") orelse return; - const end = at + " Unfollow".len; - if (end < own.len and std.mem.indexOfScalar(u8, " \t\n", own[end]) == null) return; + const word = std.mem.indexOf(u8, own, "Unfollow") orelse return; + const word_end = word + "Unfollow".len; + const blank_after = word_end < own.len and std.mem.indexOfScalar(u8, " \t\n", own[word_end]) != null; + if (word_end < own.len and !blank_after) return; + if (word > 0 and own[word - 1] != ' ') return; + const at = if (word > 0) word - 1 else word; + const end = if (word == 0 and blank_after) word_end + 1 else word_end; const cut = std.mem.concat(pane.gpa, u8, &.{ own[0..at], own[end..] }) catch return; pane.gpa.free(own); pane.tag.own = cut; diff --git a/core/Kind.zig b/core/Kind.zig index 4e1aa469..430f8ba8 100644 --- a/core/Kind.zig +++ b/core/Kind.zig @@ -305,10 +305,10 @@ pub fn reopen(p: *Pardes, id: usize, s: *Slot, bytes: ?[]const u8) bool { if (s.plain) |b| if (b.len > 0) s.gpa.free(b); s.plain = &.{}; } + // Its tag's computed words (UX K'3): its words, then Del. var w: std.Io.Writer = .fixed(&s.tail.bytes); - w.writeAll(" Term") catch {}; for (p.kinds.words[0..p.kinds.nwords]) |*kw| if (kw.kind == k and kw.opens == 0) w.print(" {s}", .{kw.name.slice()}) catch {}; - w.writeAll(" Collapse Del") catch {}; + w.writeAll(" Del") catch {}; s.tail.len = @intCast(w.buffered().len); } s.opened = if (bytes) |b| std.hash.Wyhash.hash(0, b) else 0; diff --git a/core/Messages.zig b/core/Messages.zig index e05961b5..9361a2d7 100644 --- a/core/Messages.zig +++ b/core/Messages.zig @@ -1554,7 +1554,8 @@ test "a question never adds a row to its tag: at every width the asking tag take } 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 }); + // Wide: the tag at rest one row (UX K'3), the question whole in it. + const p = try Pardes.init(std.testing.allocator, .{ .cols = 200, .rows = 20 }); defer p.deinit(); var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); diff --git a/core/Pipe.zig b/core/Pipe.zig index 1ef2e4ea..e94d2099 100644 --- a/core/Pipe.zig +++ b/core/Pipe.zig @@ -480,8 +480,9 @@ test "| in a tag pipes the tag's own text, and undo there brings it back" { defer p.deinit(); while (p.nextEffect()) |_| {} const pane = try p.setTestFile("body\n"); - for ("::") |c| p.update(.{ .key = .{ .cp = c } }); // the tag (`:` on the empty `:` field), on Save - p.update(.{ .key = .{ .cp = 'e' } }); // Save selected + pane.tag.own = try gpa.dupe(u8, "Look here"); // the user's text (UX K'1) + for ("::") |c| p.update(.{ .key = .{ .cp = c } }); // the tag (`:` on the empty `:` field), on its own text + p.update(.{ .key = .{ .cp = 'e' } }); // Look selected p.update(.{ .key = .{ .cp = '|' } }); try std.testing.expect(pane.focus == .tag and pane.prompt == .pipe and pane.prompt_for == .tag); p.update(.{ .key = .{ .cp = 't', .text = "tr a-z A-Z" } }); @@ -490,13 +491,13 @@ test "| in a tag pipes the tag's own text, and undo there brings it back" { const id = nextPipeEffect(p) orelse return error.MissingPipeEffect; const request = p.pipe.pipeRequest(id) orelse return error.MissingPipeRequest; try std.testing.expectEqual(@as(usize, 1), request.inputs.len); - try std.testing.expectEqualSlices(u8, "Save", request.inputs[0]); - const outputs: []const []const u8 = &.{"SAVE"}; + try std.testing.expectEqualSlices(u8, "Look", request.inputs[0]); + const outputs: []const []const u8 = &.{"LOOK"}; p.update(.{ .pipe_resp = .{ .id = id, .success = true, .outputs = outputs } }); - try std.testing.expect(std.mem.startsWith(u8, pardes.tagline.curTail(pane), " SAVE ")); + try std.testing.expectEqualStrings("LOOK here", pardes.tagline.curTail(pane)); try std.testing.expectEqualStrings("body\n", pane.file.?.content); p.update(.{ .key = .{ .cp = 'u' } }); - try std.testing.expect(std.mem.startsWith(u8, pardes.tagline.curTail(pane), " Save ")); + try std.testing.expectEqualStrings("Look here", pardes.tagline.curTail(pane)); } test "$ keeps the selections the command exits 0 on, and a real shell gives that verdict" { diff --git a/core/Stream.zig b/core/Stream.zig index e9e7793b..c5069ed5 100644 --- a/core/Stream.zig +++ b/core/Stream.zig @@ -1452,7 +1452,7 @@ test "Stream: a Grep stops at its 2000 lines and waits; More in the query pane's p.update(.tick); try testing.expectEqual(@as(usize, soft_cap), qp.query.?.found.items.len); try testing.expect(qp.query.?.capped); - try testing.expectEqualStrings(" More Del", @import("tagline.zig").curTail(qp)); + try testing.expectEqualStrings(" More Del", @import("tagline.zig").computedWords(qp)); pardes.exec.runBuiltin(p, .More, qid, "", null); try shell.finish(p, 20_000); p.update(.tick); diff --git a/core/TagState.zig b/core/TagState.zig index 3bf67e5e..c754e468 100644 --- a/core/TagState.zig +++ b/core/TagState.zig @@ -339,9 +339,16 @@ fn reaches(p: *const Pardes, root: Root, path: []const u8, leaf: bool) bool { /// the keyboard). The pane's state, not the view's keyboard: every view /// shows it; not while the tag has the keyboard, whose own text is edited /// then. +/// A question waits on pane `pane` at rest, its keyboard not in its tag: +/// its tag says it after the path, in place of the tag's computed words +/// and own text (UX D13, K'3). +pub fn asks(p: *const Pardes, pane: *const Pane) bool { + return pane.focus != .tag and pane.prompt != .name and p.messages.waiting(pane) != null; +} + fn asking(p: *Pardes, arena: std.mem.Allocator, pane: *Pane) !?Head { - if (pane.focus == .tag or pane.prompt == .name) return null; - const i = p.messages.waiting(pane) orelse return null; + if (!asks(p, pane)) return null; + const i = p.messages.waiting(pane).?; const said = &p.messages.live[i]; var b: Builder = .{ .arena = arena }; // In the rows the tag takes at rest (UX D13: a question never adds a @@ -350,7 +357,7 @@ fn asking(p: *Pardes, arena: std.mem.Allocator, pane: *Pane) !?Head { // always show. const tab = p.settings.tab; const id = panes.paneIdOf(p, pane) orelse return null; - const room = @as(usize, @import("layout.zig").wantedTagRows(p, id)) * tagline.tagWidth(p, id) -| panes.File.displayWidth(tab, try tagline.restPrefix(p, arena, pane)); + const room = @as(usize, @import("layout.zig").wantedTagRows(p, id)) * tagline.tagWidth(p, id) -| panes.File.displayWidth(tab, try tagline.prefixIn(p, arena, pane)); const hint = if (p.view().answering == pane.serial) "· Esc later" else "· SPC e to answer"; var answers: usize = 2; // ` ▸`, then each ` k word ` for (said.asks.answers()) |a| answers += 3 + panes.File.displayWidth(tab, a.word) + 1; @@ -1321,6 +1328,8 @@ test "a tag out of rest keeps exactly its rows at rest: a level shorter than its defer p.deinit(); _ = try p.setTestFile("one\n"); const pane = p.panes[p.view().active].?; + // Its own text past a row: the tag takes two (UX K'1). + pane.tag.own = try p.gpa.dupe(u8, "words of the user's own that run on past a row"); p.sync(); const rows, const tag_rows = .{ pane.rows, pane.tag_rows }; try std.testing.expect(tag_rows > 1); diff --git a/core/Trail.zig b/core/Trail.zig index 2a37d68a..f2b4fef4 100644 --- a/core/Trail.zig +++ b/core/Trail.zig @@ -598,7 +598,7 @@ test "a file's pane is reading, its tag in the reading tint with Keep after its // Under Jumps new-pane nothing reads: the tag as it always was. p.settings.jumps = .@"new-pane"; try std.testing.expect(!reading(p, pane)); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow Del", try tagOf(p, pane)); + try std.testing.expectEqualStrings("/test.txt Del ", try tagOf(p, pane)); try std.testing.expectEqual(pardes.Color{ .rgb = p.chromeTheme().tag_active_bg }, try tagGroundOf(p, &arena, 0)); p.settings.jumps = .walk; // Typed into: held from now on, though Undo takes the text back. @@ -650,7 +650,7 @@ const Fixture = struct { for ([_][]const u8{ "search.zig", "rank.zig", "place.zig" }) |name| try f.tmp.dir.writeFile(std.testing.io, .{ .sub_path = name, .data = w.buffered() }); f.dir = f.dir_buf[0..try f.tmp.dir.realPath(std.testing.io, &f.dir_buf)]; - f.p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = rows }); + f.p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 200, .rows = rows }); errdefer f.p.deinit(); _ = try f.p.setTestFile("scratch\n"); f.p.settings.jumps = .@"new-pane"; @@ -753,7 +753,7 @@ test "a Look from inside the reader at a file its held pane shows focuses the he test "the reader of a held pane too short to halve goes to the bottom of the next column, of the previous one from the last" { var f: Fixture = .{ .p = undefined, .tmp = undefined }; - try f.init(24); + try f.init(20); defer f.deinit(); const col = layout.findPane(f.p, f.held).?.col; try std.testing.expect(f.p.view().rects[f.held].h / 2 < f.p.panes[f.held].?.tag_rows + layout.reader_keeps); @@ -830,7 +830,7 @@ test "the session of pick-ui §6.7: four jumps across three files, back by a cli // makes a new reader. pardes.exec.runBuiltin(p, .Keep, r, "Keep", null); p.sync(); - try std.testing.expect(std.mem.startsWith(u8, try tagOf(p, p.panes[r].?), try std.fmt.bufPrint(&buf, "{s}/rank.zig Save", .{f.dir}))); + try std.testing.expect(std.mem.startsWith(u8, try tagOf(p, p.panes[r].?), try std.fmt.bufPrint(&buf, "{s}/rank.zig Del ", .{f.dir}))); f.look(f.held, "place.zig", 20); const fresh = p.view().active; try std.testing.expect(fresh != r and fresh != f.held and p.panes[r] != null); diff --git a/core/builtins.zig b/core/builtins.zig index 7aaeee40..e9df737f 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1993,7 +1993,8 @@ pub const Follow = struct { made.file.?.follow = true; c.pane.follow_scroll = f.scroll; made.follow_scroll = made.file.?.scroll; - made.appendTag(" Unfollow") catch |err| c.p.reportError(.at(c.id), "Follow", err); + // The new page's own text (UX K'1): a word after its computed ones. + made.appendTag(if (tagline.curTail(made).len == 0) "Unfollow" else " Unfollow") catch |err| c.p.reportError(.at(c.id), "Follow", err); } }; diff --git a/core/dump.zig b/core/dump.zig index 2dde9c8c..2806e445 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -639,6 +639,7 @@ fn loadAndRevive(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, previ var on_disk: OnDisk = @splat(false); const p = try loadKnowing(gpa, opts, bytes, ¬es, &on_disk); errdefer p.deinit(); + dropOldTags(p); // The 9P state its requests made was its connections', which do not // come with it (a client's join loads alone, and keeps it). p.fs.forget(gpa); @@ -661,6 +662,20 @@ fn loadAndRevive(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, previ return p; } +/// A build before UX K' kept a tag's command words as its own text: one a +/// dump restores equal to what its kind's tag said then (tagline.kindTail) +/// is dropped, its words computed now (K'1); any other is the user's text, +/// kept as it is. Here, where a Restore, a start from a dump and an +/// Upgrade load (a replica's join loads its authority's, dropped there). +fn dropOldTags(p: *Pardes) void { + for (p.panes) |slot| if (slot) |pane| if (pane.tag.own) |own| { + if (!std.mem.eql(u8, own, pardes.tagline.kindTail(pane))) continue; + p.gpa.free(own); + pane.tag.own = null; + pane.tag.cur_pinned = false; + }; +} + /// A loaded core given to this host (with `revivePane` for each of its /// panes): the store and Recent read (a Restore's carried from the session /// it replaces, with its state file) and its ThemeFile asked for again. An diff --git a/core/edit.zig b/core/edit.zig index e68f8d38..fa442fca 100644 --- a/core/edit.zig +++ b/core/edit.zig @@ -682,9 +682,10 @@ pub fn setEditTextEnd(e: Editor, t: *Text, new: []u8, known_end: ?modal.Cursor) fn setEditTextSpan(e: Editor, t: *Text, new: []u8, known_end: ?modal.Cursor, span: ?panes.File.Span) Error!void { if (t.what == .tag) { // A tag is edited as it is shown, but only what follows its - // prefix is its own: an edit that changed the prefix is refused. - // The shown text stays alive until the next such edit, since every - // caller reads the new text back, as a body's is kept. + // prefix (its path and computed words, UX K'1) is its own: an edit + // that changed the prefix is refused. The shown text stays alive + // until the next such edit, since every caller reads the new text + // back, as a body's is kept. defer retireEditText(e, new); const pane = t.pane() orelse return; // Out of rest the tag shows its head, which is no one's to edit. @@ -692,7 +693,7 @@ fn setEditTextSpan(e: Editor, t: *Text, new: []u8, known_end: ?modal.Cursor, spa t.refused = true; return; } - const prefix = try tagline.pathPrefix(e.p, e.scratch, pane); + const prefix = try tagline.restPrefix(e.p, e.scratch, pane); if (!std.mem.startsWith(u8, new, prefix)) { t.refused = true; return; diff --git a/core/jj.zig b/core/jj.zig index 63488b8c..08c31e5c 100644 --- a/core/jj.zig +++ b/core/jj.zig @@ -2567,7 +2567,7 @@ test "At shows a file at a revision beside it, read-only, coloured as its file; try testing.expectEqualStrings(Repo.two, pane.file.?.content); const name = try std.fmt.allocPrint(gpa, "{s}@@-", .{repo.file}); defer gpa.free(name); - try testing.expectEqualStrings(name, try pardes.tagline.tagPrefix(p, pane)); + try testing.expectEqualStrings(name, try pardes.tagline.pathPrefix(p, p.scratch.allocator(), pane)); try testing.expectEqualStrings(repo.file, File.langPath(&pane.file.?)); try testing.expect(pane.colorAlgo() == .source); // Read-only: a key's edit and a whole-text edit (dd) change nothing, and a bare Save says so. diff --git a/core/layout.zig b/core/layout.zig index 3f6bea51..be2d213c 100644 --- a/core/layout.zig +++ b/core/layout.zig @@ -592,12 +592,18 @@ pub const min_body_rows = 2; /// wants a row more. pub fn wantedTagRows(p: *Pardes, id: usize) u16 { const pane = p.panes[id] orelse return BOX_H; + return tagRows(p, id, tagline.computedWords(pane)); +} + +/// The rows pane `id`'s tag at rest takes with computed words `words`. +fn tagRows(p: *Pardes, id: usize, words: []const u8) u16 { + const pane = p.panes[id] orelse return BOX_H; if (pane.collapsed or !pane.tag_expanded) return BOX_H; if (p.view().rects[id].w == 0) return pane.tag_rows; // never laid out var wrap_room: [32 * 1024]u8 = undefined; var wrap_fba = std.heap.FixedBufferAllocator.init(&wrap_room); const wa = wrap_fba.allocator(); - const prefix = tagline.restPrefix(p, wa, pane) catch return pane.tag_rows; + const prefix = tagline.prefixWith(p, wa, pane, words) catch return pane.tag_rows; const whole = std.mem.concat(wa, u8, &.{ prefix, tagline.curTail(pane) }) catch return pane.tag_rows; const shown = tagline.wrapTag(p.settings.tab, wa, whole, tagline.tagWidth(p, id)) catch return pane.tag_rows; return @intCast(@max(BOX_H, @min(shown.rows(), MAX_TAG_ROWS))); @@ -622,7 +628,11 @@ pub fn headRows(p: *Pardes, id: usize) u16 { /// The rows a placement, and a `size`, leave a pane: its tag at its width /// and `min_body_rows`. The one minimum both ask. pub fn minRows(p: *Pardes, id: usize) u16 { - return wantedTagRows(p, id) + min_body_rows; + const pane = p.panes[id] orelse return BOX_H + min_body_rows; + // Its tag with the widest computed words it can come to show (UX + // K'3): an edit that brings Save and Undo never takes a row its + // column did not give. + return tagRows(p, id, tagline.widestWords(p, pane)) + min_body_rows; } /// Whether every column has the rows for each of its unfolded panes' diff --git a/core/lsp/Ask.zig b/core/lsp/Ask.zig index 0f4f39dc..c60eb72b 100644 --- a/core/lsp/Ask.zig +++ b/core/lsp/Ask.zig @@ -558,17 +558,21 @@ test "Lspwhy after a Hover asks to explain that hover, in its file at its place, try std.testing.expect(seen); } -test "Def and Refs are a speaking file's tag words; gd, gr and a 2-1 chord all run them" { +test "Def and Refs are a speaking file's words, out of its tag (UX K'4); gd, gr and a 2-1 chord on them typed in its tag all run them" { if (!lsp.supports.contains(.definition)) return error.SkipZigTest; const p = try Pardes.init(std.testing.allocator, .{ .cols = 100, .rows = 24, .tty_only = true }); defer p.deinit(); const pane = try p.setTestFile("const alpha = 1;\nconst beta = alpha;\n"); // A .txt has no server: no Def, no Refs. - try std.testing.expect(std.mem.indexOf(u8, tagline.curTail(pane), "Def") == null); + try std.testing.expect(std.mem.indexOf(u8, tagline.kindTail(pane), "Def") == null); const f = &pane.file.?; p.gpa.free(f.path); f.path = try p.gpa.dupe(u8, "/tmp/x.zig"); - try std.testing.expect(std.mem.endsWith(u8, tagline.curTail(pane), " Def Refs Del")); + try std.testing.expect(std.mem.endsWith(u8, tagline.kindTail(pane), " Def Refs Del")); + // Its tag's computed words have neither: typed into its own text, they + // run as any word there does. + try std.testing.expect(std.mem.indexOf(u8, tagline.computedWords(pane), "Def") == null); + pane.tag.own = try p.gpa.dupe(u8, "Def Refs"); p.sync(); while (p.nextEffect()) |_| {} const Asked = struct { diff --git a/core/ninep/pane.zig b/core/ninep/pane.zig index 093a9223..3627fdfb 100644 --- a/core/ninep/pane.zig +++ b/core/ninep/pane.zig @@ -777,7 +777,7 @@ pub fn applyTagTruncation(p: *Pardes, pane: *Pane) void { pane.tag.own = empty; // what is left is the prefix; the cursor goes after it pane.tag.cur_row = 0; - pane.tag.cur_col = if (tagline.pathPrefix(p, p.scratch.allocator(), pane)) |prefix| @intCast(prefix.len) else |_| 0; + pane.tag.cur_col = if (tagline.restPrefix(p, p.scratch.allocator(), pane)) |prefix| @intCast(prefix.len) else |_| 0; pane.tag.vsel.active = false; pane.tag.nsel = 0; pf.tag_rewrite = true; diff --git a/core/tagline.zig b/core/tagline.zig index 0ec26d2f..3a306f04 100644 --- a/core/tagline.zig +++ b/core/tagline.zig @@ -17,6 +17,8 @@ const Text = panes.Text; const TAG_TEXT_INSET = pardes.TAG_TEXT_INSET; const Pardes = pardes.Pardes; +/// The words a pane of each kind had in its tag before UX K' (its own +/// text until edited then): what `kindTail` says. pub const pane_tail = " " ++ config.pane_builtins_str; pub const file_pane_tail = " " ++ config.file_pane_builtins_str; fn withFileCommands(comptime tail: []const u8, comptime words: []const u8) []const u8 { @@ -41,6 +43,71 @@ pub const query_live_tail = " Del"; pub const query_frozen_tail = " Save Undock Del"; /// ...and while its Grep waits at 2000 lines for More (Stream.zig). pub const query_capped_tail = " More Del"; + +/// A file's computed words (UX K'3) by which of `Diff`, `Filter`, `Save`, +/// `Undo` and `Redo` act now (bit 0 to 4), each after a blank, `Del` last. +const file_words = words: { + const names = [_][]const u8{ "Diff", "Filter", "Save", "Undo", "Redo" }; + var table: [1 << names.len][]const u8 = undefined; + for (&table, 0..) |*words, bits| { + words.* = ""; + for (names, 0..) |name, i| if (bits >> i & 1 == 1) { + words.* = words.* ++ " " ++ name; + }; + words.* = words.* ++ " Del"; + } + break :words table; +}; + +/// A pane's computed words at rest (UX K'3): the words that act now, each +/// after a blank, read-only and made again from its state, as its path is. +/// The tag's own text (the user's) follows them. +pub fn computedWords(pane: *const Pane) []const u8 { + // A kind's: its addon's words, then Del (Kind.reopen). + if (pane.addon) |k| if (k.tail.len > 0) return k.tail.slice(); + if (pane.query) |q| return if (q.frozen) query_frozen_tail else if (q.capped) query_capped_tail else query_live_tail; + if (pane.file) |*f| { + if (f.output) |out| if (out.from == .preview) return query_live_tail; + if (f.listing != null) return " Get Del"; + const j = &f.history.journal; + var bits = fileBits(pane, f); + if (!dirty(pane)) bits &= ~@as(usize, 4); + // A step back with something in it: insert mode's mark is a step + // of none until a key types (Text.Journal.mark keeps one such, on + // top), and Undo would act on nothing. + if (j.done == 0 or (j.done == 1 and j.steps.items[0].n == 0)) bits &= ~@as(usize, 8); + if (j.done == j.steps.items.len) bits &= ~@as(usize, 16); + return file_words[bits]; + } + if (pane.command != null) return if (pane.command_done) " Del" else " Kill Del"; + return " Del"; +} + +/// The computed words pane `pane` can come to show (K'3: Save, Undo and +/// Redo come and go with its edits, a query's as it freezes): what a +/// placement leaves its tag the rows for (layout.minRows), so an edit +/// never takes a row its column did not give. A reading pane's are its +/// own (its first edit holds it): its walk folds to the rows it has with +/// them (`folded`). +pub fn widestWords(p: *const Pardes, pane: *const Pane) []const u8 { + if (pardes.Trail.reading(p, pane)) return computedWords(pane); + if (pane.query != null) return query_frozen_tail; + if (pane.file) |*f| if (f.listing == null and (if (f.output) |out| out.from != .preview else true)) + return file_words[fileBits(pane, f)]; + return computedWords(pane); +} + +/// A file's computed words that its kind can show (file_words' bits): +/// Diff for a diff (a .patch, a +Pager holding one, the Diff view), +/// Filter for a pager, Save where it saves (never a +New's, K'3: SPC f s +/// asks it a path), Undo and Redo. +fn fileBits(pane: *const Pane, f: *const panes.File.State) usize { + const diff = if (f.pager) f.pager_diff else pane.colorAlgo() == .diff or + (if (f.output) |out| std.meta.eql(out.from, panes.Output.Origin{ .cmd = .Diff }) else false); + const scratch = if (f.output) |out| std.meta.eql(out.from, panes.Output.Origin{ .cmd = .New }) else false; + const saves = panes.Output.fileTraits(f.output).saves and !scratch; + return @as(usize, @intFromBool(diff)) | @as(usize, @intFromBool(f.pager)) << 1 | @as(usize, @intFromBool(saves)) << 2 | 8 | 16; +} /// A file with changes it has not saved. pub fn dirty(pane: *const panes.Pane) bool { const f = pane.file orelse return false; @@ -120,9 +187,9 @@ fn shownDir(arena: std.mem.Allocator, pane: *Pane) ![]const u8 { return pardes.ctlfs.events.shown(dir, out); } -/// The computed start of a pane's tag -- its path and dirty marker, a -/// PDF's page, a terminal's directory -- without the space that parts it -/// from the tag's own text. It is never stored, and never edited. +/// The computed start of a pane's tag -- its path, a PDF's page, a +/// terminal's directory -- without its computed words (restPrefix). It is +/// never stored, and never edited. pub fn pathPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]const u8 { // Out of rest (UX D1) the owner's word and the newest step's, each with // its ` › `, before the head: the path, the forward steps and Keep @@ -240,7 +307,9 @@ pub fn folded(p: *const Pardes, pane: *const Pane) Fold { const name = if (pane.prompt == .name) pane.input.own orelse f.path else f.path; const keep = pardes.Trail.reading(p, pane); const tail = curTail(pane); - const bare = panes.File.displayWidth(tab, name) + @as(usize, if (keep) " Keep".len else 0) + panes.File.displayWidth(tab, tail); + // Its computed words and the blank before its own text (restPrefix). + const words = panes.File.displayWidth(tab, computedWords(pane)) + 1; + const bare = panes.File.displayWidth(tab, name) + @as(usize, if (keep) " Keep".len else 0) + words + panes.File.displayWidth(tab, tail); var whole: usize = pardes.Trail.shown_steps; while (whole > 1 and rowsOf(bare + walkCells(t, whole, tab), width) > rowsOf(bare, width)) whole -= 1; const r = p.view().rects[id]; @@ -249,34 +318,38 @@ pub fn folded(p: *const Pardes, pane: *const Pane) Fold { // one the layout has given its width and not yet its height (the band // host's floor, layout.floorRows, wraps its tag at rest then). if (!keep or !walked or pane.prompt == .name or pane.collapsed or !pane.tag_expanded or r.w == 0 or r.h == 0) return .{ .whole = whole }; - // Its first line: the prefix, the space restPrefix gives a tail - // without one, the tail's first line; and the rows its others take. + // Its first line: the prefix, its computed words and their blank, the + // own text's first line; and the rows its others take. const first = std.mem.indexOfScalar(u8, tail, '\n') orelse tail.len; var below: usize = 0; if (first < tail.len) { var lines = std.mem.splitScalar(u8, tail[first + 1 ..], '\n'); while (lines.next()) |line| below += rowsOf(panes.File.displayWidth(tab, line), width); } - const gap: usize = @intFromBool(tail.len > 0 and std.mem.indexOfScalar(u8, " \t\n", tail[0]) == null); - const rest = " Keep".len + gap + panes.File.displayWidth(tab, tail[0..first]); + const rest = " Keep".len + words + panes.File.displayWidth(tab, tail[0..first]); const path = panes.File.displayWidth(tab, name); const rows = r.h -| layout.min_body_rows; if (@min(rowsOf(walkCells(t, whole, tab) + path + rest, width) + below, pardes.MAX_TAG_ROWS) <= rows) return .{ .whole = whole }; // The newest step alone, then as much of the path's end as fits, after - // a `…` cell. + // a `…` cell; where its basename does not fit beside the newest step + // (a column too narrow for its tag's words), that step folds into the + // `+N` too. const room = (rows -| below) * width; - const used = walkCells(t, 1, tab) + rest; - if (used + path <= room) return .{ .whole = 1, .squeezed = true }; - const drop = used + path + 1 - room; const base = if (std.mem.lastIndexOfScalar(u8, name, '/')) |slash| slash + 1 else 0; - var cut: usize = 0; - var cells: usize = 0; - while (cut < base and cells < drop) { - const next = modal.nextGrapheme(name, cut); - cells += panes.File.displayWidth(tab, name[cut..next]); - cut = next; + var shown: usize = 1; + while (true) : (shown -= 1) { + const used = walkCells(t, shown, tab) + rest; + if (used + path <= room) return .{ .whole = shown, .squeezed = true }; + const drop = used + path + 1 - room; + var cut: usize = 0; + var cells: usize = 0; + while (cut < base and cells < drop) { + const next = modal.nextGrapheme(name, cut); + cells += panes.File.displayWidth(tab, name[cut..next]); + cut = next; + } + if (shown == 0 or cells >= drop) return .{ .whole = shown, .cut = @min(cut, base), .squeezed = true }; } - return .{ .whole = 1, .cut = @min(cut, base), .squeezed = true }; } /// The cells a walk's words take at rest with its newest `whole` back @@ -334,38 +407,52 @@ 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 { - // Out of rest the head follows: its words end in their own space. - if (pardes.Trail.outOfRest(p, pane)) return arena.dupe(u8, try pathPrefix(p, arena, pane)); + // Out of rest the head follows: its words end in their own space; a + // question at rest follows the path, in place of the computed words. + if (pardes.Trail.outOfRest(p, pane) or TagState.asks(p, pane)) return arena.dupe(u8, try pathPrefix(p, arena, pane)); return restPrefix(p, arena, pane); } -/// The prefix as the tag has it at rest, whatever its state: what its own -/// text follows, so what its cursor and selections are offsets after -/// (Core.sync's `tag_lead`), and the rows it takes at rest -/// (layout.wantedTagRows). +/// The prefix as the tag has it at rest, whatever its state: its path, +/// its computed words (UX K'1) and a blank, read-only, which its own text +/// follows: what its cursor and selections are offsets after (Core.sync's +/// `tag_lead`), what an edit must leave as it is (edit.zig), and the rows +/// it takes at rest (layout.wantedTagRows). The blank is the prefix's: +/// with the own text's first word against `Del`, Look and Exec would see +/// one word. pub fn restPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]u8 { - const prefix = try restPath(p, arena, pane); - // 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 - // would see the path and the first word as one. The prefix brings its - // own then. - const tail = curTail(pane); - if (tail.len > 0 and std.mem.indexOfScalar(u8, " \t\n", tail[0]) == null) - return std.fmt.allocPrint(arena, "{s} ", .{prefix}); - return arena.dupe(u8, prefix); + return prefixWith(p, arena, pane, computedWords(pane)); } -/// The tag's own text: what the user made of it, or until then the -/// default a pane of its kind starts with. +/// The prefix at rest with computed words `words` (restPrefix's own, or +/// the widest its pane can come to show, widestWords). +pub fn prefixWith(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane, words: []const u8) ![]u8 { + return std.mem.concat(arena, u8, &.{ try restPath(p, arena, pane), words, " " }); +} + +/// The tag's own text: the user's (UX K'1), everything typed into the tag +/// after its computed words, kept as typed; until then a terminal's word +/// for its shell, none for the rest. pub fn curTail(pane: *const Pane) []const u8 { return pane.tag.own orelse defaultTail(pane); } +/// A tag's own text until it is edited: a terminal's word for its shell, +/// `Term` until the shell says its name, then `Term+<shell>` +/// (Core.acknowledgeShell; a click opens another of it), as before UX +/// K'; none for the rest. pub fn defaultTail(pane: *const Pane) []const u8 { - // A kind's: Term, its words for its panes, Collapse Del (Kind.open). - if (pane.addon) |k| if (k.tail.len > 0) return k.tail.slice(); - if (pane.query) |q| return if (q.frozen) query_frozen_tail else if (q.capped) query_capped_tail else query_live_tail; + if (!pane.isTerminal() or pane.command != null) return ""; + return if (pane.shell_tail_len > 0) pane.shell_tail[0..pane.shell_tail_len] else "Term"; +} + +/// The words a pane of its kind had in its tag before UX K', its own text +/// until edited then: an own text a dump restores equal to it is dropped +/// (dump.zig dropOldTags). +pub fn kindTail(pane: *const Pane) []const u8 { + // A kind's: its words (Kind.reopen). + if (pane.addon) |k| return k.tail.slice(); + if (pane.query != null) return computedWords(pane); if (pane.file) |file| if (file.output) |out| if (out.from == .preview) return query_live_tail; if (pane.file) |file| if (file.listing != null) return dir_pane_tail; if (pane.file) |file| if (file.pager) return if (file.pager_diff) pager_diff_pane_tail else pager_pane_tail; @@ -378,7 +465,7 @@ pub fn defaultTail(pane: *const Pane) []const u8 { if (panes.File.supportsContext(pane)) return if (speaks) lsp_context_pane_tail else context_pane_tail; if (pane.file != null) return if (speaks) lsp_pane_tail else file_pane_tail; if (pane.command != null) return command_pane_tail; - if (pane.isTerminal()) return if (pane.shell_tail_len > 0) pane.shell_tail[0..pane.shell_tail_len] else terminal_pane_tail; + if (pane.isTerminal()) return terminal_pane_tail; return pane_tail; } @@ -399,18 +486,14 @@ pub fn tagText(p: *Pardes, arena: std.mem.Allocator, pane: *Pane) ![]u8 { /// Give the keyboard to the tag in normal mode (`:`), its cursor where /// the tag last had it. The first time there is nothing to remember, and -/// it starts on Save, so that `:` and the execute key write the file. +/// it starts on the user's text (UX K'1), after the computed words: what +/// is typed goes there. pub fn enterTag(p: *Pardes, pane: *Pane) void { const t = &pane.tag; const whole = tagText(p, p.scratch.allocator(), pane) catch |err| return p.reportError(.at(p.view().active), "tag", err); if (!t.cur_pinned) { - // Save is looked for in the tag's own text, after the prefix. - const lead = whole.len - curTail(pane).len; - const tail = whole[lead..]; - var words = std.mem.tokenizeAny(u8, tail, " \t\n"); - const at = lead + while (words.next()) |word| { - if (std.mem.eql(u8, word, "Save")) break @intFromPtr(word.ptr) - @intFromPtr(tail.ptr); - } else tail.len - std.mem.trimStart(u8, tail, " ").len; + const tail = curTail(pane); + const at = whole.len - std.mem.trimStart(u8, tail, " ").len; const cursor = modal.positionAt(whole, @min(at, whole.len)); t.cur_row = @intCast(cursor.row); t.cur_col = @intCast(cursor.col); @@ -741,3 +824,119 @@ test "a pane tag wraps a long line onto rows, and offsets map both ways" { try std.testing.expectEqual(@as(usize, 10), shown.toReal(11)); // the 'e' of Del try std.testing.expectEqual(@as(usize, 11), shown.fromReal(10)); } + +/// What pane `pane`'s tag says after its path: its computed words, the +/// blank before its own text, and that text. +fn afterPath(p: *Pardes, pane: *Pane) ![]const u8 { + const a = p.scratch.allocator(); + const whole = try tagText(p, a, pane); + return whole[(try pathPrefix(p, a, pane)).len..]; +} + +fn typeKeys(p: *Pardes, keys: []const u8) void { + for (keys) |ch| p.update(.{ .key = .{ .cp = ch, .text = &[_]u8{ch} } }); +} + +test "a pane tag's computed words are the words that act now, its own text after them (UX K'1, K'3)" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 120, .rows = 30, .tty_only = true }); + defer p.deinit(); + const pane = try p.setTestFile("one\n"); + const f = &pane.file.?; + p.sync(); + // A file reading (its jumps walk): Keep (its walk's, after its path), + // Del. + try std.testing.expectEqualStrings("/test.txt Keep Del ", try tagText(p, p.scratch.allocator(), pane)); + // Held and clean, no undo step: Del alone. + pane.trail.held = true; + try std.testing.expectEqualStrings(" Del ", try afterPath(p, pane)); + // Typed into twice: unsaved, an undo step: Save Undo Del. + typeKeys(p, "ix"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + typeKeys(p, "iy"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings(" Save Undo Del ", try afterPath(p, pane)); + // Undone once: a step each way, Redo after Undo. + typeKeys(p, "u"); + try std.testing.expectEqualStrings(" Save Undo Redo Del ", try afterPath(p, pane)); + // Saved: clean, Save gone. + f.saved_revision = f.revision; + try std.testing.expectEqualStrings(" Undo Redo Del ", try afterPath(p, pane)); + // A diff, a pager, a pager holding a diff: Diff, Filter first. + const path = f.path; + f.path = @constCast("/x.patch"); + try std.testing.expectEqualStrings(" Diff Undo Redo Del", computedWords(pane)); + f.path = path; + f.pager = true; + try std.testing.expectEqualStrings(" Filter Undo Redo Del", computedWords(pane)); + f.pager_diff = true; + try std.testing.expectEqualStrings(" Diff Filter Undo Redo Del", computedWords(pane)); + f.pager = false; + f.pager_diff = false; + // A +New: Del, and Undo once it is typed into (it saves nowhere). + p.newScratchBelow(0); + const scratch = p.panes[p.view().active].?; + try std.testing.expect(scratch != pane); + try std.testing.expectEqualStrings(" Del ", try afterPath(p, scratch)); + typeKeys(p, "iz"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings(" Undo Del ", try afterPath(p, scratch)); + // A kind's own words, then Del; a pane of no kind: Del. + const doc_id = p.freeSlot().?; + const doc = try pardes.Kind.open(p, doc_id, pardes.Kind.test_kind.of(p), "/tmp/words.ppm", ""); + try std.testing.expect(std.mem.endsWith(u8, computedWords(doc), " Del")); + try std.testing.expect(std.mem.indexOf(u8, computedWords(doc), "Collapse") == null); +} + +test "typing in a tag goes after its computed words, and stays the user's text through a change of state (UX K'1)" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 120, .rows = 30, .tty_only = true }); + defer p.deinit(); + const pane = try p.setTestFile("one\n"); + pane.trail.held = true; + p.sync(); + // `:` `:` gives the keyboard to the tag, on its own text, after Del. + enterTag(p, pane); + p.sync(); + typeKeys(p, "iMine"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings("Mine", pane.tag.own.?); + try std.testing.expectEqualStrings(" Del Mine", try afterPath(p, pane)); + // An edit of the computed words is refused: a Backspace at the start + // of the user's text, on the blank before it. + pane.tag.cur_col = @intCast((try restPrefix(p, p.scratch.allocator(), pane)).len); + typeKeys(p, "i"); + p.update(.{ .key = .{ .cp = pardes.Key.backspace } }); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings("Mine", pane.tag.own.?); + try std.testing.expectEqualStrings(" Del Mine", try afterPath(p, pane)); + // The body changed: Save Undo come in, the user's text after them, + // the tag's caret on the same character of it. + pane.focus = .body; + typeKeys(p, "ix"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + p.sync(); + try std.testing.expectEqualStrings(" Save Undo Del Mine", try afterPath(p, pane)); + try std.testing.expectEqualStrings("Mine", pane.tag.own.?); + const whole = try tagText(p, p.scratch.allocator(), pane); + try std.testing.expectEqual(@as(u8, 'M'), whole[@intCast(pane.tag.cur_col)]); +} + +test "a dump of a build before UX K' restores a tag's old default own text as none, any other as the user's (UX K'1)" { + const dump = @import("dump.zig"); + const p = try Pardes.init(std.testing.allocator, .{ .cols = 120, .rows = 30, .tty_only = true }); + defer p.deinit(); + const pane = try p.setTestFile("one\n"); + // What a tag of its kind said before (its own text, once edited). + pane.tag.own = try p.gpa.dupe(u8, kindTail(pane)); + try dump.dumpState(p); + const dropped = try dump.restore(p, p.dump_out.?, "old"); + defer dropped.deinit(); + try std.testing.expect(dropped.panes[0].?.tag.own == null); + try std.testing.expectEqualStrings("/test.txt Keep Del ", try tagText(dropped, dropped.scratch.allocator(), dropped.panes[0].?)); + // Edited around: kept whole, after the computed words. + p.gpa.free(pane.tag.own.?); + pane.tag.own = try p.gpa.dupe(u8, " Save Term Collapse Follow Del Mine"); + try dump.dumpState(p); + const kept = try dump.restore(p, p.dump_out.?, "custom"); + defer kept.deinit(); + try std.testing.expectEqualStrings(" Save Term Collapse Follow Del Mine", kept.panes[0].?.tag.own.?); +} diff --git a/dev/tui/tui.zig b/dev/tui/tui.zig index aa1f8849..300e9fea 100644 --- a/dev/tui/tui.zig +++ b/dev/tui/tui.zig @@ -3353,13 +3353,14 @@ test "a terminal client's view, opened from a window's, wraps a tag at its own w if (region.kind != .tag) continue; for (region.rect.y..region.rect.y + region.rect.h) |y| { for (s.cells[y * s.cols ..][region.rect.x..][0..region.rect.w]) |cell| try shown.appendSlice(gpa, if (cell.len == 0) " " else cell.grapheme()); - try shown.append(gpa, '\n'); } } // Each of its words shows: wrapped at its rows' width, none lost - // between a row cut short and the next. + // between a row cut short and the next (its rows read on, as a word + // the wrap cuts runs on to the next). + errdefer std.debug.print("{s}\n", .{shown.items}); for (&words) |*w| if (std.mem.indexOf(u8, shown.items, w) == null) { - std.debug.print("{s} is not shown in the tag:\n{s}\n", .{ w, shown.items }); + std.debug.print("{s} is not shown in the tag\n", .{w}); return error.TestUnexpectedResult; }; } diff --git a/test/behaviour/addons_pdf.zig b/test/behaviour/addons_pdf.zig index 0c7982d1..dedf157a 100644 --- a/test/behaviour/addons_pdf.zig +++ b/test/behaviour/addons_pdf.zig @@ -45,10 +45,10 @@ test "addons: a PDF is the pdf addon's pane, its pages pictures, its page in its const first = try shown(&s, n); try std.testing.expect(first.len >= 1); // Its tag: its page, then the core's art words (it placed a picture), - // its path and its kind's words. + // its path and its kind's words, then Del (UX K'3). const tag = try s.read(s.at("/pane/{d}/tag", .{n})); try std.testing.expect(std.mem.startsWith(u8, tag, "[1/16] petscii:off palette:commodore ascii:on /")); - try std.testing.expect(has(tag, "/docs/design.pdf Term PdfSections PdfTint PdfFit Collapse Del")); + try std.testing.expect(has(tag, "/docs/design.pdf PdfSections PdfTint PdfFit Del")); try std.testing.expect(has(try ctlOf(&s, n), " fit:width tint:filtered mode:normal ")); // The words: bare they step, given a value they take it, any other // value refused; another pane's is refused and leaves the PDF alone. diff --git a/test/behaviour/columns_and_tags.zig b/test/behaviour/columns_and_tags.zig index 9abe64f4..e1257897 100644 --- a/test/behaviour/columns_and_tags.zig +++ b/test/behaviour/columns_and_tags.zig @@ -180,7 +180,7 @@ test "columns-and-tags: a click past a column tag's text types after it, a newli try expectEqualStrings("New Term Find Grep Joincol Delcol Snarf", try s.read(tag)); try std.testing.expect(std.mem.indexOf(u8, try s.screen(), rows ++ " Snarf ") != null); // The pane's tag on the row right under it: the column's is one row. - try std.testing.expectEqual((try s.where(rows))[1] + 1, (try s.where("/test.txt Save"))[1]); + try std.testing.expectEqual((try s.where(rows))[1] + 1, (try s.where("/test.txt Del"))[1]); // Wider than the screen: the tag scrolls to keep its caret drawn. try s.keys(" 界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界"); const col, const row = (try s.cursor()).?; diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig index 6256a0b7..9eb33ac2 100644 --- a/test/behaviour/keys.zig +++ b/test/behaviour/keys.zig @@ -14,7 +14,7 @@ test "keys: a prompt's entry and cancellation leave the tag, the body and its cu const n = try s.focused(); const tag = s.at("/pane/{d}/tag", .{n}); const dot = s.at("/pane/{d}/dot", .{n}); - try s.replace(tag, " keep"); + try s.replace(tag, "keep"); for ([_]struct { keys: []const u8, shown: []const u8 }{ .{ .keys = "s", .shown = " s zq" }, .{ .keys = "|", .shown = " | zq" }, @@ -34,14 +34,15 @@ test "keys: a prompt's entry and cancellation leave the tag, the body and its cu try s.keys("\x1b"); try std.testing.expectError(error.NotOnScreen, s.where(case.shown)); try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/ctl", .{n})), " mode:normal ")); - try std.testing.expectEqualStrings("/test.txt keep", try s.read(tag)); + try std.testing.expectEqualStrings("/test.txt Del keep", try s.read(tag)); try std.testing.expectEqual(.{ 6, 6 }, try s.range(dot)); try s.expect(s.at("/pane/{d}/body", .{n}), "one\ntwo\n"); } - // Save on a scratch asks for a path, starting from its directory. + // Save on a scratch (SPC f s: no word of its tag, UX K'3) asks for a + // path, starting from its directory. const scratch = try s.newPane(); const scratch_tag = try s.read(s.at("/pane/{d}/tag", .{scratch})); - try s.keys("::\tzq"); + try s.keys(" fszq"); _ = try s.where("/zq"); try s.expect(s.at("/pane/{d}/tag", .{scratch}), scratch_tag); try s.keys("\x1b"); @@ -124,7 +125,7 @@ test "keys: a count or a prefix a click or a change of pane cancels leaves nothi .body => try s.click("abcdefghij", 3, 1), .tag => { // A clicked tag is in normal mode: `:` goes back. - try s.click("/test.txt Save", "/test.txt ".len + 3, 1); + try s.click("/test.txt Del", "/test.txt ".len + 2, 1); try s.keys(":"); }, .focus, .last => { @@ -273,7 +274,8 @@ test "keys: Save's prompt on a scratch starts from the scratch's directory, one // New from the file's pane: a scratch in its directory. try s.write(s.at("/pane/{d}/exec", .{n}), "New\n"); try std.testing.expect(try s.focused() != n); - try s.keys("::\tzq"); + // SPC f s: Save is no word of a scratch's tag (UX K'3). + try s.keys(" fszq"); _ = try s.where(c[1]); try s.keys("\x1b"); } diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig index 0f7c9d26..47f2ccd2 100644 --- a/test/behaviour/modes.zig +++ b/test/behaviour/modes.zig @@ -98,7 +98,8 @@ test "modes: Esc back into a file leaves its view where it was, and a look centr // The other arm still centres: a look's `:NN`. const line = 60; try s.write(s.at("/pane/{d}/look", .{doc}), s.at(":{d}\n", .{line})); - const rows = (try s.where("Term Save Mode"))[1] - (try s.where("/test.txt"))[1] - 1; + // (The shell's tag: its computed Del, then its own text, Term.) + const rows = (try s.where("Del Term"))[1] - (try s.where("/test.txt"))[1] - 1; // Drawn mid-pane, a row either way. const drawn_at = line - try topLine(&s, "/test.txt"); try std.testing.expect(drawn_at + 1 >= rows / 2 and drawn_at <= rows / 2 + 1); @@ -163,7 +164,7 @@ test "modes: Ctrl-w outlines a pane, h j k l move the outline, and Enter, Esc, : // `:` gives the outlined pane's tag the keyboard. try s.keys("\x17l:"); try expectEqual(b, try s.focused()); - try expectEqual((try s.where("/b.txt Save"))[1], (try s.cursor()).?[1]); + try expectEqual((try s.where("/b.txt Del"))[1], (try s.cursor()).?[1]); try s.keys("\x1b"); // A letter goes straight there. try s.keys("\x17a"); @@ -190,11 +191,11 @@ test "modes: in window mode d deletes the outlined pane, asking k or j between t try s.write(s.at("/pane/{d}/name", .{mid}), "/mid\n"); try s.write(s.at("/pane/{d}/name", .{low}), "/low\n"); const names = &[_][]const u8{ "/test.txt", "/mid", "/low" }; - const row_top = (try s.where("/test.txt Save"))[1]; - const row_mid = (try s.where("/mid Save"))[1]; - const row_low = (try s.where("/low Save"))[1]; + const row_top = (try s.where("/test.txt Del"))[1]; + const row_mid = (try s.where("/mid Del"))[1]; + const row_low = (try s.where("/low Del"))[1]; // From the bottom pane, the outline up to the middle one. - const mx, const my = try s.where("/mid Save"); + const mx, const my = try s.where("/mid Del"); const plain = try s.bg(mx, my); try s.keys("\x17k"); const lit = try s.bg(mx, my); @@ -217,7 +218,7 @@ test "modes: in window mode d deletes the outlined pane, asking k or j between t // j: the pane below takes the rows, and the outline goes with them. try s.keys("dj"); try std.testing.expect(!try listed(&s, mid)); - try expectEqual(row_top, (try s.where("/test.txt Save"))[1]); + try expectEqual(row_top, (try s.where("/test.txt Del"))[1]); try expectEqual(row_mid, (try s.where("/low "))[1]); try std.testing.expectEqualStrings("/low", try outlined(&s, lit, &.{ "/test.txt", "/low" })); // With one neighbour nothing is asked: d closes it, the outline on the @@ -461,7 +462,7 @@ test "modes: hopping between two panes by Esc, window mode or a click makes no p try expectEqual(want, try s.focused()); } const doc_row = (try s.where("row"))[1]; - const shell_row = (try s.where("Term Save Mode"))[1] + 1; + const shell_row = (try s.where("Del Term"))[1] + 1; for (0..8) |_| { const other = if (try s.focused() == doc) shell else doc; const row = if (other == doc) doc_row else shell_row; diff --git a/test/behaviour/mouse.zig b/test/behaviour/mouse.zig index 951ab493..0e22416f 100644 --- a/test/behaviour/mouse.zig +++ b/test/behaviour/mouse.zig @@ -25,9 +25,10 @@ test "mouse: a double-click selects a word, a line, a bracketed or quoted text, try s.click(w.at, w.into, 1); try s.expect(sel, ""); } - // In the tag too: what it selected is what a yank takes. - try s.click("Follow Del", "Follow D".len, 1); - try s.click("Follow Del", "Follow D".len, 1); + // In the tag too: what it selected is what a yank takes (its computed + // Del, after Keep: the file is reading). + try s.click("Keep Del", "Keep D".len, 1); + try s.click("Keep Del", "Keep D".len, 1); try s.keys("\x1by:ggP"); try s.expect(s.at("/pane/{d}/body", .{n}), "Delcall foo_bar(a, b)\nsay \"hi there\"\n"); } @@ -120,13 +121,15 @@ test "mouse: a B1 sweep over several lines is a stream, as acme's, in a body and // Upward, the same text. try mouse(&s, "m {d} {d} 1\nm {d} {d} 1\nm {d} {d} 3\nm {d} {d} 0\n", .{ x + 1, y + 2, x + 2, y, x + 2, y, x + 2, y }); try s.expect(body, "alarlie\n"); - // A tag of several rows sweeps the same way. + // A tag of several rows sweeps the same way, in its own text (its + // computed words are read-only, UX K'1). const tag = s.at("/pane/{d}/tag", .{n}); - try s.write(tag, "\nLook Edit"); + try s.write(tag, "Collapse\nLook Edit"); + const was = try s.read(tag); const tx, const ty = try s.where("Collapse"); const lx, const ly = try s.where("Look Edit"); try mouse(&s, "m {d} {d} 1\nm {d} {d} 1\nm {d} {d} 3\nm {d} {d} 0\n", .{ tx + 3, ty, lx + 1, ly, lx + 1, ly, lx + 1, ly }); - try s.expect(tag, "/test.txt Save Term Colok Edit"); + try s.expect(tag, s.at("{s}Colok Edit", .{was[0 .. was.len - "Collapse\nLook Edit".len]})); } test "mouse: a click on either half of a wide character lands before it, in the text and on a tag's path, and the caret steps over it whole" { @@ -157,7 +160,7 @@ test "mouse: a click on either half of a wide character lands before it, in the // Typed past the tag's words, a two-byte λ goes in and one backspace // takes it out whole. const tag = try s.read(s.at("/pane/{d}/tag", .{n})); - try s.click("Follow Del", "Follow Del".len + 1, 1); + try s.click("Keep Del", "Keep Del".len + 1, 1); const caret = (try s.cursor()).?; // A clicked tag is in normal mode: `i` types at the caret. try s.keys("iλ"); diff --git a/test/behaviour/panes.zig b/test/behaviour/panes.zig index 4c76df25..11c2a0e6 100644 --- a/test/behaviour/panes.zig +++ b/test/behaviour/panes.zig @@ -167,7 +167,7 @@ test "panes: a second lock is refused until the holder unlocks or closes, and bi s.clunk(e); } -test "panes: an unsaved file's tag is its name alone, its dirty file says it is unsaved" { +test "panes: an unsaved file's tag marks nothing on its name, Save and Undo come into its words, its dirty file says it is unsaved" { var s = try Session.initFile(std.testing.allocator, "before\n"); defer s.deinit(); // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). @@ -175,9 +175,13 @@ test "panes: an unsaved file's tag is its name alone, its dirty file says it is const n = try s.focused(); const tag = s.at("/pane/{d}/tag", .{n}); const clean = try s.read(tag); + try std.testing.expectEqualStrings("/test.txt Del ", clean); try s.write(s.at("/pane/{d}/body", .{n}), "after\n"); - try std.testing.expectEqualStrings(clean, try s.read(tag)); - try std.testing.expect(std.mem.indexOf(u8, clean, " *") == null); + // Its words say what acts now, Save and Undo (UX K'3); no mark after + // the name. + const unsaved = try s.read(tag); + try std.testing.expectEqualStrings("/test.txt Save Undo Del ", unsaved); + try std.testing.expect(std.mem.indexOf(u8, unsaved, " *") == null); try s.expect(s.at("/pane/{d}/dirty", .{n}), "1\n"); } @@ -237,14 +241,19 @@ test "panes: Collapse keeps the text and folds the pane to its tag, and again re var t = try Session.initTerm(std.testing.allocator); defer t.deinit(); const n = try s.focused(); + // Collapse is no word of a tag (UX K'3), a file's, a scratch's or a + // terminal's: its keys are C-w c and SPC w c, and it runs from ctl. for ([_][]const u8{ try s.read(s.at("/pane/{d}/tag", .{n})), try s.read(s.at("/pane/{d}/tag", .{try s.newPane()})), - }) |tag| try std.testing.expect(std.mem.endsWith(u8, tag, " Collapse Follow Del")); - try std.testing.expect(std.mem.endsWith(u8, try t.read(t.at("/pane/{d}/tag", .{try t.focused()})), " Collapse Del")); + try t.read(t.at("/pane/{d}/tag", .{try t.focused()})), + }) |tag| try std.testing.expect(std.mem.indexOf(u8, tag, "Collapse") == null); try s.write(s.at("/pane/{d}/ctl", .{try s.focused()}), "Del\n"); const ctl = s.at("/pane/{d}/ctl", .{n}); - try s.write(ctl, "Collapse\n"); + // C-w c folds the outlined pane, the keyboard's; Esc leaves window + // mode on it. + try std.testing.expectEqual(n, try s.focused()); + try s.keys("\x17c\x1b"); // Folded to its tag: no text drawn, no cursor in it, the text kept. try std.testing.expect(std.mem.indexOf(u8, try s.read(ctl), " collapsed ") != null); try std.testing.expect(std.mem.indexOf(u8, try s.screen(), "keep this text") == null); @@ -321,7 +330,7 @@ test "panes: PdfTint steps a PDF's tint, read in its ctl and never in its tag, a const n = try s.lookFile("docs/design.pdf"); const ctl = s.at("/pane/{d}/ctl", .{n}); const tag = try s.read(s.at("/pane/{d}/tag", .{n})); - try std.testing.expect(std.mem.endsWith(u8, tag, " PdfSections PdfTint PdfFit Collapse Del")); + try std.testing.expect(std.mem.endsWith(u8, tag, " PdfSections PdfTint PdfFit Del ")); for ([_][]const u8{ "full", "disabled", "filtered" }) |want| { try std.testing.expect(std.mem.indexOf(u8, try s.read(ctl), "fit:width ") != null); try s.write(ctl, "PdfTint\n"); diff --git a/test/behaviour/placement.zig b/test/behaviour/placement.zig index 467afd1b..c0bf6305 100644 --- a/test/behaviour/placement.zig +++ b/test/behaviour/placement.zig @@ -25,9 +25,10 @@ test "placement: an empty active column takes the new pane whole, a look from an try std.testing.expectEqualStrings(s.at("{d}:{d} {d}:{d}", .{ try s.column(0), first, try s.column(1), made }), try s.columns()); } -/// The screen row the tag starting `name` is drawn on. +/// The screen row the tag starting `name` is drawn on: the name, then a +/// blank before its computed words (Del at least, UX K'3). fn tagRow(s: *Session, name: []const u8) !usize { - return (try s.where(s.at("{s} Save", .{name})))[1]; + return (try s.where(s.at("{s} ", .{name})))[1]; } test "placement: New and 9P's new take the bottom half of the column's last pane" { diff --git a/test/behaviour/tags.zig b/test/behaviour/tags.zig index c8de115b..e7779b86 100644 --- a/test/behaviour/tags.zig +++ b/test/behaviour/tags.zig @@ -25,10 +25,11 @@ test "tags: s and S in a tag answer for the tag's own text; / still searches the // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const n = try s.focused(); - try s.replace(s.at("/pane/{d}/tag", .{n}), " Save Del Snarf"); + // Its own text, after its computed Del (UX K'1). + try s.replace(s.at("/pane/{d}/tag", .{n}), "Save Del Snarf"); // The tag's line, its S's selected, then changed: both are the tag's. try s.keys("::xsS\ncZ\x1b"); - try std.testing.expectEqualStrings("/test.txt Zave Del Znarf", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del Zave Del Znarf", try tag(&s, n)); try s.expect(s.at("/pane/{d}/body", .{n}), "Some body\n"); // `/` from the tag is the body's search, as acme's Look from a tag is. // Its places list the body's match. @@ -42,10 +43,12 @@ test "tags: ms and md edit a tag's own text, and the text the edit made is read // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const n = try s.focused(); + // Its own text after its computed Del (UX K'1), where `:` lands. + try s.write(s.at("/pane/{d}/tag", .{n}), "Save Term"); try s.keys("::miwms("); - try std.testing.expectEqualStrings("/test.txt (Save) Term Collapse Follow Del", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del (Save) Term", try tag(&s, n)); try s.keys("md("); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow Del", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del Save Term", try tag(&s, n)); } test "tags: the keyboard reaches a tag's path, which it can select and yank but not edit" { @@ -70,27 +73,29 @@ test "tags: the keyboard reaches a tag's path, which it can select and yank but try s.expect(s.at("/pane/{d}/name", .{n}), "/test.txt\n"); // After the path, the text is the tag's own to edit. try s.keys("::A!\x1b"); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow Del!", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del !", try tag(&s, n)); // What it yanked was the path. try s.keys(":P"); try s.expect(s.at("/pane/{d}/body", .{n}), "/test.txtbody\n"); } -test "tags: a tag remembers its cursor, starts on Save, and a click moves it" { +test "tags: a tag remembers its cursor, starts on its own text, and a click moves it" { var s = try Session.initFile(std.testing.allocator, "body\n"); defer s.deinit(); // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const first = try s.focused(); + // Its own text, after its computed Del (UX K'1). + try s.write(s.at("/pane/{d}/tag", .{first}), "Save Term"); try s.write("/ctl", "Newcol\n"); const second = try s.newPane(); try s.write(s.at("/pane/{d}/name", .{second}), "/second.txt"); const focus = s.at("{d}", .{first}); const other = s.at("{d}", .{second}); try s.write("/focus", focus); - // Nothing to remember yet: `:` lands on Save. + // Nothing to remember yet: `:` lands on its own text. try s.keys("::"); - try std.testing.expectEqual(@as(usize, "/test.txt ".len), try tagCol(&s, "/test.txt")); + try std.testing.expectEqual(@as(usize, "/test.txt Del ".len), try tagCol(&s, "/test.txt")); // Home is the line's start, the path's: the keyboard reaches it. try s.keys(home ++ right ++ right ++ right); try std.testing.expectEqual(@as(usize, 3), try tagCol(&s, "/test.txt")); @@ -110,11 +115,11 @@ test "tags: a tag remembers its cursor, starts on Save, and a click moves it" { // A click in the tag puts its cursor there, the pane's keyboard with it. try s.click("Save Term", 6, 1); try std.testing.expectEqual(first, try s.focused()); - try std.testing.expectEqual(@as(usize, "/test.txt Save T".len), try tagCol(&s, "/test.txt")); + try std.testing.expectEqual(@as(usize, "/test.txt Del Save T".len), try tagCol(&s, "/test.txt")); // A prompt opened and left from the body leaves it there (a clicked // tag is in normal mode: `:` goes back to the body). try s.keys(":/\x1b::"); - try std.testing.expectEqual(@as(usize, "/test.txt Save T".len), try tagCol(&s, "/test.txt")); + try std.testing.expectEqual(@as(usize, "/test.txt Del Save T".len), try tagCol(&s, "/test.txt")); try s.keys(":"); try s.expect(s.at("/pane/{d}/body", .{first}), "body\n"); } @@ -125,16 +130,19 @@ test "tags: executing a word from the tag runs it and gives the keyboard back to defer s.deinit(); const n = try s.focused(); try s.keys("ix\x1b"); - // `:` lands on Save; the execute key runs it, the look key looks - // it up. Either way the tag lets go of the keyboard first. + // Save typed into the tag's own text, where `:` lands (UX K'1); + // the execute key runs it, the look key looks it up. Either way + // the tag lets go of the keyboard first. + try s.write(s.at("/pane/{d}/tag", .{n}), "Save"); try s.keys("::"); try s.keys(chord); try std.testing.expectEqual(@as(usize, if (chord[0] == '\t') 1 else 0), s.saved); try s.keys("iQ\x1b"); try s.expect(s.at("/pane/{d}/body", .{n}), "xQbody\n"); - // ...and the tag still knows where it was. + // ...and the tag still knows where it was: on that Save, after the + // computed words the save changed. try s.keys("::"); - try std.testing.expectEqual(@as(usize, "/test.txt ".len), try tagCol(&s, "/test.txt")); + try std.testing.expectEqual((try tag(&s, n)).len - "Save".len, try tagCol(&s, "/test.txt")); } } @@ -144,15 +152,15 @@ test "tags: a renamed path moves the tag's cursor with the text after it and a s // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const n = try s.focused(); - try s.keys(":::"); // `::` on Save, and `:` back + try s.keys(":::"); // `::` on its own text, after Del, and `:` back try s.write(s.at("/pane/{d}/name", .{n}), "/界.zig"); try s.keys("::"); - try std.testing.expectEqual(@as(usize, "/界.zig ".len - 1), try tagCol(&s, "/界")); + try std.testing.expectEqual(@as(usize, "/界.zig Del ".len - 1), try tagCol(&s, "/界")); try s.keys(":"); try s.replace(s.at("/pane/{d}/tag", .{n}), "é"); try s.keys("::"); - // `/界.zig é`: the cursor is pulled back onto the last character. - try std.testing.expectEqual(@as(usize, "/界.zig ".len - 1), try tagCol(&s, "/界")); + // `/界.zig Del é`: the cursor is pulled back onto the last character. + try std.testing.expectEqual(@as(usize, "/界.zig Del ".len - 1), try tagCol(&s, "/界")); try s.expect(s.at("/pane/{d}/body", .{n}), "body\n"); } @@ -192,7 +200,7 @@ test "tags: a tag's normal mode is the body's: motions stay in the tag and inser try s.keys(window ++ "h\n"); try std.testing.expectEqual(first, try s.focused()); try s.keys("::i\u{F018}hjklHJKL:"); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow DelhjklHJKL:", try tag(&s, first)); + try std.testing.expectEqualStrings("/test.txt Del hjklHJKL:", try tag(&s, first)); try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/ctl", .{first})), " mode:normal ")); try s.expect(s.at("/pane/{d}/body", .{first}), "body\n"); try std.testing.expectEqual(first, try s.focused()); @@ -206,7 +214,7 @@ test "tags: a tag with a newline in it is as tall as its lines, and each line is const n = try s.focused(); // Insert mode in a tag is a body's: Enter is a new line. try s.keys("::A\nSecond"); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow Del\nSecond", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del \nSecond", try tag(&s, n)); const x, const y = try s.where("/test.txt"); try std.testing.expectEqual(.{ x, y + 1 }, try s.where("Second")); // The caret is on the second line, after what was typed. @@ -220,7 +228,7 @@ test "tags: a tag with a newline in it is as tall as its lines, and each line is try std.testing.expectEqual(.{ x + 2, y + 1 }, (try s.cursor()).?); // A clicked tag is in normal mode: `i` types where it was clicked. try s.keys("iX"); - try std.testing.expectEqualStrings("/test.txt Save Term Collapse Follow Del\nSeXcond", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del \nSeXcond", try tag(&s, n)); try s.expect(s.at("/pane/{d}/body", .{n}), "body\n"); } @@ -310,20 +318,20 @@ test "tags: a name drafted in the tag commits with Enter, cancels with two Escs, try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const n = try s.focused(); const name = s.at("/pane/{d}/name", .{n}); - try s.write(s.at("/pane/{d}/tag", .{n}), " JumpTrail"); + try s.write(s.at("/pane/{d}/tag", .{n}), "JumpTrail"); for ([_]bool{ false, true }) |commit| { const path = std.mem.trimEnd(u8, try s.read(name), "\n"); try clickPathEnd(&s, path); try s.keys("\x15/new name.zig"); try s.expect(name, s.at("{s}\n", .{path})); - _ = try s.where("/new name.zig Save Term Collapse Follow Del JumpTrail"); + _ = try s.where("/new name.zig Del JumpTrail"); try s.expect(s.at("/pane/{d}/body", .{n}), "original body\n"); // Esc keeps the draft pending; a second drops it. try s.keys(if (commit) "\n" else "\x1b\x1b"); try s.expect(name, if (commit) "/new name.zig\n" else "/test.txt\n"); - try std.testing.expectEqualStrings(s.at("{s} Save Term Collapse Follow Del JumpTrail", .{if (commit) "/new name.zig" else "/test.txt"}), try tag(&s, n)); + try std.testing.expectEqualStrings(s.at("{s} Del JumpTrail", .{if (commit) "/new name.zig" else "/test.txt"}), try tag(&s, n)); // The keyboard is the body's again. - try std.testing.expect((try s.cursor()).?[1] != (try s.where("Save Term"))[1]); + try std.testing.expect((try s.cursor()).?[1] != (try s.where("Del JumpTrail"))[1]); } try std.testing.expectEqual(@as(usize, 0), s.saved); // A name alone is no edit: the pane stays clean. @@ -338,9 +346,9 @@ test "tags: a drafted name's edits are by grapheme, and an empty one is not comm const n = try s.focused(); try clickPathEnd(&s, "/test.txt"); try s.keys("\x15/café界\x08"); - _ = try s.where("/café Save"); + _ = try s.where("/café Del"); try s.keys("\x08"); - _ = try s.where("/caf Save"); + _ = try s.where("/caf Del"); // (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"); @@ -374,11 +382,13 @@ test "tags: middle clicking Save commits the drafted name before saving" { // A held pane (Keep): its tag as it was before the walk, no `Keep` word (SPEC §6.5). try s.write(s.at("/pane/{d}/exec", .{try s.focused()}), "Keep\n"); const n = try s.focused(); + // Save typed into its own text: a clean file's tag has no Save (UX K'3). + try s.write(s.at("/pane/{d}/tag", .{n}), "Save"); try clickPathEnd(&s, "/test.txt"); try s.keys("\x15/renamed.txt"); - try s.click("Save Term", 0, 2); + try s.click("Del Save", "Del ".len, 2); try s.expect(s.at("/pane/{d}/name", .{n}), "/renamed.txt\n"); - try std.testing.expectEqualStrings("/renamed.txt Save Term Collapse Follow Del", try tag(&s, n)); + try std.testing.expectEqualStrings("/renamed.txt Del Save", try tag(&s, n)); try s.expect(s.at("/pane/{d}/body", .{n}), "untouched\n"); try std.testing.expectEqual(@as(usize, 1), s.saved); } @@ -415,6 +425,8 @@ test "tags: a click on a tag puts its cursor there in normal mode: a letter is a var s = try Session.initFile(std.testing.allocator, "body\n"); defer s.deinit(); const n = try s.focused(); + // Its own text, after its computed words (UX K'1). + try s.write(s.at("/pane/{d}/tag", .{n}), "Save Term"); const was = try tag(&s, n); try s.click("Save", 0, 1); // `w` moves to the next word, as in a body's normal mode: nothing typed. @@ -459,16 +471,16 @@ test "tags: truncating a tag clears its own text, u in the tag undoes it, and > try s.truncate(h); try std.testing.expect(std.mem.indexOf(u8, try tag(&s, n), "Mine") == null); s.clunk(h); - try std.testing.expectEqualStrings("/test.txt", std.mem.trimEnd(u8, try tag(&s, n), " ")); + try std.testing.expectEqualStrings("/test.txt Del", std.mem.trimEnd(u8, try tag(&s, n), " ")); // The tag keeps its undo: undoing in it brings back what was cleared. try s.keys("::u:"); try std.testing.expect(std.mem.endsWith(u8, try tag(&s, n), " Mine")); // Written back without a leading space, the text still stands apart - // from the path, and a click on its first letter lands on it. + // from the computed words, and a click on its first letter lands on it. try s.replace(path, "Get"); - try std.testing.expectEqualStrings("/test.txt Get", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del Get", try tag(&s, n)); try s.click("Get", 0, 1); - try std.testing.expectEqual(@as(usize, "/test.txt ".len), try tagCol(&s, "/test.txt")); + try std.testing.expectEqual(@as(usize, "/test.txt Del ".len), try tagCol(&s, "/test.txt")); // `echo Make > tag`: the newline ending the truncating write's text is // dropped, one only; a newline between its writes stays. const m = try s.hold(path, 1); @@ -476,10 +488,10 @@ test "tags: truncating a tag clears its own text, u in the tag undoes it, and > _ = try s.writeFid(m, "Make\n"); _ = try s.writeFid(m, "More\n\n"); s.clunk(m); - try std.testing.expectEqualStrings("/test.txt Make\nMore\n", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del Make\nMore\n", try tag(&s, n)); // `>>` keeps what it is given. try s.write(path, " Tail\n"); - try std.testing.expectEqualStrings("/test.txt Make\nMore\n Tail\n", try tag(&s, n)); + try std.testing.expectEqualStrings("/test.txt Del Make\nMore\n Tail\n", try tag(&s, n)); } test "tags: a pane tag's file name is tinted, its directory, dirty marker and words not" { diff --git a/test/behaviour/terminals.zig b/test/behaviour/terminals.zig index f6bbdfa0..a2f7e951 100644 --- a/test/behaviour/terminals.zig +++ b/test/behaviour/terminals.zig @@ -13,7 +13,11 @@ test "terminals: Togglettymode and Ctrl-B share the mode's transitions, from the defer s.deinit(); const n = try s.focused(); const ctl = s.at("/pane/{d}/ctl", .{n}); - try std.testing.expect(std.mem.indexOf(u8, try s.read(s.at("/pane/{d}/tag", .{n})), " Mode ") != null); + // Mode is a word of its kind's, not its tag's (UX K'3): the tag is + // Del, then its own text, Term. + const tag = try s.read(s.at("/pane/{d}/tag", .{n})); + try std.testing.expect(std.mem.indexOf(u8, tag, " Mode ") == null); + try std.testing.expect(std.mem.indexOf(u8, tag, " Del Term") != null); try s.write(s.at("/pane/{d}/tag", .{n}), " Togglettymode"); try std.testing.expectEqualStrings("tty", try mode(&s, n)); try s.write(ctl, "Togglettymode\n"); diff --git a/test/mode.zig b/test/mode.zig index 1f21c7db..a7538dff 100644 --- a/test/mode.zig +++ b/test/mode.zig @@ -31,7 +31,11 @@ test "Mode cycles terminal modes and keeps legacy toggle and custom tags" { while (p.nextEffect()) |_| {} const pane = p.panes[0].?; try std.testing.expectEqual(panes.Text.Mode.tty, pane.body.mode); - try std.testing.expect(std.mem.indexOf(u8, try pardes.tagline.tagText(p, p.scratch.allocator(), pane), " Mode") != null); + // Mode is a word of its kind's (`:`'s, UX K'4), not of its tag's: typed + // into the tag's own text, it runs from there as B2 runs it. + try std.testing.expect(std.mem.indexOf(u8, pardes.tagline.kindTail(pane), " Mode") != null); + try std.testing.expect(std.mem.indexOf(u8, try pardes.tagline.tagText(p, p.scratch.allocator(), pane), " Mode") == null); + try customTag(pane, "Mode"); try mode(p, 0, .normal); try mode(p, 0, .insert); // A clicked tag is in normal mode, where its execute key is, as a diff --git a/test/panes.zig b/test/panes.zig index 74988a0a..f780a0cf 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -2266,7 +2266,7 @@ const ImageTests = struct { pardes.layout.placeNew(p, 0, 0, id, .doc); _ = try p.render(p.scratch.allocator()); pane.addon.?.art = .{ .glyph = true, .palette = .terminal, .ascii = false }; - try std.testing.expectEqualStrings("img petscii:on palette:terminal ascii:off /tmp/picture.ppm", try pardes.tagline.tagPrefix(p, pane)); + try std.testing.expectEqualStrings("img petscii:on palette:terminal ascii:off /tmp/picture.ppm", try pardes.tagline.pathPrefix(p, p.scratch.allocator(), pane)); } test "an image's dump keeps its path, its renderer choices and its tag's tail, and reopens from the file; a file gone waits as a placeholder saying so" { diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index a5d58906..bdd84dc5 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -392,42 +392,42 @@ fn chordcut(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 15000); try t.snap("opened"); // 1-2 Cut: left-drag over "line" on line 2, tap middle while holding - try t.press("left", "8", 10); - try t.drag("left", "11", 10); - try t.press("middle", "11", 10); - try t.release("middle", "11", 10); - try t.release("left", "11", 10); + try t.press("left", "8", 8); + try t.drag("left", "11", 8); + try t.press("middle", "11", 8); + try t.release("middle", "11", 8); + try t.release("left", "11", 8); try t.stable(400, 5000); try t.snap("cut"); // 1-2 then 1-3 in one hold = copy: line 3 keeps its text, register loaded - try t.press("left", "8", 11); - try t.drag("left", "11", 11); - try t.press("middle", "11", 11); - try t.release("middle", "11", 11); - try t.press("right", "11", 11); - try t.release("right", "11", 11); - try t.release("left", "11", 11); + try t.press("left", "8", 9); + try t.drag("left", "11", 9); + try t.press("middle", "11", 9); + try t.release("middle", "11", 9); + try t.press("right", "11", 9); + try t.release("right", "11", 9); + try t.release("left", "11", 9); try t.stable(400, 5000); try t.snap("copied"); // 1-3 at a bare click point: hold left past the end of line 4, tap right — // the register splices in at the click - try t.press("left", "14", 12); - try t.press("right", "14", 12); - try t.release("right", "14", 12); - try t.release("left", "14", 12); + try t.press("left", "14", 10); + try t.press("right", "14", 10); + try t.release("right", "14", 10); + try t.release("left", "14", 10); try t.stable(400, 5000); try t.snap("pointpaste"); // 1-3 over a fresh selection replaces it with the register - try t.press("left", "9", 13); - try t.drag("left", "11", 13); - try t.press("right", "11", 13); - try t.release("right", "11", 13); - try t.release("left", "11", 13); + try t.press("left", "9", 11); + try t.drag("left", "11", 11); + try t.press("right", "11", 11); + try t.release("right", "11", 11); + try t.release("left", "11", 11); try t.stable(400, 5000); try t.snap("replaced"); // arm the cancel tests: append `echo B''OO g.txt` to line 2 - try t.press("left", "10", 10); - try t.release("left", "10", 10); + try t.press("left", "10", 8); + try t.release("left", "10", 8); try t.stable(400, 5000); try t.key("i"); try t.send("echo B''OO g.txt"); @@ -436,56 +436,56 @@ fn chordcut(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); // 2-3 cancel (acme textselect2): tap right during the middle execute-drag // over `echo B''OO` — the command never runs (no BOO anywhere) - try t.press("middle", "10", 10); - try t.drag("middle", "19", 10); - try t.press("right", "19", 10); - try t.release("right", "19", 10); - try t.release("middle", "19", 10); + try t.press("middle", "10", 8); + try t.drag("middle", "19", 8); + try t.press("right", "19", 8); + try t.release("right", "19", 8); + try t.release("middle", "19", 8); try t.stable(700, 8000); try t.snap("cancelexec"); // the same drag released clean proves the word was live: BOO appears - try t.press("middle", "10", 10); - try t.drag("middle", "19", 10); - try t.release("middle", "19", 10); + try t.press("middle", "10", 8); + try t.drag("middle", "19", 8); + try t.release("middle", "19", 8); try t.wait(10000, "BOO"); try t.stable(700, 10000); try t.snap("execafter"); // 3-1 cancel (acme textselect3): tap left during the right look-drag over // g.txt — no pane opens - try t.press("right", "21", 10); - try t.drag("right", "25", 10); - try t.press("left", "25", 10); - try t.release("left", "25", 10); - try t.release("right", "25", 10); + try t.press("right", "21", 8); + try t.drag("right", "25", 8); + try t.press("left", "25", 8); + try t.release("left", "25", 8); + try t.release("right", "25", 8); try t.stable(700, 8000); try t.snap("cancellook"); // the same look released clean opens g.txt - try t.press("right", "21", 10); - try t.drag("right", "25", 10); - try t.release("right", "25", 10); + try t.press("right", "21", 8); + try t.drag("right", "25", 8); + try t.release("right", "25", 8); try t.wait(10000, "line 2"); try t.stable(700, 10000); try t.snap("lookafter"); // a fresh left click dismisses the chord's leftover selection instead of // dragging the anchored span to the click: copy `line` on g.txt line 1 // (styled snap shows the selection), then click the next row (it's gone) - try t.press("left", "8", 24); - try t.drag("left", "11", 24); - try t.press("middle", "11", 24); - try t.release("middle", "11", 24); - try t.press("right", "11", 24); - try t.release("right", "11", 24); - try t.release("left", "11", 24); + try t.press("left", "8", 23); + try t.drag("left", "11", 23); + try t.press("middle", "11", 23); + try t.release("middle", "11", 23); + try t.press("right", "11", 23); + try t.release("right", "11", 23); + try t.release("left", "11", 23); try t.stable(400, 5000); try t.style("chordsel"); - try t.press("left", "8", 25); - try t.release("left", "8", 25); + try t.press("left", "8", 24); + try t.release("left", "8", 24); try t.stable(400, 5000); try t.style("clickdismiss"); // g.txt opened under the lower shell's text and left it three rows: close it, // and the shell grows back into its rows, for what follows to run in - try t.press("middle", "59", 23); - try t.release("middle", "59", 23); + try t.press("middle", "@Del", 22); + try t.release("middle", "@Del", 22); try t.stable(700, 15000); // tty paste chord: over a mouse-listening app B1 is the app's, so the // chord's B1 holds Shift (B3 is pardes's either way); the app gets a click @@ -554,31 +554,31 @@ fn selarg(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-b"); try t.stable(600, 8000); // keep a left selection over ZZARG in pane A (this also focuses A) - try t.press("left", "3", 5); - try t.drag("left", "7", 5); - try t.release("left", "7", 5); + try t.press("left", "3", 4); + try t.drag("left", "7", 4); + try t.release("left", "7", 4); try t.stable(400, 5000); try t.snap("kept"); // chord in pane B: middle on ./c.sh + left tap (B has NO selection: the // argument comes from pane A's kept left selection) + middle release runs - try t.press("middle", "55", 5); - try t.press("left", "55", 5); - try t.release("middle", "55", 5); - try t.release("left", "55", 5); + try t.press("middle", "55", 4); + try t.press("left", "55", 4); + try t.release("middle", "55", 4); + try t.release("left", "55", 4); try t.wait(10000, "CHORDARG:ZZARG"); try t.stable(700, 10000); try t.snap("crosspane"); // now an explicit modal selection: plain-click ZZVEE in A (drops A's kept // left selection), select it with v e, chord in B again - try t.press("left", "9", 5); - try t.release("left", "9", 5); + try t.press("left", "9", 4); + try t.release("left", "9", 4); try t.stable(400, 5000); try t.send("ve"); try t.stable(400, 5000); - try t.press("middle", "55", 5); - try t.press("left", "55", 5); - try t.release("middle", "55", 5); - try t.release("left", "55", 5); + try t.press("middle", "55", 4); + try t.press("left", "55", 4); + try t.release("middle", "55", 4); + try t.release("left", "55", 4); try t.wait(10000, "CHORDARG:ZZVEE"); try t.stable(700, 10000); try t.snap("vselarg"); @@ -1061,14 +1061,14 @@ fn lookpanes(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); // an ordinary dir look on the shell's own ls output: alpha's directory pane, // split below it, which takes the keyboard - try t.press("right", "@alpha", 6); - try t.release("right", "@alpha", 6); + try t.press("right", "@alpha", 5); + try t.release("right", "@alpha", 5); try t.wait(10000, "amark.txt"); try t.stable(700, 20000); // type the words to look into what is left of the workdir shell (past its own // ls output, on the same row: its last row is the resize handle) - try t.press("left", "95", 5); - try t.release("left", "95", 5); + try t.press("left", "95", 4); + try t.release("left", "95", 4); try t.stable(400, 5000); try t.key("i"); try t.send("zqonly.txt pick.txt twin.txt"); @@ -1077,42 +1077,42 @@ fn lookpanes(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("shells"); // make the beta pane the most recently focused, so the walk has to pass it - try t.press("left", "10", 5); - try t.release("left", "10", 5); + try t.press("left", "10", 4); + try t.release("left", "10", 4); try t.stable(700, 10000); // zqonly.txt is only under alpha: the clicked shell's cwd fails, beta fails, // alpha's directory pane answers. Before, this word became a search. - try t.press("right", "@zqonly.txt", 5); - try t.release("right", "@zqonly.txt", 5); + try t.press("right", "@zqonly.txt", 4); + try t.release("right", "@zqonly.txt", 4); try t.wait(10000, "ONLY-IN-ALPHA"); try t.stable(700, 20000); try t.snap("other-dir"); // both.txt is in BOTH dirs and alpha is now the most recent (its file pane // just opened), but the CLICK still wins: looked inside the beta pane it // opens beta's copy - try t.press("right", "10", 5); - try t.release("right", "10", 5); + try t.press("right", "10", 4); + try t.release("right", "10", 4); try t.wait(10000, "BOTH-FROM-BETA"); try t.stable(700, 20000); try t.snap("clicked-wins"); // from a pane whose own dir holds neither copy the access order decides: // focus alpha's directory pane (a click on its first row), look pick.txt (in // both dirs) from the workdir shell -> alpha's - try t.press("left", "@amark.txt", 9); - try t.release("left", "@amark.txt", 9); + try t.press("left", "@amark.txt", 8); + try t.release("left", "@amark.txt", 8); try t.stable(700, 10000); - try t.press("right", "@pick.txt", 5); - try t.release("right", "@pick.txt", 5); + try t.press("right", "@pick.txt", 4); + try t.release("right", "@pick.txt", 4); try t.wait(10000, "PICK-FROM-ALPHA"); try t.stable(700, 20000); try t.snap("mru-alpha"); // focus the beta pane instead and the same look flips: twin.txt is in both // dirs, beta is most recent, beta's copy opens - try t.press("left", "10", 5); - try t.release("left", "10", 5); + try t.press("left", "10", 4); + try t.release("left", "10", 4); try t.stable(700, 10000); - try t.press("right", "@twin.txt", 5); - try t.release("right", "@twin.txt", 5); + try t.press("right", "@twin.txt", 4); + try t.release("right", "@twin.txt", 4); try t.wait(10000, "TWIN-FROM-BETA"); try t.stable(700, 20000); try t.snap("mru-beta"); @@ -2390,8 +2390,10 @@ fn follow(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // `:` — vim's command line with acme's vocabulary. It focuses the pane's OWN // tag in NORMAL mode (block cursor; the layout box shows the pane's BODY mode, // which for this file pane is normal either way). The tag remembers where its -// cursor was; the first time there is nothing to remember and it starts on -// Save. The tag's normal mode is the body's: w selects the "Save" span exactly +// cursor was; the first time there is nothing to remember and it starts at +// the start of the tag's own text, after the computed words (`Save Undo Del` +// on this edited file). The tag's normal mode is the body's: b steps back +// over the words onto Save, w selects the "Save" span exactly // as a body word motion does, and the execute key runs the word under the // cursor and hands the body back — same keys as the body, so Tab by default // (see config.look_key/exec_key). `:` again backs out instead, leaving the tag @@ -2411,10 +2413,12 @@ fn tagcmd(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.settle(100); try t.stable(400, 5000); try t.snap("edited"); - // `:` -> the tag, in normal mode, cursor on Save + // `:` -> the tag, in normal mode, cursor at its own text try t.key(": :"); try t.stable(400, 5000); try t.snap("colon"); + // b three times: back over Del and Undo onto Save; `;` keeps the cursor alone + try t.key("b b b ;"); // w -> the "Save" span (selected, like the body's word motion) try t.key("w"); try t.stable(400, 5000); @@ -2439,7 +2443,7 @@ fn tagcmd(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // there are no tag-only hops. `:` is the one key a tag and a body do not // share: from the body it focuses the pane's own tag, from the tag it hands the // keyboard back to the body. Each tag remembers its cursor; the first time -// there is nothing to remember and it starts on Save. +// there is nothing to remember and it starts at the start of the tag's own text. // // Evidence is the `cursor=` header (the ACTIVE pane's cursor, which while a tag // is focused sits on THAT pane's tag row) plus each pane's layout box, which @@ -2472,12 +2476,13 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("space w k enter"); try t.stable(400, 5000); try t.snap("start"); - // `:` -> the file's OWN tagline, normal mode, on Save + // `:` -> the file's OWN tagline, normal mode, at its own text try t.key(": :"); try t.stable(400, 5000); try t.snap("colon"); - // w selects in the tag the way it selects in a body - try t.key("w"); + // w selects in the tag the way it selects in a body: from the tag's start + // (`0`; the cursor starts after the computed words, here the tag's end) + try t.key("0 w"); try t.stable(400, 5000); try t.snap("word"); // l is a motion in the tag, not a hop to the next pane @@ -2489,7 +2494,7 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-w l enter"); try t.stable(400, 5000); try t.snap("right"); - // `:` there -> that pane's own tag, on its Save the first time + // `:` there -> that pane's own tag, at its own text the first time try t.key(": :"); try t.stable(400, 5000); try t.snap("right-tag"); @@ -2511,8 +2516,8 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-b"); try t.stable(700, 15000); try t.snap("tty-on"); - try t.press("left", "@Mode", 3); - try t.release("left", "@Mode", 3); + try t.press("left", "@Term+bash", 3); + try t.release("left", "@Term+bash", 3); try t.stable(400, 5000); try t.snap("tty-tag"); try t.key(":"); @@ -2638,13 +2643,12 @@ fn tag(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(31, 150, &.{ "-n", "3" }); try t.wait(8000, "t.txt"); try t.stable(700, 20000); - // Click the one editable separator before Save, directly after the cwd. - // The former generated alignment gap no longer exists. - // The layout box shows + // Click just past the end of the tag's own text (Term+bash, after the + // computed words). The layout box shows // the pane's BODY mode, not the tag's; `i` then types into the tag where it // was clicked. - try t.press("left", "@Save-1", 3); - try t.release("left", "@Save-1", 3); + try t.press("left", "@Term+bash+9", 3); + try t.release("left", "@Term+bash+9", 3); try t.stable(400, 5000); try t.snap("tag-focus"); try t.key("i"); diff --git a/test/process/tty_images.zig b/test/process/tty_images.zig index 9c37a40d..bb9da072 100644 --- a/test/process/tty_images.zig +++ b/test/process/tty_images.zig @@ -8,7 +8,7 @@ pub const cases = .{ // image panes: right-click a .ppm opens petscii glyph art (no kitty in the // harness). The tag starts with the renderer's plain state fields followed by -// its path and `Term Del`; the fields are display-only, while their toggles are +// its path and `Del`; the fields are display-only, while their toggles are // builtins under SPC t (the old clickable tag words sat past the pane's right // edge, so clicking them only ever hit the neighbouring shell's tag). fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void { @@ -53,12 +53,13 @@ fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // prefix is wider than this source-local column, so widen the grid for this // final assertion. (A column grip drag intentionally takes width from only // one neighbour, which cannot expose this 82-column prefix.) Then click the - // visible tail itself, at its `Term`. This proves the image tag is an ordinary - // editor rather than accidentally typing at a clipped read-only path. + // visible tail itself, past its `Del`, where its own text starts. This proves + // the image tag is an ordinary editor rather than accidentally typing at a + // clipped read-only path. try t.resize(31, 400); try t.stable(400, 5000); - try t.press("left", "@Term", 7); - try t.release("left", "@Term", 7); + try t.press("left", "@Del+4", 7); + try t.release("left", "@Del+4", 7); try t.stable(400, 5000); try t.key("i"); try t.send("Zork "); diff --git a/test/process/tty_layout.zig b/test/process/tty_layout.zig index 00197a5c..76bed736 100644 --- a/test/process/tty_layout.zig +++ b/test/process/tty_layout.zig @@ -56,7 +56,9 @@ fn colgrip(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.done(); } -// A default pane-tag command collapses to one row and restores the body. +// A pane-tag command collapses to one row and restores the body. Collapse +// and Save are no computed words of a clean file's tag (UX K'1), so they are +// typed into the tag's own text first, where a click runs them as before. // Exercise real middle clicks twice, then the tag's own execute key twice: a // click types into the tag, Esc is its normal mode, and Tab executes there. fn collapse(gpa: std.mem.Allocator, exe: [:0]const u8) !void { @@ -66,6 +68,12 @@ fn collapse(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(25, 160, &.{"kept.txt"}); try t.wait(8000, "KEEP-THIRD"); try t.stable(500, 15000); + try t.key(": : i"); + try t.send("Collapse Save"); + try t.key("esc"); + try t.settle(100); + try t.key(":"); + try t.stable(400, 5000); try t.snap("before"); try t.press("middle", "@Collapse", 3); try t.release("middle", "@Collapse", 3); @@ -335,9 +343,9 @@ fn layout_open(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // execute the file's command (middle drag over line 1): it runs as a command // pane for sub/, forked at the bottom of the rightmost column, splitting only // the pane above it - try t.press("middle", "8", 25); - try t.drag("middle", "19", 25); - try t.release("middle", "19", 25); + try t.press("middle", "8", 23); + try t.drag("middle", "19", 23); + try t.release("middle", "19", 23); try t.wait(10000, "TTYOK"); try t.motion("40", 27); try t.stable(700, 10000); @@ -369,7 +377,7 @@ fn shrinktag(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("before"); // drag the lower pane's grip up under pane 0's tag row: it keeps 2 body rows - try t.press("left", "1", 18); + try t.press("left", "1", 17); try t.drag("left", "1", 3); try t.release("left", "1", 3); try t.motion("40", 25); @@ -386,15 +394,15 @@ fn shrinktag(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); // re-enlarge: the lower pane's grip, now under pane 0's 2 body rows, pulled // back down - try t.press("left", "1", 7); - try t.drag("left", "1", 18); - try t.release("left", "1", 18); + try t.press("left", "1", 6); + try t.drag("left", "1", 17); + try t.release("left", "1", 17); try t.motion("40", 25); try t.stable(500, 8000); try t.snap("restored"); // the bottom pane stops at ITS tag and 2 rows too: its grip dragged past the // bottom - try t.press("left", "1", 18); + try t.press("left", "1", 17); try t.drag("left", "1", 31); try t.release("left", "1", 31); try t.motion("40", 25); @@ -578,9 +586,9 @@ fn windowops(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.motion("20", 16); try t.stable(400, 5000); try t.snap("hover-h"); - // resize the left pair by the lower pane's grip, 4 rows up (a terminal has no + // resize the left pair by the lower pane's grip, 3 rows up (a terminal has no // rule between panes; pane 0's last row is now 13) - try t.press("left", "1", 18); + try t.press("left", "1", 17); try t.drag("left", "1", 14); try t.release("left", "1", 14); try t.stable(500, 8000); diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index a49d3696..86eab7b7 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -125,8 +125,8 @@ fn ttyedit(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-b"); try t.stable(600, 8000); // click into the middle of the first output row - try t.press("left", "8", 9); - try t.release("left", "8", 9); + try t.press("left", "8", 8); + try t.release("left", "8", 8); try t.stable(400, 5000); try t.snap("before"); // Enter splits the row there: "one t" stays, "wo three" becomes a real line @@ -303,8 +303,8 @@ fn ttylook(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // selection: the cursor word expands): the click puts it on the ls command // line's `ls`, a word no file names, which a terminal lists in a +Search, // its row the place in that terminal (@p1:1:1-2) - try t.press("left", "4", 5); - try t.release("left", "4", 5); + try t.press("left", "4", 4); + try t.release("left", "4", 4); try t.stable(400, 5000); try t.key("enter"); try t.wait(10000, "@p1:1:1-2"); @@ -597,8 +597,8 @@ fn respawn(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 20000); // middle-click Del on the lower-left pane's tag: the pane id is freed while // its shell process stays alive in the slot - try t.press("middle", "@Collapse+9", 18); - try t.release("middle", "@Collapse+9", 18); + try t.press("middle", "@Del", 18); + try t.release("middle", "@Del", 18); try t.stable(700, 10000); // Alt-n reuses the freed id -> spawn effect lands on the occupied slot try t.key("a-n"); @@ -707,7 +707,7 @@ fn look_fd_deep(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.send("cd a && ls && fd"); try t.key("enter"); try t.wait(8000, "c.txt"); - try t.wait(8000, "cwd/a Term"); + try t.wait(8000, "cwd/a Del Term"); try t.stable(700, 20000); try t.snap("listed"); try t.press("right", "6", 8); @@ -752,10 +752,10 @@ fn ghostty_mid(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-b"); try t.stable(600, 8000); try t.send("\x1b[I"); - try t.send("\x1b[<35;10;10M\x1b[<35;7;8M\x1b[<35;4;6M"); - try t.send("\x1b[<1;4;6M"); - try t.send("\x1b[<1;4;6m"); - try t.send("\x1b[<35;6;6M"); + try t.send("\x1b[<35;10;9M\x1b[<35;7;7M\x1b[<35;4;5M"); + try t.send("\x1b[<1;4;5M"); + try t.send("\x1b[<1;4;5m"); + try t.send("\x1b[<35;6;5M"); try t.wait(10000, "GHOSTOK"); try t.stable(700, 10000); try t.snap("ghostty-mid"); diff --git a/test/snapshots/argv.golden b/test/snapshots/argv.golden index 67bf7c16..ec676f82 100644 --- a/test/snapshots/argv.golden +++ b/test/snapshots/argv.golden @@ -1,7 +1,7 @@ == snap noargs 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 Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/argv/cwd Del Term+bash | $ echo ARGV''TTY | ARGVTTY | $ @@ -20,7 +20,7 @@ | | | -| /tmp/pardes-snap/argv/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/argv/cwd/+New Del | 1 | | @@ -33,7 +33,7 @@ == 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 -| /tmp/pardes-snap/argv/cwd/notes.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/argv/cwd/notes.txt Keep Del | 3 line 3 | 4 line 4 | 5 line 5 @@ -65,7 +65,7 @@ == 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 -| /tmp/pardes-snap/argv/cwd/notes.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/argv/cwd/notes.txt Keep Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -97,7 +97,7 @@ == 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 +| /tmp/pardes-snap/argv/cwd/sub Del Term+bash | ls | inside.txt | diff --git a/test/snapshots/badutf.golden b/test/snapshots/badutf.golden index fc04cca5..7f009942 100644 --- a/test/snapshots/badutf.golden +++ b/test/snapshots/badutf.golden @@ -1,7 +1,7 @@ == snap badbytes 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/badutf/cwd/bad.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/badutf/cwd/bad.txt Keep Del | 1 hello �� world | 2 latin-1 caf� tail | 3 truncated �� here @@ -30,11 +30,10 @@ | | | /tmp/pardes-snap/badutf/cwd/bad.txt:1 -== snap hscroll-midglyph grid=50x31 cursor=46,4 +== snap hscroll-midglyph grid=50x31 cursor=46,3 | Newcol Joincol Find Grep Help Changelog Tutor Du | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/badutf/cwd/wide.txt Keep Save T -| erm Collapse Follow Del +| /tmp/pardes-snap/badutf/cwd/wide.txt Keep Del | 1 日本語 日本語 日本語 日本語 日本語 tail | 2 | ~ @@ -61,4 +60,5 @@ | | | +| | ✓ …adutf/cwd/wide.txt Wrap 1 message · SPC h m diff --git a/test/snapshots/boot.golden b/test/snapshots/boot.golden index c64b3fc8..29986650 100644 --- a/test/snapshots/boot.golden +++ b/test/snapshots/boot.golden @@ -1,7 +1,7 @@ == snap boot 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/boot/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/boot/cwd Del Term+bash | ls | hello.txt | @@ -33,7 +33,7 @@ == style boot 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-27 #becfc4,#314738, 28-37 #dfbce5,#314738, 38-99 #becfc4,#314738, +|2: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-99 #dfbce5,#314738, |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index fa94bcc0..d707f1e3 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -1,7 +1,7 @@ == snap boot grid=120x67 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/builtins/cwd/notes.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/builtins/cwd/notes.txt Keep Del | 1 Help c Help h | 2 line 2 | 3 line 3 @@ -67,7 +67,7 @@ | | /tmp/pardes-snap/builtins/cwd/notes.txt:1 == snap column-group grid=120x67 cursor=7,10 -|9: /^ +Look / –/0 › /tmp/pardes-snap/builtins/cwd/+Help Save Term Collapse Follow Del +|9: /^ +Look / –/0 › /tmp/pardes-snap/builtins/cwd/+Help Del |10: 1 pardes builtins under SPC c |11: 2 |12: 3 SPC c d Delcol @@ -116,7 +116,7 @@ |34: ~ |66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 5 messages · SPC h m == snap tutor-from-index grid=120x67 cursor=7,35 -|34: /tmp/pardes-snap/builtins/cwd/+Tutor Keep Save Term Collapse Follow Del +|34: /tmp/pardes-snap/builtins/cwd/+Tutor Keep Del |35: 1 |36: 2 PARDES TUTOR |37: 3 diff --git a/test/snapshots/callstack.golden b/test/snapshots/callstack.golden index d1140d0c..ddcf7b28 100644 --- a/test/snapshots/callstack.golden +++ b/test/snapshots/callstack.golden @@ -1,7 +1,7 @@ == snap hierarchy grid=110x40 cursor=7,11 | 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 Keep Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/callstack/cwd/main.rs Keep Del | 1 mod lib; | 2 | 3 fn main() { @@ -9,7 +9,7 @@ | 5 let y = add(3, 4); | 6 let _ = x + y; | 7 } -| /tmp/pardes-snap/callstack/cwd/+Callstack Save Term Collapse Follow Del +| /tmp/pardes-snap/callstack/cwd/+Callstack Del | 1 ╰──┬ main.rs:3:4-7 | 2 │ fn main() { | 3 ├─ main.rs:4:13-15 @@ -81,7 +81,7 @@ |38: 0-0 d,#608269, 1-109 d,#0d1410, |39: 0-1 d,#1d2824, 2-109 #6f7d75,#1d2824, == snap caller grid=110x40 cursor=13,27 -|24: ‹@p2 › /tmp/pardes-snap/callstack/cwd/main.rs Keep Save Term Collapse Follow TreeContext Def Refs Del +|24: ‹@p2 › /tmp/pardes-snap/callstack/cwd/main.rs Keep Del |25: 1 mod lib; |26: 2 |27: 3 fn main() { diff --git a/test/snapshots/chordcut.golden b/test/snapshots/chordcut.golden index 30c89315..7c812990 100644 --- a/test/snapshots/chordcut.golden +++ b/test/snapshots/chordcut.golden @@ -1,13 +1,11 @@ -== snap opened grid=120x32 cursor=7,9 +== snap opened grid=120x32 cursor=7,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/chordcut/cwd Term+bash Save Mode Filter C /tmp/pardes-snap/chordcut/cwd Term+bash Save Mode Filter C -| ollapse Del ollapse Del +| /tmp/pardes-snap/chordcut/cwd Del Term+bash /tmp/pardes-snap/chordcut/cwd Del Term+bash | ls ls | f.txt g.txt f.txt g.txt | -| /tmp/pardes-snap/chordcut/cwd/f.txt Save Term Collapse Fol -| low Del +| /tmp/pardes-snap/chordcut/cwd/f.txt Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -16,8 +14,9 @@ | ~ | | -| /tmp/pardes-snap/chordcut/cwd Term+bash Save Mode Filter C -| ollapse Del +| +| +| /tmp/pardes-snap/chordcut/cwd Del Term+bash | ls | f.txt g.txt | @@ -30,75 +29,75 @@ | | | +| | · @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=120x32 cursor=10,10 -== snap pointpaste grid=120x32 cursor=16,11 -|11: 3 line 3line -== snap replaced grid=120x32 cursor=11,12 -|12: 4 lline 4 -== snap cancelexec grid=120x32 cursor=25,9 -|9: 1 1echo B''OO g.txt -== 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 cut grid=120x32 cursor=7,7 +|6: */tmp/pardes-snap/chordcut/cwd/f.txt Save Undo Del +|7: 1 1 +== snap copied grid=120x32 cursor=10,8 +== snap pointpaste grid=120x32 cursor=16,9 +|9: 3 line 3line +== snap replaced grid=120x32 cursor=11,10 +|10: 4 lline 4 +== snap cancelexec grid=120x32 cursor=25,7 +|7: 1 1echo B''OO g.txt +== snap execafter grid=120x32 cursor=25,7 +|17: /tmp/pardes-snap/chordcut/cwd Del Term+bash /tmp/pardes-snap/chordcut/cwd (echo B''OO) exit 0 Del +|18: ls % echo B''OO +|19: f.txt g.txt BOO +|20: exit 0 |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: ~ +== snap cancellook grid=120x32 cursor=25,7 +== snap lookafter grid=120x32 cursor=7,22 +|21: /tmp/pardes-snap/chordcut/cwd/g.txt Del +|22: 1 line 1 +|23: 2 line 2 +|24: ~ == 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, -|3: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-35 #b2c3b8,#1d2824, 36-59 #d3b0d9,#1d2824, 60-61 #d3b0d9,#496656, 62-95 #b2c3b8,#1d2824, 96-119 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|7: 0-0 d,#496656, 1-1 #000000,#f9cb70,b 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-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-7 #59675c,#0d1410, 8-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|6: 0-0 d,#496656, 1-1 #000000,#f9cb70,b 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-59 #b2c3b8,#1d2824, 60-60 #b2c3b8,#608269, 61-119 #b2c3b8,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-7 #59675c,#0d1410, 8-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#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, |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-59 #59675c,#0d1410, 60-60 #59675c,#608269, 61-119 #59675c,#0d1410, +|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-59 #59675c,#0d1410, 60-60 #59675c,#608269, 61-119 #59675c,#0d1410, +|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-31 #b2c3b8,#1d2824, 32-41 #d3b0d9,#1d2824, 42-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#496656, 62-119 #b2c3b8,#1d2824, -|18: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, +|17: 0-1 d,#496656, 2-35 #b2c3b8,#1d2824, 36-59 #d3b0d9,#1d2824, 60-61 #d3b0d9,#496656, 62-119 #b2c3b8,#1d2824, +|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, -|21: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-61 d,#0d1410, 62-119 #e5eee5,#0d1410, -|22: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-37 #dfbce5,#314738, 38-59 #becfc4,#314738, 60-60 #becfc4,#608269, 61-119 #becfc4,#0d1410, -|23: 0-1 d,#314738, 2-6 #becfc4,#314738, 7-8 #f5f7ee,#3c614a, 9-59 #f5f7ee,#314738, 60-60 #f5f7ee,#608269, 61-119 #f5f7ee,#0d1410, -|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|25: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-59 #59675c,#0d1410, 60-60 #59675c,#608269, 61-119 #59675c,#0d1410, +|20: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-61 d,#0d1410, 62-119 #e5eee5,#0d1410, +|21: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-37 #dfbce5,#314738, 38-59 #becfc4,#314738, 60-60 #becfc4,#608269, 61-119 #becfc4,#0d1410, +|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-11 #f5f7ee,#0d1410, 12-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-59 #59675c,#0d1410, 60-60 #59675c,#608269, 61-119 #59675c,#0d1410, +|25: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|26: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |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, |31: 0-1 d,#1d2824, 2-119 #6f7d75,#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=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 -|25: 1 line 1 /tmp/pardes-snap/chordcut/cwd/g.stty -icanon -echo; printf -|26: 2 line 2 '\x1b[?2004h\x1b[?1000h\x1b[?1006h'; cat -vtxt Save Term -|27: ~ Collapse Follow Del Unfollow -|28: ~ -|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 +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|23: 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=120x32 cursor=42,22 +|17: $ /tmp/pardes-snap/chordcut/cwd Del Term+bash /tmp/pardes-snap/chordcut/cwd (echo B''OO) exit 0 Del +|18: $ ls % echo B''OO +|20: $ stty -icanon -echo; printf '\x1b[?2004h\x1b[?1000h\x1b[? exit 0 +|21: 1006h'; cat -v +|22: ^[[<0;38;7M^[[<0;38;7m^[[200~line^[[201~ +|23: +|24: +|31: ✓ /tmp/pardes-snap/chordcut/cwd/g.txt Del 4 messages · SPC h m +== snap ttyprompt grid=120x32 cursor=8,24 +|23: $ +|24: $ line diff --git a/test/snapshots/cmdexit.golden b/test/snapshots/cmdexit.golden index 99c7f513..5f7e67c9 100644 --- a/test/snapshots/cmdexit.golden +++ b/test/snapshots/cmdexit.golden @@ -1,7 +1,7 @@ == snap opened grid=120x31 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/cmdexit/cwd/cmds.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/cmdexit/cwd/cmds.txt Keep Del | 1 sleep 30 & echo BG''STARTED | 2 exec </dev/null >/dev/null 2>&1; sleep 1; false | @@ -31,11 +31,11 @@ | | /tmp/pardes-snap/cmdexit/cwd/cmds.txt:1 == snap background grid=120x31 cursor=7,3 -|16: /tmp/pardes-snap/cmdexit/cwd (sleep 30 & echo BG''STARTED) exit 0 Kill Save Collapse Del +|16: /tmp/pardes-snap/cmdexit/cwd (sleep 30 & echo BG''STARTED) exit 0 Del |17: % sleep 30 & echo BG''STARTED |18: BGSTARTED |19: exit 0 == snap letgo grid=120x31 cursor=7,3 -|23: /tmp/pardes-snap/cmdexit/cwd (exec </dev/null >/dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del +|23: /tmp/pardes-snap/cmdexit/cwd (exec </dev/null >/dev/null 2>&1; sleep 1; false) exit 1 Del |24: % exec </dev/null >/dev/null 2>&1; sleep 1; false |25: exit 1 diff --git a/test/snapshots/cmdword.golden b/test/snapshots/cmdword.golden index 67a51000..0fdd1f76 100644 --- a/test/snapshots/cmdword.golden +++ b/test/snapshots/cmdword.golden @@ -1,7 +1,7 @@ == snap opened grid=120x31 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/cmdword/cwd/cmds.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/cmdword/cwd/cmds.txt Del | 1 @`echo ZZ''E` @`echo ZZ''L` Look p.txt @`Look .` | | @@ -31,30 +31,30 @@ | | /tmp/pardes-snap/cmdword/cwd/cmds.txt:1 == snap atexec grid=120x31 cursor=7,3 -|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 Kill Save Collapse Del +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 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 +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''L) exit 0 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 +|5: /tmp/pardes-snap/cmdword/cwd/p.txt 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 +|8: /tmp/pardes-snap/cmdword/cwd/ Get 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 +|8: /tmp/pardes-snap/cmdword/cwd/ Get Del Exec == snap tagcmd grid=120x31 cursor=7,9 -|8: /tmp/pardes-snap/cmdword/cwd/ Get Term Collapse Del Exec @`echo ZZ''T` -|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''T) exit 0 Kill Save Collapse Del +|8: /tmp/pardes-snap/cmdword/cwd/ Get Del Exec @`echo ZZ''T` +|16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''T) exit 0 Del |23: % echo ZZ''T |24: ZZT |25: exit 0 diff --git a/test/snapshots/colgrip.golden b/test/snapshots/colgrip.golden index 7a11e85b..e66de34b 100644 --- a/test/snapshots/colgrip.golden +++ b/test/snapshots/colgrip.golden @@ -1,10 +1,10 @@ == style rest grid=100x24 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-49 #b2c3b8,#1d2824, 50-51 #b2c3b8,#887455, 52-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-30 #b2c3b8,#2c2c0f, 31-36 #d3b0d9,#2c2c0f, 37-49 #b2c3b8,#2c2c0f, 50-51 #b2c3b8,#add38a, 52-80 #becfc4,#314738, 81-90 #dfbce5,#314738, 91-99 #becfc4,#314738, -|3: 0-1 d,#2c2c0f, 2-49 #b2c3b8,#2c2c0f, 50-52 #b2c3b8,#314738, 53-99 #becfc4,#314738, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-51 d,#0d1410, 52-99 #e5eee5,#0d1410, +|2: 0-1 d,#496656, 2-30 #b2c3b8,#2c2c0f, 31-36 #d3b0d9,#2c2c0f, 37-49 #b2c3b8,#2c2c0f, 50-51 #b2c3b8,#add38a, 52-84 #becfc4,#314738, 85-99 #dfbce5,#314738, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-51 d,#0d1410, 52-99 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |6: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |7: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |8: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -25,11 +25,10 @@ |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 +== snap resize-drag grid=100x24 cursor=54,5 | 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/colgrip/cwd/w.txt Keep Save Ter /tmp/pardes-snap/colgrip/cwd Term+bash Save Mode -| m Collapse Follow Del Filter Collapse Del +| /tmp/pardes-snap/colgrip/cwd/w.txt Keep Del /tmp/pardes-snap/colgrip/cwd Del Term+bash | 1 x ls | w.txt | @@ -49,21 +48,21 @@ | | | +| | /tmp/pardes-snap/colgrip/cwd == style resize-drag grid=100x24 -== snap resize-done grid=100x24 cursor=44,6 +== snap resize-done grid=100x24 cursor=44,5 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol -|2: /tmp/pardes-snap/colgrip/cwd/w.txt Kee /tmp/pardes-snap/colgrip/cwd Term+bash Save Mode Filter Co -|3: p Save Term Collapse Follow Del llapse Del -|4: 1 x ls -|5: w.txt -== snap reorder-drag grid=100x24 cursor=44,6 +|2: /tmp/pardes-snap/colgrip/cwd/w.txt Kee /tmp/pardes-snap/colgrip/cwd Del Term+bash +|3: p Del ls +|4: 1 x w.txt +== snap reorder-drag grid=100x24 cursor=44,5 == style reorder-drag grid=100x24 |1: 0-1 d,#887455, 2-39 #b2c3b8,#1d2824, 40-41 #b2c3b8,#f4c086, 42-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-30 #b2c3b8,#2c2c0f, 31-36 #d3b0d9,#2c2c0f, 37-39 #b2c3b8,#2c2c0f, 40-41 #b2c3b8,#add38a, 42-70 #becfc4,#314738, 71-80 #dfbce5,#314738, 81-99 #becfc4,#314738, -|3: 0-1 d,#2c2c0f, 2-39 #b2c3b8,#2c2c0f, 40-41 #b2c3b8,#314738, 42-99 #becfc4,#314738, +|2: 0-1 d,#496656, 2-30 #b2c3b8,#2c2c0f, 31-36 #d3b0d9,#2c2c0f, 37-39 #b2c3b8,#2c2c0f, 40-41 #b2c3b8,#add38a, 42-74 #becfc4,#314738, 75-99 #dfbce5,#314738, +|3: 0-1 d,#2c2c0f, 2-39 #b2c3b8,#2c2c0f, 40-40 #b2c3b8,#608269, 41-41 #b2c3b8,#0d1410, 42-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-39 #e5eee5,#0d1410, 40-40 #e5eee5,#608269, 41-99 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-41 d,#0d1410, 42-99 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, |6: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, |7: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, |8: 0-0 d,#608269, 1-39 d,#0d1410, 40-40 d,#608269, 41-99 d,#0d1410, @@ -81,9 +80,8 @@ |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, -== snap reorder-done grid=100x24 cursor=4,6 +== snap reorder-done grid=100x24 cursor=4,5 |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 Kee -|3: llapse Del p Save Term Collapse Follow Del -|4: ls 1 x -|5: w.txt +|2: /tmp/pardes-snap/colgrip/cwd Del Term+bash /tmp/pardes-snap/colgrip/cwd/w.txt Kee +|3: ls p Del +|4: w.txt 1 x diff --git a/test/snapshots/collapse.golden b/test/snapshots/collapse.golden index da7d22ee..ab7d2489 100644 --- a/test/snapshots/collapse.golden +++ b/test/snapshots/collapse.golden @@ -1,7 +1,7 @@ == snap before grid=160x25 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/collapse/cwd/kept.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/collapse/cwd/kept.txt Keep Del Collapse Save | 1 KEEP-FIRST | 2 KEEP-SECOND | 3 KEEP-THIRD @@ -34,8 +34,8 @@ @0: 0-84 #b2c3b8,#1d2824,,tagline 85-159 d,#1d2824,,tagline |1: New Term Find Grep Joincol Delcol @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-159 d,#314738,,tagline -|2: /tmp/pardes-snap/collapse/cwd/kept.txt Keep Save Term Collapse Follow Del -@2: 0-1 #000000,#add38a,,tagline 2-31 #becfc4,#2c2c0f,,tagline 32-39 #dfbce5,#2c2c0f,,tagline 40-74 #becfc4,#2c2c0f,,tagline 75-159 d,#2c2c0f,,tagline +|2: /tmp/pardes-snap/collapse/cwd/kept.txt Keep Del Collapse Save +@2: 0-1 #000000,#add38a,,tagline 2-31 #becfc4,#2c2c0f,,tagline 32-39 #dfbce5,#2c2c0f,,tagline 40-62 #becfc4,#2c2c0f,,tagline 63-159 d,#2c2c0f,,tagline |3: @3: 0-159 d,#486152,,body |4: diff --git a/test/snapshots/cursorline.golden b/test/snapshots/cursorline.golden index 689ffe94..6e5cc175 100644 --- a/test/snapshots/cursorline.golden +++ b/test/snapshots/cursorline.golden @@ -1,7 +1,7 @@ -== snap top grid=150x31 cursor=82,18 +== snap top grid=150x31 cursor=82,17 | 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 +| /tmp/pardes-snap/cursorline/cwd Del Term+bash /tmp/pardes-snap/cursorline/cwd Del Term+bash | ls ls | cur.txt cur.txt | @@ -15,10 +15,9 @@ | | | -| /tmp/pardes-snap/cursorline/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/cursorline/cwd/cur.txt Keep Save Term Collapse Fo -| ls llow Del -| cur.txt 1 line 1 -| 2 line 2 +| /tmp/pardes-snap/cursorline/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/cursorline/cwd/cur.txt Keep Del +| ls 1 line 1 +| cur.txt 2 line 2 | 3 line 3 | 4 line 4 | 5 line 5 @@ -29,11 +28,12 @@ | 10 line 10 | 11 line 11 | 12 line 12 +| 13 line 13 | · @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 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, -|2: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-43 #d3b0d9,#1d2824, 44-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#496656, 77-108 #b2c3b8,#1d2824, 109-118 #d3b0d9,#1d2824, 119-149 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#496656, 77-112 #b2c3b8,#1d2824, 113-149 #d3b0d9,#1d2824, |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, @@ -47,22 +47,22 @@ |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-76 #b2c3b8,#add38a, 77-115 #becfc4,#2c2c0f, 116-123 #dfbce5,#2c2c0f, 124-149 #becfc4,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-76 #e5eee5,#2c2c0f, 77-149 #becfc4,#2c2c0f, -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-76 #e5eee5,#0d1410, 77-79 #e5eee5,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, +|16: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#add38a, 77-115 #becfc4,#2c2c0f, 116-123 #dfbce5,#2c2c0f, 124-149 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-76 #e5eee5,#0d1410, 77-79 #e5eee5,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |30: 0-1 d,#1d2824, 2-149 #6f7d75,#1d2824, -== snap down3 grid=150x31 cursor=82,21 +== snap down3 grid=150x31 cursor=82,20 == style down3 grid=150x31 -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-79 d,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-79 d,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, diff --git a/test/snapshots/delask.golden b/test/snapshots/delask.golden index 3d4f924f..1bcb5a3a 100644 --- a/test/snapshots/delask.golden +++ b/test/snapshots/delask.golden @@ -1,7 +1,7 @@ == snap three grid=100x36 cursor=18,20 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/delask/cwd/top.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/delask/cwd/top.txt Keep Del | 1 top-marker | | @@ -18,7 +18,7 @@ | | | -| */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del +| */tmp/pardes-snap/delask/cwd/+New Undo Del | 1 middle-pane | | @@ -26,7 +26,7 @@ | | | -| */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del +| */tmp/pardes-snap/delask/cwd/+New Undo Del | 1 bottom-pane | | @@ -47,7 +47,7 @@ |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 -|27: */tmp/pardes-snap/delask/cwd/+New Save Term Collapse Follow Del +|27: */tmp/pardes-snap/delask/cwd/+New Undo 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 @@ -56,7 +56,7 @@ |28: |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 +|27: /tmp/pardes-snap/delask/cwd/+New 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 diff --git a/test/snapshots/diffstack.golden b/test/snapshots/diffstack.golden index 68c58062..a71d0b03 100644 --- a/test/snapshots/diffstack.golden +++ b/test/snapshots/diffstack.golden @@ -1,7 +1,7 @@ == snap diff-stack grid=100x31 cursor=4,4 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/diffstack/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/diffstack/cwd Del Term+bash | $ cat change.patch | $(readlink /proc/$PPID/exe) - | $ | @@ -20,7 +20,7 @@ | | | -| /tmp/pardes-snap/diffstack/cwd/+Diff Save Term Diff Collapse LocationsConfig Del +| /tmp/pardes-snap/diffstack/cwd/+Diff Diff Del | a.zig:3 | const S = struct { | a.zig:5 * @@ -33,7 +33,7 @@ == style diff-stack-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-32 #becfc4,#314738, 33-42 #dfbce5,#314738, 43-99 #becfc4,#314738, +|2: 0-1 #000000,#add38a, 2-36 #becfc4,#314738, 37-99 #dfbce5,#314738, |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, diff --git a/test/snapshots/diffview.golden b/test/snapshots/diffview.golden index 3a83fb25..12dfbf3d 100644 --- a/test/snapshots/diffview.golden +++ b/test/snapshots/diffview.golden @@ -1,7 +1,7 @@ == snap diff-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/change.diff Keep Save Term Diff Collapse Follow Del +| /tmp/pardes-snap/diffview/cwd/change.diff Keep Diff Del | 1 diff --git a/src/shape.zig b/src/shape.zig | 2 index 1111111..2222222 100644 | 3 --- a/src/shape.zig @@ -62,22 +62,21 @@ |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 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,9 -|2: change.diff:12 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Save Term Collapse Follow TreeCo -|3: ntext Def Refs Del -|4: 1 const std = @import("std"); -|5: 2 -|6: 3 pub const Shape = union(enum) { -|7: 4 circle: f32, -|8: 5 square: f32, -|9: 6 triangle: struct { base: f32, height: f32 }, -|10: 7 -|11: 8 const note = -|12: 9 \\areas, defer -|13: 10 \\summed -|14: 11 ; -|15: 12 }; -|16: ~ +== snap look-added-line grid=100x31 cursor=55,8 +|2: change.diff:12 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Del +|3: 1 const std = @import("std"); +|4: 2 +|5: 3 pub const Shape = union(enum) { +|6: 4 circle: f32, +|7: 5 square: f32, +|8: 6 triangle: struct { base: f32, height: f32 }, +|10: 8 const note = +|11: 9 \\areas, defer +|12: 10 \\summed +|13: 11 ; +|14: 12 }; +|15: ~ +|16: |17: |18: |19: @@ -88,7 +87,7 @@ == 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 Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/diffview/cwd/cmds.txt Keep Del | 1 cat change.diff | ~ | @@ -102,7 +101,7 @@ | | | -| /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Kill Save Collapse Del +| /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Del | circle: f32, | - square: u8 = 7, | + square: f32, @@ -149,17 +148,17 @@ |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 #6f7d75,#1d2824, -== snap command-look grid=100x31 cursor=55,28 +== snap command-look grid=100x31 cursor=55,27 |17: + \\areas, defer |18: + \\summed |19: ; |20: }; |21: exit 0 |22: -|23: ‹@p2 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Save Term Collapse Follow TreeContext Def -|24: Refs Del -|25: 3 pub const Shape = union(enum) { -|26: 4 circle: f32, -|27: 5 square: f32, -|28: 6 triangle: struct { base: f32, height: f32 }, -|29: 7 +|23: ‹@p2 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Del +|24: 3 pub const Shape = union(enum) { +|25: 4 circle: f32, +|26: 5 square: f32, +|27: 6 triangle: struct { base: f32, height: f32 }, +|28: 7 +|29: 8 const note = diff --git a/test/snapshots/dirpane.golden b/test/snapshots/dirpane.golden index c9251994..76d40546 100644 --- a/test/snapshots/dirpane.golden +++ b/test/snapshots/dirpane.golden @@ -1,10 +1,10 @@ == snap dir-open grid=80x24 cursor=7,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/dirpane/cwd/top.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/dirpane/cwd/top.txt Keep Del | 1 sub | -| /tmp/pardes-snap/dirpane/cwd/sub/ Get Term Collapse Del +| /tmp/pardes-snap/dirpane/cwd/sub/ Get Del | 1 .hidden beta-gamma.txt inner.txt | 2 alpha.txt deeper/ zeta | ~ @@ -23,8 +23,7 @@ | | | /tmp/pardes-snap/dirpane/cwd/sub/:1 -== snap entry-open grid=80x24 cursor=7,16 -|14: ‹@p2 › /tmp/pardes-snap/dirpane/cwd/sub/inner.txt Keep Save Term Collapse Foll -|15: ow Del -|16: 1 inner-marker +== snap entry-open grid=80x24 cursor=7,15 +|14: ‹@p2 › /tmp/pardes-snap/dirpane/cwd/sub/inner.txt Keep Del +|15: 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 8915ffe0..419a12d5 100644 --- a/test/snapshots/dump.golden +++ b/test/snapshots/dump.golden @@ -1,13 +1,13 @@ == snap loaded grid=100x31 cursor=16,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/dump/cwd Term+bash Save Mode Fi /tmp/pardes-snap/dump/cwd Term+bash Save Mode Fi -| lter Collapse Del lter Collapse Del +| /tmp/pardes-snap/dump/cwd Del Term+bash /tmp/pardes-snap/dump/cwd Del Term+bash | ls ls | d.txt d.txt | | ── restored history ── ── restored history ── | +| | typed-marker | | @@ -15,8 +15,7 @@ | | | -| /tmp/pardes-snap/dump/cwd Term+bash Save Mode Fi -| lter Collapse Del +| /tmp/pardes-snap/dump/cwd Del Term+bash | ls | d.txt | @@ -29,4 +28,5 @@ | | | +| | ✓ @p1 Dump 2 messages · SPC h m diff --git a/test/snapshots/edit.golden b/test/snapshots/edit.golden index fc40c904..5dc6fe28 100644 --- a/test/snapshots/edit.golden +++ b/test/snapshots/edit.golden @@ -1,22 +1,21 @@ == snap inserted grid=100x31 cursor=16,10 | 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/edit/cwd Term+bash Save Mode Fi /tmp/pardes-snap/edit/cwd Term+bash Save Mode Fi -| lter Collapse Del lter Collapse Del +| /tmp/pardes-snap/edit/cwd Del Term+bash /tmp/pardes-snap/edit/cwd Del Term+bash | ls ls | e.txt e.txt | | | | +| | hello-insert | | | | | -| /tmp/pardes-snap/edit/cwd Term+bash Save Mode Fi -| lter Collapse Del +| /tmp/pardes-snap/edit/cwd Del Term+bash | ls | e.txt | @@ -29,14 +28,15 @@ | | | +| | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program dr… 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, -|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, +|2: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-81 #b2c3b8,#1d2824, 82-99 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |6: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |7: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |8: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -47,10 +47,10 @@ |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-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, +|16: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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, +|19: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#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, diff --git a/test/snapshots/emptycol.golden b/test/snapshots/emptycol.golden index f76f9c8c..32a7a896 100644 --- a/test/snapshots/emptycol.golden +++ b/test/snapshots/emptycol.golden @@ -1,8 +1,8 @@ == snap newcol grid=100x24 cursor=52,1 | 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/emptycol/cwd/notes.txt Keep Sav -| e Term Collapse Follow Del +| /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Del +| | 1 one | 2 two | @@ -23,15 +23,13 @@ | | | /tmp/pardes-snap/emptycol/cwd/notes.txt:1 -== snap filled grid=100x24 cursor=54,6 -|2: /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Sav /tmp/pardes-snap/emptycol/cwd Term+bash Save Mod -|3: e Term Collapse Follow Del e Filter Collapse Del -|4: 1 one ls -|5: 2 two notes.txt +== snap filled grid=100x24 cursor=54,5 +|2: /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Del /tmp/pardes-snap/emptycol/cwd Del Term+bash +|3: ls +|4: 1 one notes.txt |23: /tmp/pardes-snap/emptycol/cwd == snap emptied grid=100x24 cursor=52,1 -|2: /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Sav -|3: e Term Collapse Follow Del +|2: /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Del +|3: |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 54015143..c6fc181f 100644 --- a/test/snapshots/exec-bigdrag.golden +++ b/test/snapshots/exec-bigdrag.golden @@ -1,7 +1,7 @@ == snap alive grid=200x61 cursor=119,38 | 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 +| /tmp/pardes-snap/exec-bigdrag/cwd Del Term+bash /tmp/pardes-snap/exec-bigdrag/cwd Del Term+bash | ls bash: 802line: command not found | big.txt 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li | ne @@ -30,7 +30,7 @@ | 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 +| /tmp/pardes-snap/exec-bigdrag/cwd Del Term+bash 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 diff --git a/test/snapshots/exec.golden b/test/snapshots/exec.golden index b7d4f5e7..a3cf195b 100644 --- a/test/snapshots/exec.golden +++ b/test/snapshots/exec.golden @@ -1,7 +1,7 @@ == snap exec grid=140x31 cursor=16,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/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/exec/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/exec/cwd Del Term+bash /tmp/pardes-snap/exec/cwd Del Term+bash | ls ls | e.txt e.txt | @@ -15,7 +15,7 @@ | | | -| /tmp/pardes-snap/exec/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/exec/cwd Del Term+bash | ls | e.txt | diff --git a/test/snapshots/fileedit.golden b/test/snapshots/fileedit.golden index c4e0f145..6b77cba3 100644 --- a/test/snapshots/fileedit.golden +++ b/test/snapshots/fileedit.golden @@ -1,7 +1,7 @@ == snap edited grid=150x31 cursor=17,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/fileedit/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/fileedit/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/fileedit/cwd Del Term+bash /tmp/pardes-snap/fileedit/cwd Del Term+bash | ls ls | f.txt f.txt | @@ -15,10 +15,9 @@ | | | -| /tmp/pardes-snap/fileedit/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/fileedit/cwd/f.txt Keep Save Term Collapse Follow -| ls Del -| f.txt 1 line 1 -| 2 line 2 +| /tmp/pardes-snap/fileedit/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/fileedit/cwd/f.txt Keep Del +| ls 1 line 1 +| f.txt 2 line 2 | 3 line 3 | 4 line 4 | 5 line 5 @@ -29,6 +28,7 @@ | 10 line 10 | 11 line 11 | 12 line 12 +| 13 line 13 | · @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: diff --git a/test/snapshots/filewatch.golden b/test/snapshots/filewatch.golden index dfac8cd6..cea74424 100644 --- a/test/snapshots/filewatch.golden +++ b/test/snapshots/filewatch.golden @@ -1,11 +1,11 @@ == snap edited grid=210x31 cursor=15,7 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/filewatch/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/filewatch/cwd Del Term+bash | ls | sub w.txt | -| */tmp/pardes-snap/filewatch/cwd/w.txt Save Term Collapse Follow Del +| */tmp/pardes-snap/filewatch/cwd/w.txt Save Undo Del | 1 liMYEDITne 1 | 2 line 2 | 3 /tmp/pardes-snap/filewatch/cwd/sub/s.txt @@ -17,7 +17,7 @@ | 9 line 9 | 10 line 10 | 11 line 11 -| /tmp/pardes-snap/filewatch/cwd/sub/s.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/filewatch/cwd/sub/s.txt Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -34,6 +34,7 @@ |6: ?/tmp/pardes-snap/filewatch/cwd/w.txt changed on disk ▸ r Reload k Keep mine d Diff · SPC e to answer |30: ? /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk 1 question · SPC e == snap reloaded_sub grid=210x31 cursor=15,7 +|18: /tmp/pardes-snap/filewatch/cwd/sub/s.txt Undo Del |19: 1 RENAMED |20: ~ |21: diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index e9a50dec..44ccfaed 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -64,7 +64,7 @@ |5: │ │ ▶ sub/ZQMARK-beta.txt |9: 1▸beta body == snap promoted grid=120x41 cursor=7,3 -|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Save Term Collapse Follow Del +|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del |3: 1 beta body |4: |5: @@ -82,7 +82,7 @@ |7: │ │ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m == snap cancel grid=120x41 cursor=7,3 -|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Save Term Collapse Follow Del +|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del |3: 1 beta body |4: |5: diff --git a/test/snapshots/follow.golden b/test/snapshots/follow.golden index 56de4eb4..91bcdd3d 100644 --- a/test/snapshots/follow.golden +++ b/test/snapshots/follow.golden @@ -1,59 +1,59 @@ == snap three-pages grid=150x30 cursor=7,3 | 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 Keep Save Term Collapse Follow Del /tmp/pardes-snap/follow/cwd/big.txt /tmp/pardes-snap/follow/cwd/big.txt -| 1 line 1 Keep Save Term Collapse Follow Del U Keep Save Term Collapse Follow Del -| 2 line 2 nfollow Unfollow -| 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 Keep Del /tmp/pardes-snap/follow/cwd/big.txt /tmp/pardes-snap/follow/cwd/big.txt +| 1 line 1 Keep Del Unfollow Keep Del Unfollow +| 2 line 2 27 line 27 52 line 52 +| 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 | ✓ /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 Keep Save Term Collapse Follow Del U Keep Save Term Collapse Follow Del -|4: 3 line 3 nfollow Unfollow -|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 +== snap hop grid=150x30 cursor=82,5 +== snap wheel grid=150x30 cursor=82,4 +|3: 2 line 2 Keep Del Unfollow Keep Del Unfollow +|4: 3 line 3 28 line 28 53 line 53 +|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 diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 8fbf0221..91b72044 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -1,7 +1,7 @@ == snap opened grid=180x31 cursor=97,17 | 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 +| /tmp/pardes-snap/fsearch/cwd Del Term+bash /tmp/pardes-snap/fsearch/cwd Del Term+bash | ls ls | g.txt g.txt | @@ -15,7 +15,7 @@ | | | -| /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del | ls 1 l1 | g.txt 2 MARK a | 3 l3 @@ -31,14 +31,14 @@ | | · @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=101,16 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ^ ‹@p1 › / ⏎ land · M-⏎ as a list · C-r history · esc +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / ⏎ land · M-⏎ as a list · C-r history · esc == snap typing grid=180x31 cursor=105,16 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ^ ‹@p1 › / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc |18: g.txt 2▸MARK a == style typing grid=180x31 |0: 0-1 d,#1d2824, 2-179 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-89 #b2c3b8,#1d2824, 90-91 #b2c3b8,#887455, 92-179 #becfc4,#314738, -|2: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-89 #b2c3b8,#1d2824, 90-91 #b2c3b8,#496656, 92-120 #b2c3b8,#1d2824, 121-130 #d3b0d9,#1d2824, 131-179 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #d3b0d9,#496656, 92-124 #b2c3b8,#1d2824, 125-179 #d3b0d9,#1d2824, |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, @@ -52,7 +52,7 @@ |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-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-40 #d3b0d9,#1d2824, 41-89 #b2c3b8,#1d2824, 90-91 #000000,#add38a, 92-98 #becfc4,#2c2c0f, 99-99 #bada9d,#2c2c0f,b 100-100 #bada9d,#2c2c0f, 101-106 #becfc4,#2c2c0f, 107-113 #79836f,#2c2c0f, 114-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, +|16: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #000000,#add38a, 92-98 #becfc4,#2c2c0f, 99-99 #bada9d,#2c2c0f,b 100-100 #bada9d,#2c2c0f, 101-106 #becfc4,#2c2c0f, 107-113 #79836f,#2c2c0f, 114-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, |17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-94 #e5eee5,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#e5eee5, 91-91 #e5eee5,#0d1410, 92-94 #e5eee5,#0d1410,b 95-95 #616f64,#0d1410,b 96-96 #bada9d,#0d1410,b 97-100 #f5f7ee,#3c614a, 101-101 #f5f7ee,#0d1410, 102-179 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-94 d,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, @@ -69,7 +69,7 @@ |30: 0-1 d,#1d2824, 2-179 #6f7d75,#1d2824, == snap list grid=180x31 cursor=110,15 |15: ^ ‹@p1 › ␣ l /MARK/ 1/3 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes … +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes … |17: ls │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a |18: g.txt │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b |19: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c @@ -97,10 +97,26 @@ |27: 9 l9 |28: 10 MARK c |29: 11 l11 -== snap landed grid=180x31 cursor=97,22 +== snap landed grid=180x31 cursor=97,21 |15: -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › +1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Save Term Collapse Foll -|17: ls ow Del +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls 2 MARK a +|18: g.txt 3 l3 +|19: 4 l4 +|20: 5 l5 +|21: 6 MARK b +|22: 7 l7 +|23: 8 l8 +|24: 9 l9 +|25: 10 MARK c +|26: 11 l11 +|27: 12 l12 +|28: +|29: +|30: · @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 n grid=180x31 cursor=97,26 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls 1 l1 |18: g.txt 2 MARK a |19: 3 l3 |20: 4 l4 @@ -112,25 +128,8 @@ |26: 10 MARK c |27: 11 l11 |28: 12 l12 -|29: -|30: · @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 n grid=180x31 cursor=97,27 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › +1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Save Term Collapse Foll -|18: g.txt 1 l1 -|19: 2 MARK a -|20: 3 l3 -|21: 4 l4 -|22: 5 l5 -|23: 6 MARK b -|24: 7 l7 -|25: 8 l8 -|26: 9 l9 -|27: 10 MARK c -|28: 11 l11 -|29: 12 l12 -== snap N grid=180x31 cursor=97,23 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › +1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Save Term Collapse Foll -== snap cancel grid=180x31 cursor=97,23 +== snap N grid=180x31 cursor=97,22 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +== snap cancel grid=180x31 cursor=97,22 == snap nomatch grid=180x31 cursor=118,16 -|16: /tmp/pardes-snap/fsearch/cwd Term+bash Save Mode Filter Collapse Del ^ ‹@p1 › /MARK/ 2/3 › / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc -|17: ls +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › /MARK/ 2/3 › / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc diff --git a/test/snapshots/ghostty-mid.golden b/test/snapshots/ghostty-mid.golden index 47c40260..e4363140 100644 --- a/test/snapshots/ghostty-mid.golden +++ b/test/snapshots/ghostty-mid.golden @@ -1,8 +1,7 @@ -== snap ghostty-mid grid=100x31 cursor=4,8 +== snap ghostty-mid grid=100x31 cursor=4,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/ghostty-mid/cwd Term+bash Save /tmp/pardes-snap/ghostty-mid/cwd Term+bash Save -| Mode Filter Collapse Del Mode Filter Collapse Del +| /tmp/pardes-snap/ghostty-mid/cwd Del Term+bash /tmp/pardes-snap/ghostty-mid/cwd Del Term+bash | ZZPAD ls | ./g.sh g.txt | ./g.sh @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ghostty-mid/cwd Term+bash Save -| Mode Filter Collapse Del +| +| /tmp/pardes-snap/ghostty-mid/cwd Del Term+bash | ls | g.txt | @@ -29,4 +28,5 @@ | | | +| | ✓ @p1 Exec 1 message · SPC h m diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden index 26fcb692..70115a38 100644 --- a/test/snapshots/grep.golden +++ b/test/snapshots/grep.golden @@ -1,7 +1,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 +| /tmp/pardes-snap/grep/cwd Del Term+bash /tmp/pardes-snap/grep/cwd Del Term+bash | ls ls | a.txt noise.txt sub a.txt noise.txt sub | @@ -15,11 +15,11 @@ | | | -| /tmp/pardes-snap/grep/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/grep/cwd Del Term+bash | ls | a.txt noise.txt sub | -| /tmp/pardes-snap/grep/cwd/a.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/grep/cwd/a.txt Del | 1 hello TARGET one | 2 nothing here | 3 last TARGET line @@ -47,7 +47,6 @@ |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 diff --git a/test/snapshots/headersweep-restored.golden b/test/snapshots/headersweep-restored.golden index f7e5b2a4..1ee32f21 100644 --- a/test/snapshots/headersweep-restored.golden +++ b/test/snapshots/headersweep-restored.golden @@ -1,30 +1,29 @@ == style col-sweeping grid=120x21 |0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-35 #becfc4,#314738, 36-43 #f5f7ee,#5b7e5a, 44-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, -|2: 0-1 d,#add38a, 2-43 #becfc4,#314738, 44-53 #dfbce5,#314738, 54-59 #becfc4,#314738, 60-61 #becfc4,#496656, 62-103 #b2c3b8,#1d2824, 104-113 #d3b0d9,#1d2824, 114-119 #b2c3b8,#1d2824, -|3: 0-1 d,#314738, 2-59 #becfc4,#314738, 60-61 #becfc4,#1d2824, 62-119 #b2c3b8,#1d2824, -|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, -|6: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-61 #e5eee5,#0d1410, 62-83 #e5eee5,#0d1410,f 84-119 #e5eee5,#0d1410, +|2: 0-1 d,#add38a, 2-47 #becfc4,#314738, 48-59 #dfbce5,#314738, 60-61 #dfbce5,#496656, 62-107 #b2c3b8,#1d2824, 108-119 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, +|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-23 #e5eee5,#0d1410,f 24-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-61 #e5eee5,#0d1410, 62-83 #e5eee5,#0d1410,f 84-119 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |7: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |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-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, +|11: 0-1 d,#496656, 2-47 #b2c3b8,#1d2824, 48-59 #d3b0d9,#1d2824, 60-60 #d3b0d9,#608269, 61-119 #d3b0d9,#0d1410, +|12: 0-0 d,#608269, 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,#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-1 d,#1d2824, 2-119 #6f7d75,#1d2824, -== snap col-swept grid=120x21 cursor=4,7 +== snap col-swept grid=120x21 cursor=4,6 | 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 -| /tmp/pardes-snap/headersweep-restored/cwd Term+bash Save M /tmp/pardes-snap/headersweep-restored/cwd Term+bash Save M -| ode Filter Collapse Del ode Filter Collapse Del +| /tmp/pardes-snap/headersweep-restored/cwd Del Term+bash /tmp/pardes-snap/headersweep-restored/cwd Del Term+bash | ls ls | | ── restored history ── ── restored history ── @@ -32,25 +31,23 @@ | | | -| /tmp/pardes-snap/headersweep-restored/cwd Term+bash Save M -| ode Filter Collapse Del +| +| /tmp/pardes-snap/headersweep-restored/cwd Del Term+bash +| ls | | ── restored history ── | | /tmp/pardes-snap/headersweep-restored/cwd (echo RE''STORED -| -COL) exit 0 Kill Save Collapse Del +| -COL) exit 0 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, -|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 +== snap ws-swept grid=120x21 cursor=4,6 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit Restore /tmp/pardes-snap/header ec -|17: -WS) exit 0 Kill Save Collapse Del +|17: -WS) exit 0 Del diff --git a/test/snapshots/headersweep.golden b/test/snapshots/headersweep.golden index 8763fbb2..034c0dc8 100644 --- a/test/snapshots/headersweep.golden +++ b/test/snapshots/headersweep.golden @@ -1,30 +1,29 @@ == style col-sweeping grid=120x21 |0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-35 #becfc4,#314738, 36-43 #f5f7ee,#5b7e5a, 44-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, -|2: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-44 #dfbce5,#314738, 45-59 #becfc4,#314738, 60-61 #becfc4,#496656, 62-94 #b2c3b8,#1d2824, 95-104 #d3b0d9,#1d2824, 105-119 #b2c3b8,#1d2824, -|3: 0-1 d,#314738, 2-59 #becfc4,#314738, 60-61 #becfc4,#1d2824, 62-119 #b2c3b8,#1d2824, +|2: 0-1 d,#add38a, 2-38 #becfc4,#314738, 39-59 #dfbce5,#314738, 60-61 #dfbce5,#496656, 62-98 #b2c3b8,#1d2824, 99-119 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |6: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |7: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |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-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, +|11: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-59 #d3b0d9,#1d2824, 60-60 #d3b0d9,#608269, 61-119 #d3b0d9,#0d1410, +|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#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, +|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-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-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, -== snap col-swept grid=120x21 cursor=4,6 +== snap col-swept grid=120x21 cursor=4,5 | 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 -| /tmp/pardes-snap/headersweep/cwd Term+bash Save Mode Filte /tmp/pardes-snap/headersweep/cwd Term+bash Save Mode Filte -| r Collapse Del r Collapse Del +| /tmp/pardes-snap/headersweep/cwd Del Term+bash /tmp/pardes-snap/headersweep/cwd Del Term+bash | ls ls | hay.txt hay.txt | @@ -32,35 +31,33 @@ | | | -| /tmp/pardes-snap/headersweep/cwd Term+bash Save Mode Filte -| r Collapse Del +| +| /tmp/pardes-snap/headersweep/cwd Del Term+bash | ls | hay.txt | +| | /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-COL) exit 0 -| Kill Save Collapse Del +| Del | exit 0 | | /tmp/pardes-snap/headersweep/cwd -== snap ws-swept grid=120x21 cursor=4,6 +== snap ws-swept grid=120x21 cursor=4,5 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit echo SW''EPT-WS |16: /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-WS) exit 0 -|17: Kill Save Collapse Del -== snap ws-looked grid=120x21 cursor=67,14 +|17: Del +== snap ws-looked grid=120x21 cursor=67,12 |0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit echo SW''EPT-WS xxhay.txtxx -|12: r Collapse Del ‹@p1 › /tmp/pardes-snap/headersweep/cwd/hay.txt Keep Save -|13: ls Term Collapse Follow Del -|14: hay.txt 1 ZQNEEDLE +|11: /tmp/pardes-snap/headersweep/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/headersweep/cwd/hay.txt Keep Del +|12: ls 1 ZQNEEDLE |20: /tmp/pardes-snap/headersweep/cwd/hay.txt:1 -== snap cancelled grid=120x21 cursor=4,6 +== snap cancelled grid=120x21 cursor=4,5 |20: /tmp/pardes-snap/headersweep/cwd == 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, -|2: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#add38a, 62-94 #becfc4,#314738, 95-104 #dfbce5,#314738, 105-119 #becfc4,#314738, -|3: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#314738, 62-119 #becfc4,#314738, -|12: 0-1 d,#1d2824, 2-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#496656, 62-101 #b2c3b8,#2c2c0f, 102-109 #d3b0d9,#2c2c0f, 110-119 #b2c3b8,#2c2c0f, -|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-61 #e5eee5,#2c2c0f, 62-119 #b2c3b8,#2c2c0f, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-64 #e5eee5,#0d1410, 65-66 #59675c,#0d1410, 67-119 #e5eee5,#0d1410, +|2: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-59 #d3b0d9,#1d2824, 60-61 #d3b0d9,#add38a, 62-98 #becfc4,#314738, 99-119 #dfbce5,#314738, +|11: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-59 #d3b0d9,#1d2824, 60-61 #d3b0d9,#496656, 62-101 #b2c3b8,#2c2c0f, 102-109 #d3b0d9,#2c2c0f, 110-119 #b2c3b8,#2c2c0f, +|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-64 #e5eee5,#0d1410, 65-66 #59675c,#0d1410, 67-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 7f4d0060..0fd7c5a5 100644 --- a/test/snapshots/hscroll.golden +++ b/test/snapshots/hscroll.golden @@ -1,12 +1,12 @@ -== snap opened grid=90x31 cursor=52,19 +== snap opened grid=90x31 cursor=52,18 | 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 -| Mode Filter Collapse Del Mode Filter Collapse Del +| /tmp/pardes-snap/hscroll/cwd Del Term+bash /tmp/pardes-snap/hscroll/cwd Del Term+bash | ls ls | wide.txt wide.txt | | +| | wide.txt | | @@ -15,9 +15,8 @@ | | | -| /tmp/pardes-snap/hscroll/cwd Term+bash Save -| Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/hscroll/cwd/wide.tx -| ls t Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/hscroll/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/hscroll/cwd/wide.tx +| ls t Keep Del | wide.txt 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp | | @@ -29,10 +28,11 @@ | | | +| | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the… 2 messages · SPC h m -== snap wheeled grid=90x31 cursor=52,19 -== snap clamped grid=90x31 cursor=52,19 -== snap dollar grid=90x31 cursor=86,19 -|19: wide.txt 1 padpadpadpadpadpadpadpadpadpad_TAIL -== snap zero grid=90x31 cursor=52,19 -|19: wide.txt 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp +== snap wheeled grid=90x31 cursor=52,18 +== snap clamped grid=90x31 cursor=52,18 +== snap dollar grid=90x31 cursor=86,18 +|18: wide.txt 1 padpadpadpadpadpadpadpadpadpad_TAIL +== snap zero grid=90x31 cursor=52,18 +|18: wide.txt 1 short1 END_A_MARKER_WAY_OUT_RIGHT_padp diff --git a/test/snapshots/images.golden b/test/snapshots/images.golden index 7808e7d4..78beceaf 100644 --- a/test/snapshots/images.golden +++ b/test/snapshots/images.golden @@ -1,12 +1,12 @@ == 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 +| /tmp/pardes-snap/images/cwd Del Term+bash /tmp/pardes-snap/images/cwd Del Term+bash | ls ls | pic.ppm pic.ppm | | img petscii:on palette:commodore ascii:on /tmp/pardes-snap/images/cwd/pic -| .ppm Term Collapse Del +| .ppm Del | x🬱\╲🬌\~▄🬥4▟g*🬺🬶_🬆🬻 | >A8🬌Cq&.\H&🬹🬜C▛🬻 | ><e'🬷y🬙▄Fso🬴🬆🬹 @@ -16,7 +16,7 @@ | @🬥🬺v🬆🬻 | g🬷🬆🬻 | 🬆🬻 -| /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/images/cwd Del Term+bash | ls | pic.ppm | @@ -34,7 +34,7 @@ == 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, +|2: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#496656, 77-108 #b2c3b8,#1d2824, 109-149 #d3b0d9,#1d2824, |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, @@ -49,7 +49,7 @@ |14: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 #959595,#6c6c6c, 30-32 #6c6c6c,#959595, 33-33 #959595,#6c5eb5, 34-34 #352879,#6c6c6c, 35-46 #352879,#352879, 47-74 #352879,#0d1410, 75-75 #352879,#608269, 76-149 #352879,#0d1410, |15: 0-0 d,#152019, 1-28 d,#0d1410, 29-30 #6c6c6c,#959595, 31-31 #6c6c6c,#6c5eb5, 32-32 #352879,#6c6c6c, 33-46 #352879,#352879, 47-74 #352879,#0d1410, 75-75 #352879,#608269, 76-149 #352879,#0d1410, |16: 0-0 d,#152019, 1-28 d,#0d1410, 29-29 #6c6c6c,#6c5eb5, 30-30 #352879,#6c6c6c, 31-46 #352879,#352879, 47-74 #352879,#0d1410, 75-75 #352879,#608269, 76-149 #352879,#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, +|17: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-74 #d3b0d9,#1d2824, 75-75 #d3b0d9,#608269, 76-149 #d3b0d9,#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, @@ -88,14 +88,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 +== snap tag-edit grid=400x31 cursor=89,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 -| /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/images/cwd Del Term+bash /tmp/pardes-snap/images/cwd Del Term+bash | ls ls | pic.ppm pic.ppm | -| img petscii:on palette:terminal ascii:off /tmp/pardes-snap/images/cwd/pic.ppm Zork Term Collapse Del +| img petscii:on palette:terminal ascii:off /tmp/pardes-snap/images/cwd/pic.ppm Del Zork | ███╱█🬻██🬺██🬻███╱██🬴▄ | 🬬██╱███╱🬻🬝🬻🬬████🬝🬵█ | █╲█🬴████╲╱█🬝██▟▄█ @@ -106,7 +106,7 @@ | 🬜🬬██🬸▄╲ | 🬺█🬝🬵█ | 🬝▄ -| /tmp/pardes-snap/images/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/images/cwd Del Term+bash | ls | pic.ppm | diff --git a/test/snapshots/jumps.golden b/test/snapshots/jumps.golden index 5ac7f4d8..00725183 100644 --- a/test/snapshots/jumps.golden +++ b/test/snapshots/jumps.golden @@ -1,7 +1,7 @@ == snap start grid=150x31 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/jumps/cwd/big.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/jumps/cwd/big.txt Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -32,7 +32,7 @@ | /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 +|2: /tmp/pardes-snap/jumps/cwd/big.txt Del /tmp/pardes-snap/jumps/cwd Del Term+bash |3: 1 line 1 ls |4: 2 line 2 big.txt |30: /tmp/pardes-snap/jumps/cwd @@ -133,13 +133,13 @@ == snap last-back grid=150x31 cursor=7,16 |30: ✓ @p2 Last 6 messages · SPC h m == snap jumplist grid=150x31 cursor=hidden -|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 -|19: 2 /tmp/pardes-snap/jumps/cwd/big.txt:1:1 line 1 -|20: 3 @p2:3:3 /tmp/pardes-snap/jumps/cwd -|21: 4 /tmp/pardes-snap/jumps/cwd/big.txt:100:1 line 100 -|22: ~ +|16: /tmp/pardes-snap/jumps/cwd/+Jumps Del +|17: 1 @p2:3:3 /tmp/pardes-snap/jumps/cwd +|18: 2 /tmp/pardes-snap/jumps/cwd/big.txt:1:1 line 1 +|19: 3 @p2:3:3 /tmp/pardes-snap/jumps/cwd +|20: 4 /tmp/pardes-snap/jumps/cwd/big.txt:100:1 line 100 +|21: ~ +|22: |23: |24: |25: @@ -152,7 +152,7 @@ == 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, -|2: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-36 #d3b0d9,#1d2824, 37-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#add38a, 77-103 #becfc4,#314738, 104-113 #dfbce5,#314738, 114-149 #becfc4,#314738, +|2: 0-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-36 #d3b0d9,#1d2824, 37-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#add38a, 77-107 #becfc4,#314738, 108-149 #dfbce5,#314738, |3: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |4: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, |5: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, @@ -167,12 +167,12 @@ |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-1 d,#496656, 2-28 #b2c3b8,#1d2824, 29-35 #d3b0d9,#1d2824, 36-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, -|17: 0-1 d,#1d2824, 2-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#608269, 76-149 #b2c3b8,#0d1410, -|18: 0-0 d,#608269, 1-4 d,#0d1410, 5-14 #59675c,#0d1410, 15-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-4 d,#0d1410, 5-45 #59675c,#0d1410, 46-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-4 d,#0d1410, 5-14 #59675c,#0d1410, 15-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-47 #59675c,#0d1410, 48-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, -|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-74 #59675c,#0d1410, 75-75 #59675c,#608269, 76-149 #59675c,#0d1410, +|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-14 #59675c,#0d1410, 15-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-4 d,#0d1410, 5-45 #59675c,#0d1410, 46-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|19: 0-0 d,#608269, 1-4 d,#0d1410, 5-14 #59675c,#0d1410, 15-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-4 d,#0d1410, 5-47 #59675c,#0d1410, 48-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-149 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-74 #59675c,#0d1410, 75-75 #59675c,#608269, 76-149 #59675c,#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, @@ -210,7 +210,4 @@ |14: 105 line 105 |15: 106 line 106 == snap step-back grid=150x31 cursor=79,5 -== snap look-row grid=150x31 cursor=7,23 -|22: /tmp/pardes-snap/jumps/cwd/ Get Term Collapse Del -|23: 1 big.txt -|24: ~ +== snap look-row grid=150x31 cursor=7,9 diff --git a/test/snapshots/layout-close.golden b/test/snapshots/layout-close.golden index dfdd7f4d..30318987 100644 --- a/test/snapshots/layout-close.golden +++ b/test/snapshots/layout-close.golden @@ -1,13 +1,11 @@ -== snap built grid=140x41 cursor=4,35 +== snap built grid=140x41 cursor=4,32 | 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 -| e Del e Del +| /tmp/pardes-snap/layout-close/cwd Del Term+bash /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls ls | marker.txt marker.txt | -| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps -| e Del +| /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls | marker.txt | @@ -20,18 +18,17 @@ | | | -| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps -| e Del +| +| +| /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls | marker.txt | -| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps -| e Del +| /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls | marker.txt | -| /tmp/pardes-snap/layout-close/cwd Term+bash Save Mode Filter Collaps -| e Del +| /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls | marker.txt | @@ -39,48 +36,43 @@ | | | +| +| +| | /tmp/pardes-snap/layout-close/cwd -== snap altc grid=140x41 cursor=39,7 +== snap altc grid=140x41 cursor=39,6 |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 -|3: Term+bash Save Mode Filter Colla Term+bash Save Mode Filter Colla e Del -|4: pse Del pse Del ls -|5: marker.txt ls marker.txt -|6: marker.txt -|7: /tmp/pardes-snap/layout-close/cwd -|8: Term+bash Save Mode Filter Colla -|9: pse Del -|10: ls -|11: marker.txt +|2: /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd Del Term+bash +|3: Del Term+bash Del Term+bash ls +|4: marker.txt ls marker.txt +|5: marker.txt +|6: /tmp/pardes-snap/layout-close/cwd +|7: Del Term+bash +|8: ls +|9: 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 +|22: Del Term+bash +|25: /tmp/pardes-snap/layout-close/cwd +|26: Del Term+bash +|27: ls +|28: marker.txt +|29: +|30: |31: -|32: -|33: -|34: == snap del grid=140x41 cursor=4,9 -|5: ls ls marker.txt -|6: marker.txt marker.txt +|4: ls ls marker.txt +|5: marker.txt marker.txt +|6: |7: |8: |9: -|10: -|11: |40: ✓ @p5 Del 1 message · SPC h m == snap exit grid=140x41 cursor=4,9 |21: |22: |23: -|24: == 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 -|4: pse Del ls -|5: ls marker.txt -|6: marker.txt +|2: /tmp/pardes-snap/layout-close/cwd /tmp/pardes-snap/layout-close/cwd Del Term+bash +|3: Del Term+bash ls +|4: ls marker.txt +|5: marker.txt diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index 45f05c4e..1a9d869f 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -1,12 +1,12 @@ == 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 -| Mode Filter Collapse Del Mode Filter Collapse Del +| /tmp/pardes-snap/layout-open/cwd Del Term+bash /tmp/pardes-snap/layout-open/cwd Del Term+bash | ls ls | sub sub | | +| | echo one; echo two | | @@ -16,8 +16,7 @@ | | | -| /tmp/pardes-snap/layout-open/cwd Term+bash Save -| Mode Filter Collapse Del +| /tmp/pardes-snap/layout-open/cwd Del Term+bash | ls | sub | @@ -30,26 +29,24 @@ | | | +| | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program dr… 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=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=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 altn-left grid=100x32 cursor=4,9 +|6: /tmp/pardes-snap/layout-open/cwd Del Term+bash +|7: ls +|8: sub +== snap altn-right grid=100x32 cursor=54,9 +|6: /tmp/pardes-snap/layout-open/cwd Del Term+bash /tmp/pardes-snap/layout-open/cwd Del Term+bash +|7: ls ls +|8: sub sub +== snap file-open grid=100x32 cursor=7,22 +|21: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Del +|22: 1 echo 'TTY'OK |31: · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program d… 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 +== snap ttydir grid=100x32 cursor=7,22 +|19: sub /tmp/pardes-snap/layout-open/cwd/sub (echo 'TTY' +|20: OK) exit 0 Del +|21: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Del % echo 'TTY'OK +|22: 1 echo 'TTY'OK TTYOK +|23: 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 5630219a..6b8bc8fd 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -45,16 +45,16 @@ |3: 1 Help Help h Help t Help c Help l |4: == snap abandoned grid=100x41 cursor=7,3 -|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Save Term Collapse Follow Del +|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del == snap unmapped grid=100x41 cursor=hidden |2: ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume |3: │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace |4: │ w Window y ClipYank Y ClipYankMain x ↓ unroll · ? help == snap help-group grid=100x41 cursor=7,6 -|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Save Term Collapse Follow Del +|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del |3: 1 Help Help h Help t Help c Help l |4: -|5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|5: /tmp/pardes-snap/leader/cwd/+Help Del |6: 1 pardes builtins under SPC h |7: 2 |8: 3 SPC h b Build @@ -83,7 +83,7 @@ |31: ~ |40: ✓ /tmp/pardes-snap/leader/cwd/cmds.txt Help 4 messages · SPC h m == snap tutor grid=100x41 cursor=7,23 -|22: /tmp/pardes-snap/leader/cwd/+Tutor Keep Save Term Collapse Follow Del +|22: /tmp/pardes-snap/leader/cwd/+Tutor Keep Del |23: 1 |24: 2 PARDES TUTOR |25: 3 @@ -121,7 +121,7 @@ |20: |21: |22: -|23: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|23: /tmp/pardes-snap/leader/cwd/+Help Del |24: 1 pardes builtins under SPC h |25: 2 |26: 3 SPC h b Build @@ -140,7 +140,7 @@ |39: is bound to is shown struck, `runs nothing`. Esc leaves it. |40: ✓ /tmp/pardes-snap/leader/cwd/+Tutor Del 6 messages · SPC h m == snap help-column grid=100x41 cursor=7,6 -|5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|5: /tmp/pardes-snap/leader/cwd/+Help Del |6: 1 pardes builtins under SPC c |7: 2 |8: 3 SPC c d Delcol diff --git a/test/snapshots/load.golden b/test/snapshots/load.golden index bb28bbfe..87366d0a 100644 --- a/test/snapshots/load.golden +++ b/test/snapshots/load.golden @@ -1,12 +1,12 @@ == 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 -| 29 ls -| 30 d.txt -| 31 -| 32 ── restored history ── +| /tmp/pardes-snap/load/cwd Del Term+bash /tmp/pardes-snap/load/cwd Del Term+bash +| 28 ls +| 29 d.txt +| 30 +| 31 ── restored history ── +| 32 | 33 | 34 | 35 @@ -15,8 +15,7 @@ | 38 | 39 | 40 -| /tmp/pardes-snap/load/cwd Term+bash Save Mode Fi -| lter Collapse Del +| /tmp/pardes-snap/load/cwd Del Term+bash | ls | d.txt | @@ -29,30 +28,31 @@ | | | +| | ✓ @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, +|2: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-81 #b2c3b8,#1d2824, 82-99 #d3b0d9,#1d2824, +|3: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-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, +|6: 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, +|7: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |8: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |9: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |10: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|11: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|11: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |12: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |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, +|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,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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, +|16: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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-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, +|19: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|20: 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, +|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, |24: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, diff --git a/test/snapshots/logquiet.golden b/test/snapshots/logquiet.golden index 6ec9e6e6..37c889a4 100644 --- a/test/snapshots/logquiet.golden +++ b/test/snapshots/logquiet.golden @@ -1,7 +1,7 @@ == snap quiet grid=100x31 cursor=62,5 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/logquiet/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/logquiet/cwd Del Term+bash | $ 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 diff --git a/test/snapshots/look-center.golden b/test/snapshots/look-center.golden index f3b7aee6..08ab1146 100644 --- a/test/snapshots/look-center.golden +++ b/test/snapshots/look-center.golden @@ -1,7 +1,7 @@ == 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 +| /tmp/pardes-snap/look-center/cwd Del Term+bash /tmp/pardes-snap/look-center/cwd Del Term+bash | ls ls | big.txt big.txt | @@ -15,11 +15,11 @@ | | | -| /tmp/pardes-snap/look-center/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/look-center/cwd Del Term+bash | ls | big.txt | -| /tmp/pardes-snap/look-center/cwd/big.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/look-center/cwd/big.txt Del | 96 line 96 | 97 line 97 | 98 line 98 diff --git a/test/snapshots/look-fd-deep.golden b/test/snapshots/look-fd-deep.golden index 37fa9fe1..1673c345 100644 --- a/test/snapshots/look-fd-deep.golden +++ b/test/snapshots/look-fd-deep.golden @@ -1,7 +1,7 @@ == snap listed grid=100x31 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/look-fd-deep/cwd/a Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/look-fd-deep/cwd/a Del Term+bash | $ exec timeout --foreground 600 bash -i | $ cd a && ls && fd | b top.txt @@ -20,7 +20,7 @@ | | | -| /tmp/pardes-snap/look-fd-deep/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/look-fd-deep/cwd/+New Del | 1 | | @@ -31,10 +31,10 @@ | | /tmp/pardes-snap/look-fd-deep/cwd/a == snap fd-path-looked grid=100x31 cursor=7,22 -|21: ‹@p1 › /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt Keep Save Term Collapse Follow Del +|21: ‹@p1 › /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt Keep Del |22: 1 deep-marker |30: /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt:1 == snap ls-name-looked grid=100x31 cursor=7,22 -|21: ‹@p1 › c.txt:1 › /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt Keep Save Term Collapse Follow Del +|21: ‹@p1 › c.txt:1 › /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt Keep Del |22: 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 76f06237..a3c44f8d 100644 --- a/test/snapshots/look-file-1col.golden +++ b/test/snapshots/look-file-1col.golden @@ -1,7 +1,7 @@ == snap file-open-1col grid=100x31 cursor=14,23 | 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 +| /tmp/pardes-snap/look-file-1col/cwd Del Term+bash | ls | big.txt | @@ -15,7 +15,7 @@ | | | -| ‹@p1 › /tmp/pardes-snap/look-file-1col/cwd/big.txt Keep Save Term Collapse Follow Del +| ‹@p1 › /tmp/pardes-snap/look-file-1col/cwd/big.txt Keep Del | 34 line 34 | 35 line 35 | 36 line 36 diff --git a/test/snapshots/look-file.golden b/test/snapshots/look-file.golden index c6a703c4..a8eae029 100644 --- a/test/snapshots/look-file.golden +++ b/test/snapshots/look-file.golden @@ -1,7 +1,7 @@ -== snap file-open grid=150x31 cursor=89,24 +== snap file-open grid=150x31 cursor=89,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/look-file/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/look-file/cwd Del Term+bash /tmp/pardes-snap/look-file/cwd Del Term+bash | ls ls | big.txt big.txt | @@ -15,10 +15,9 @@ | | | -| /tmp/pardes-snap/look-file/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/look-file/cwd/big.txt Keep Save Term Collapse Fol -| ls low Del -| big.txt 34 line 34 -| 35 line 35 +| /tmp/pardes-snap/look-file/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/look-file/cwd/big.txt Keep Del +| ls 34 line 34 +| big.txt 35 line 35 | 36 line 36 | 37 line 37 | 38 line 38 @@ -29,11 +28,12 @@ | 43 line 43 | 44 line 44 | 45 line 45 +| 46 line 46 | · @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 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, -|2: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#496656, 77-107 #b2c3b8,#1d2824, 108-117 #d3b0d9,#1d2824, 118-149 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-36 #b2c3b8,#1d2824, 37-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#496656, 77-111 #b2c3b8,#1d2824, 112-149 #d3b0d9,#1d2824, |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, @@ -47,15 +47,15 @@ |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-76 #b2c3b8,#add38a, 77-114 #becfc4,#2c2c0f, 115-122 #dfbce5,#2c2c0f, 123-149 #becfc4,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-76 #e5eee5,#2c2c0f, 77-149 #becfc4,#2c2c0f, +|16: 0-1 d,#496656, 2-36 #b2c3b8,#1d2824, 37-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#add38a, 77-114 #becfc4,#2c2c0f, 115-122 #dfbce5,#2c2c0f, 123-149 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#152019, 76-78 #e5eee5,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#152019, 76-78 #e5eee5,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-78 d,#0d1410,b 79-81 #616f64,#0d1410,b 82-89 #f5f7ee,#3c614a, 90-149 #f5f7ee,#0d1410, +|23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-76 d,#0d1410, 77-78 d,#0d1410,b 79-81 #616f64,#0d1410,b 82-89 #f5f7ee,#3c614a, 90-149 #f5f7ee,#0d1410, +|24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, diff --git a/test/snapshots/lookloaded.golden b/test/snapshots/lookloaded.golden index b406d639..8be48db1 100644 --- a/test/snapshots/lookloaded.golden +++ b/test/snapshots/lookloaded.golden @@ -1,12 +1,12 @@ -== snap file-open grid=100x31 cursor=14,27 +== snap file-open grid=100x31 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/lookloaded/cwd Term+bash Save M /tmp/pardes-snap/lookloaded/cwd Term+bash Save M -| ode Filter Collapse Del ode Filter Collapse Del +| /tmp/pardes-snap/lookloaded/cwd Del Term+bash /tmp/pardes-snap/lookloaded/cwd Del Term+bash | ls ls | big.txt big.txt | | +| | big.txt:40 big.txt:10 | | @@ -15,13 +15,11 @@ | | | -| /tmp/pardes-snap/lookloaded/cwd Term+bash Save M -| ode Filter Collapse Del +| /tmp/pardes-snap/lookloaded/cwd Del Term+bash | ls | big.txt | -| /tmp/pardes-snap/lookloaded/cwd/big.txt Save Ter -| m Collapse Follow Del +| /tmp/pardes-snap/lookloaded/cwd/big.txt Del | 36 line 36 | 37 line 37 | 38 line 38 @@ -29,14 +27,26 @@ | 40 line 40 | 41 line 41 | 42 line 42 +| 43 line 43 +| 44 line 44 | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program dr… 1 message · SPC h m -== snap removed grid=100x31 cursor=54,8 -|6: rm big.txt; echo GO''NE -|7: GONE -|21: */tmp/pardes-snap/lookloaded/cwd/big.txt Save Ter +== snap removed grid=100x31 cursor=54,7 +|5: rm big.txt; echo GO''NE +|6: GONE +|20: */tmp/pardes-snap/lookloaded/cwd/big.txt Save Del +|21: +|22: 36 line 36 +|23: 37 line 37 +|24: 38 line 38 +|25: 39 line 39 +|26: 40 line 40 +|27: 41 line 41 +|28: 42 line 42 +|29: 43 line 43 |30: · …ardes-snap/lookloaded/cwd/big.txt deleted on disk (Save writes it again) 2 messages · SPC h m == snap look-noFS grid=100x31 cursor=14,26 |8: big.txt:40 big.txt:10 big.txt:10 +|22: 6 line 6 |23: 7 line 7 |24: 8 line 8 |25: 9 line 9 diff --git a/test/snapshots/lookpanes.golden b/test/snapshots/lookpanes.golden index 0f1e38a6..194d473e 100644 --- a/test/snapshots/lookpanes.golden +++ b/test/snapshots/lookpanes.golden @@ -1,12 +1,11 @@ -== snap shells grid=130x51 cursor=122,4 +== snap shells grid=130x51 cursor=122,3 | 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/lookpanes/cwd/beta/bmark.txt Keep Save Term Co /tmp/pardes-snap/lookpanes/cwd Term+bash Save Mode Filter Colla -| llapse Follow Del pse Del +| /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Keep Del /tmp/pardes-snap/lookpanes/cwd Del Term+bash | 1 both.txt ls zqonly.txt pick.txt twin.txt | 2 b-marker alpha beta zzboot.txt | -| /tmp/pardes-snap/lookpanes/cwd/alpha/ Get Term Collapse Del +| /tmp/pardes-snap/lookpanes/cwd/alpha/ Get Del | 1 amark.txt pick.txt zqonly.txt | 2 both.txt twin.txt | ~ @@ -49,36 +48,35 @@ | | | +| | · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b t… 1 message · SPC h m -== snap other-dir grid=130x51 cursor=7,29 -|27: ‹@p2 › /tmp/pardes-snap/lookpanes/cwd/alpha/zqonly.txt Keep Sav -|28: e Term Collapse Follow Del -|29: 1 ONLY-IN-ALPHA +== snap other-dir grid=130x51 cursor=7,28 +|26: ‹@p2 › /tmp/pardes-snap/lookpanes/cwd/alpha/zqonly.txt Keep Del +|28: 1 ONLY-IN-ALPHA == snap clicked-wins grid=130x51 cursor=7,4 -|2: bmark.txt:1 › /tmp/pardes-snap/lookpanes/cwd/beta/both.txt Keep /tmp/pardes-snap/lookpanes/cwd Term+bash Save Mode Filter Colla -|3: Save Term Collapse Follow Del pse Del -|4: 1 BOTH-FROM-BETA ls zqonly.txt pick.txt twin.txt -|5: alpha beta zzboot.txt -== snap mru-alpha grid=130x51 cursor=7,29 -|27: ‹@p2 › zqonly.txt:1 › /tmp/pardes-snap/lookpanes/cwd/alpha/pick -|28: .txt Keep Save Term Collapse Follow Del -|29: 1 PICK-FROM-ALPHA -== snap mru-beta grid=130x51 cursor=7,29 -|27: ‹@p2 › zqonly.txt:1 › pick.txt:1 › /tmp/pardes-snap/lookpanes/c -|28: wd/beta/twin.txt Keep Save Term Collapse Follow Del -|29: 1 TWIN-FROM-BETA +|2: bmark.txt:1 › /tmp/pardes-snap/lookpanes/cwd/beta/both.txt Keep /tmp/pardes-snap/lookpanes/cwd Del Term+bash +|3: Del ls zqonly.txt pick.txt twin.txt +|4: 1 BOTH-FROM-BETA alpha beta zzboot.txt +== snap mru-alpha grid=130x51 cursor=7,28 +|26: ‹@p2 › zqonly.txt:1 › /tmp/pardes-snap/lookpanes/cwd/alpha/pick +|27: .txt Keep Del +|28: 1 PICK-FROM-ALPHA +== snap mru-beta grid=130x51 cursor=7,28 +|26: ‹@p2 › +1 › pick.txt:1 › /tmp/pardes-snap/lookpanes/cwd/beta/tw +|27: in.txt Keep Del +|28: 1 TWIN-FROM-BETA == style mru-beta grid=130x51 |0: 0-1 d,#1d2824, 2-129 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-64 #becfc4,#314738, 65-66 #becfc4,#887455, 67-129 #b2c3b8,#1d2824, -|2: 0-1 d,#496656, 2-51 #b2c3b8,#2c2c0f, 52-60 #d3b0d9,#2c2c0f, 61-64 #b2c3b8,#2c2c0f, 65-66 #b2c3b8,#496656, 67-97 #b2c3b8,#1d2824, 98-107 #d3b0d9,#1d2824, 108-129 #b2c3b8,#1d2824, -|3: 0-2 d,#2c2c0f, 3-64 #b2c3b8,#2c2c0f, 65-129 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-51 #b2c3b8,#2c2c0f, 52-60 #d3b0d9,#2c2c0f, 61-64 #b2c3b8,#2c2c0f, 65-66 #b2c3b8,#496656, 67-101 #b2c3b8,#1d2824, 102-129 #d3b0d9,#1d2824, +|3: 0-2 d,#2c2c0f, 3-64 #b2c3b8,#2c2c0f, 65-65 #b2c3b8,#608269, 66-66 #b2c3b8,#0d1410, 67-129 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-64 #e5eee5,#0d1410, 65-65 #e5eee5,#608269, 66-129 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-66 d,#0d1410, 67-129 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, -|7: 0-0 d,#608269, 1-64 d,#0d1410, 65-66 d,#496656, 67-129 #b2c3b8,#1d2824, +|5: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, +|6: 0-0 d,#608269, 1-64 d,#0d1410, 65-66 d,#496656, 67-129 #b2c3b8,#1d2824, +|7: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-69 d,#0d1410, 70-71 #59675c,#0d1410, 72-129 #e5eee5,#0d1410, |8: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-69 d,#0d1410, 70-71 #59675c,#0d1410, 72-129 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-69 d,#0d1410, 70-71 #59675c,#0d1410, 72-129 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-69 d,#0d1410, 70-129 #59675c,#0d1410, +|9: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-69 d,#0d1410, 70-129 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |11: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |12: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |13: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, @@ -94,10 +92,10 @@ |23: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |24: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |25: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, -|26: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, -|27: 0-1 d,#add38a, 2-64 #becfc4,#2c2c0f, 65-65 #becfc4,#608269, 66-129 #becfc4,#0d1410, -|28: 0-1 d,#2c2c0f, 2-9 #becfc4,#2c2c0f, 10-18 #dfbce5,#2c2c0f, 19-64 #becfc4,#2c2c0f, 65-65 #becfc4,#608269, 66-129 #becfc4,#0d1410, -|29: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-64 #e5eee5,#0d1410, 65-65 #e5eee5,#608269, 66-129 #e5eee5,#0d1410, +|26: 0-1 d,#add38a, 2-8 #becfc4,#2c2c0f, 9-11 #79836f,#2c2c0f, 12-62 #becfc4,#2c2c0f, 63-64 #dfbce5,#2c2c0f, 65-65 #dfbce5,#608269, 66-129 #dfbce5,#0d1410, +|27: 0-1 d,#2c2c0f, 2-8 #dfbce5,#2c2c0f, 9-64 #becfc4,#2c2c0f, 65-65 #becfc4,#608269, 66-129 #becfc4,#0d1410, +|28: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-64 #e5eee5,#0d1410, 65-65 #e5eee5,#608269, 66-129 #e5eee5,#0d1410, +|29: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |30: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |31: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, |32: 0-0 d,#608269, 1-64 d,#0d1410, 65-65 d,#608269, 66-129 d,#0d1410, diff --git a/test/snapshots/lookrange.golden b/test/snapshots/lookrange.golden index 47b8b065..1eadcfc7 100644 --- a/test/snapshots/lookrange.golden +++ b/test/snapshots/lookrange.golden @@ -1,7 +1,7 @@ == snap opened grid=150x31 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/lookrange/cwd/look.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/lookrange/cwd/look.txt Del | 1 r.txt:3-5 | 2 r.txt:7:4-9 | 3 r.txt:3:2-5:3 @@ -31,7 +31,7 @@ | | /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 +|7: /tmp/pardes-snap/lookrange/cwd/r.txt Del |8: 1 aaaa |9: 2 bbbb |10: 3 cccc dccc @@ -97,7 +97,7 @@ |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 -|7: /NEEDLE/ 2/2 › /tmp/pardes-snap/lookrange/cwd/r.txt Save Term Collapse Follow Del +|7: /NEEDLE/ 2/2 › /tmp/pardes-snap/lookrange/cwd/r.txt Del |30: /tmp/pardes-snap/lookrange/cwd/r.txt:8 == style hit1 grid=150x31 |7: 0-1 d,#add38a, 2-13 #bada9d,#314738,u 14-14 #bada9d,#314738, 15-47 #becfc4,#314738, 48-53 #dfbce5,#314738, 54-149 #becfc4,#314738, @@ -107,7 +107,7 @@ |22: 0-0 d,#5e4923, 1-149 d,#0d1410, |25: 0-0 d,#e5eee5, 1-149 d,#0d1410, == snap hit2 grid=150x31 cursor=15,14 -|7: /NEEDLE/ 1/2 ↻ › /tmp/pardes-snap/lookrange/cwd/r.txt Save Term Collapse Follow Del +|7: /NEEDLE/ 1/2 ↻ › /tmp/pardes-snap/lookrange/cwd/r.txt Del |30: · /tmp/pardes-snap/lookrange/cwd/r.txt /NEEDLE/ 1/2 ↻ · line 7 1 message · SPC h m == style hit2 grid=150x31 |7: 0-1 d,#add38a, 2-15 #bada9d,#314738,u 16-16 #bada9d,#314738, 17-49 #becfc4,#314738, 50-55 #dfbce5,#314738, 56-149 #becfc4,#314738, @@ -117,7 +117,7 @@ |25: 0-0 d,#5e4923, 1-149 d,#0d1410, |30: 0-1 d,#1d2824, 2-149 #6f7d75,#1d2824, == snap back grid=150x31 cursor=17,15 -|7: /NEEDLE/ 2/2 ↻ › /tmp/pardes-snap/lookrange/cwd/r.txt Save Term Collapse Follow Del +|7: /NEEDLE/ 2/2 ↻ › /tmp/pardes-snap/lookrange/cwd/r.txt Del |30: · /tmp/pardes-snap/lookrange/cwd/r.txt /NEEDLE/ 2/2 ↻ · line 8 2 messages · SPC h m == style back grid=150x31 |14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #e5eee5,#0d1410, 10-15 #e5eee5,#5e4923, 16-149 #e5eee5,#0d1410, diff --git a/test/snapshots/lsp-client-edit.golden b/test/snapshots/lsp-client-edit.golden index 64891d59..1e277de5 100644 --- a/test/snapshots/lsp-client-edit.golden +++ b/test/snapshots/lsp-client-edit.golden @@ -1,7 +1,7 @@ == snap formatted grid=100x25 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/lsp-client-edit/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del +| */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del | 1 // formatted by mock | 2 mod lib; | 3 @@ -25,7 +25,7 @@ | | · /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 +|2: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del |3: 1 mod lib; |4: 2 |5: 3 fn main() { @@ -36,11 +36,11 @@ |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 +|2: */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del |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 +|2: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del |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 26a7289e..701f53f3 100644 --- a/test/snapshots/lsp-client.golden +++ b/test/snapshots/lsp-client.golden @@ -1,8 +1,7 @@ -== snap gd-jumped grid=100x25 cursor=16,5 +== snap gd-jumped grid=100x25 cursor=16,4 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| main.rs:3 › /tmp/pardes-snap/lsp-client/cwd/lib.rs Keep Save Term Collapse Follow TreeContext Def -| Refs Del +| main.rs:3 › /tmp/pardes-snap/lsp-client/cwd/lib.rs Keep Del | 1 // mock fixture | 2 pub fn add(a: i32, b: i32) -> i32 { | 3 a + b @@ -23,29 +22,30 @@ | | | +| | /tmp/pardes-snap/lsp-client/cwd/lib.rs:2 -== snap gr-list grid=100x25 cursor=2,9 -|6: +Search 1/3 Del -|7: Refs -|8: lib.rs -|9: lib.rs:2:8 pub fn add(a: i32, b: i32) -> i32 { -|10: main.rs -|11: main.rs:4:13 let x = add(1, 2); -|12: main.rs:5:13 let y = add(3, 4); +== snap gr-list grid=100x25 cursor=2,8 +|5: +Search 1/3 Del +|6: Refs +|7: lib.rs +|8: lib.rs:2:8 pub fn add(a: i32, b: i32) -> i32 { +|9: main.rs +|10: main.rs:4:13 let x = add(1, 2); +|11: main.rs:5:13 let y = add(3, 4); |15: /tmp/pardes-snap/lsp-client/cwd/+Preview Del |16: 1 |24: /tmp/pardes-snap/lsp-client/cwd/+Search:3 -== snap gr-opened grid=100x25 cursor=21,20 -|6: +Search 2/3 Save Undock Del -|15: ‹@p3 › /tmp/pardes-snap/lsp-client/cwd/main.rs Keep Save Term Collapse Follow TreeContext Def Refs -|16: Del -|17: 1 mod lib; -|18: 2 -|19: 3 fn main() { -|20: 4 let x = add(1, 2); -|21: 5 let y = add(3, 4); -|22: 6 let _ = x + y; -|23: 7 } +== snap gr-opened grid=100x25 cursor=21,19 +|5: +Search 2/3 Save Undock Del +|15: ‹@p3 › /tmp/pardes-snap/lsp-client/cwd/main.rs Keep Del +|16: 1 mod lib; +|17: 2 +|18: 3 fn main() { +|19: 4 let x = add(1, 2); +|20: 5 let y = add(3, 4); +|21: 6 let _ = x + y; +|22: 7 } +|23: ~ |24: /tmp/pardes-snap/lsp-client/cwd/main.rs:4 -== snap gr-back grid=100x25 cursor=21,21 +== snap gr-back grid=100x25 cursor=21,20 |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 95b1ca1e..f25decf5 100644 --- a/test/snapshots/lsp-rename-files.golden +++ b/test/snapshots/lsp-rename-files.golden @@ -1,12 +1,12 @@ == snap opened grid=100x25 cursor=7,8 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/lsp-rename-files/cwd/lib.rs Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/lsp-rename-files/cwd/lib.rs Del | 1 // main.rs | 2 pub fn add(a: i32, b: i32) -> i32 { | 3 a + b | 4 } -| /tmp/pardes-snap/lsp-rename-files/cwd/main.rs Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/lsp-rename-files/cwd/main.rs Del | 1 mod lib; | 2 | 3 fn main() { @@ -25,7 +25,7 @@ | | /tmp/pardes-snap/lsp-rename-files/cwd/main.rs:1 == snap previewed grid=100x25 cursor=14,4 -|15: /tmp/pardes-snap/lsp-rename-files/cwd/+Search Save Term Collapse Follow LocationsConfig Del +|15: /tmp/pardes-snap/lsp-rename-files/cwd/+Search Del |16: 1 lib.rs:2:8-10 |17: 2 sum |18: 3 main.rs:4:13-15 diff --git a/test/snapshots/lsp-rename.golden b/test/snapshots/lsp-rename.golden index b772114c..96112a30 100644 --- a/test/snapshots/lsp-rename.golden +++ b/test/snapshots/lsp-rename.golden @@ -1,7 +1,7 @@ == snap renamed grid=110x25 cursor=17,10 | 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 +| */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Undo Del | 1 const std = @import("std"); | 2 | 3 fn renamed_helper(x: u32) u32 { @@ -25,10 +25,10 @@ | | · /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 +|2: /tmp/pardes-snap/lsp-rename/cwd/rename.zig Redo Del |5: 3 fn helper(x: u32) u32 { |10: 8 _ = helper(41); == snap redone grid=110x25 cursor=17,10 -|2: */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Term Collapse Follow TreeContext Def Refs Del +|2: */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Undo Del |5: 3 fn renamed_helper(x: u32) u32 { |10: 8 _ = renamed_helper(41); diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index c680700d..92cd2009 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -1,7 +1,7 @@ == snap opened grid=120x41 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/lsp/cwd/a.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/lsp/cwd/a.zig Keep Del | 1 const std = @import("std"); | 2 | 3 fn helper(x: u32) u32 { @@ -43,7 +43,7 @@ == snap cursor grid=120x41 cursor=17,10 |40: /tmp/pardes-snap/lsp/cwd/a.zig:8 == snap definition grid=120x41 cursor=15,5 -|2: a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +|2: a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Del |40: /tmp/pardes-snap/lsp/cwd/a.zig:3 == snap hover grid=120x41 cursor=15,5 |6: fn helper(x: u32) u32 diff --git a/test/snapshots/lspcomplete.golden b/test/snapshots/lspcomplete.golden index da700171..d4a9c4e6 100644 --- a/test/snapshots/lspcomplete.golden +++ b/test/snapshots/lspcomplete.golden @@ -1,7 +1,7 @@ == snap opened grid=120x41 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/lspcomplete/cwd/a.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/lspcomplete/cwd/a.zig Keep Del | 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, @@ -41,7 +41,7 @@ | | /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 +|2: ^*/tmp/pardes-snap/lspcomplete/cwd/a.zig Save Undo Del |12: 10 } |40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:10 == snap commentindent grid=120x41 cursor=19,14 @@ -51,17 +51,17 @@ |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 +|15: /tmp/pardes-snap/lspcomplete/cwd/+Search Del |16: 1 a.zig:8:10 verdigris |17: 2 a.zig:8:10 cinnabar |18: ~ == snap refill grid=120x41 cursor=16,10 == snap step grid=120x41 cursor=16,10 -|2: */tmp/pardes-snap/lspcomplete/cwd/a.zig Save Term Collapse Follow TreeContext Def Refs Del +|2: */tmp/pardes-snap/lspcomplete/cwd/a.zig Save Undo Del == snap txtindent grid=120x41 cursor=15,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|^*/tmp/pardes-snap/lspcomplete/cwd/notes.txt Save Term Collapse Follow Del +|^*/tmp/pardes-snap/lspcomplete/cwd/notes.txt Save Undo Del | 1 abc. def ghi | ~ | @@ -103,7 +103,7 @@ == 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 +|^*/tmp/pardes-snap/lspcomplete/cwd/c.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, @@ -111,7 +111,7 @@ | 5 | 6 pub fn nosemi() void { | 7 const z: Shade = . -| /tmp/pardes-snap/lspcomplete/cwd/+Search Save Term Collapse Follow Del +| /tmp/pardes-snap/lspcomplete/cwd/+Search Del | 1 c.zig:7:23 verdigris Shade | 2 c.zig:7:23 cinnabar Shade | ~ @@ -123,7 +123,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 +|^*/tmp/pardes-snap/lspcomplete/cwd/d.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, @@ -131,7 +131,7 @@ | 5 | 6 pub fn nobrace(s: Shade) void { | 7 switch (s) { -| /tmp/pardes-snap/lspcomplete/cwd/+Search Save Term Collapse Follow Del +| /tmp/pardes-snap/lspcomplete/cwd/+Search Del | 1 d.zig:8:10 verdigris | 2 d.zig:8:10 cinnabar | ~ diff --git a/test/snapshots/lspcompletemoved.golden b/test/snapshots/lspcompletemoved.golden index 00f0ee0f..0b41ede4 100644 --- a/test/snapshots/lspcompletemoved.golden +++ b/test/snapshots/lspcompletemoved.golden @@ -1,7 +1,7 @@ == snap typedthrough grid=120x21 cursor=16,14 | 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 +|^*/tmp/pardes-snap/lspcompletemoved/cwd/a.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, | 3 cinnabar, diff --git a/test/snapshots/lspdebug.golden b/test/snapshots/lspdebug.golden index 3d297c71..1c7106cb 100644 --- a/test/snapshots/lspdebug.golden +++ b/test/snapshots/lspdebug.golden @@ -1,7 +1,7 @@ == snap opened grid=120x45 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/lspdebug/cwd/z.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +| /tmp/pardes-snap/lspdebug/cwd/z.zig Keep Del | 1 const std = @import("std"); | 2 | 3 fn helper() u32 { @@ -45,7 +45,7 @@ | | /tmp/pardes-snap/lspdebug/cwd/z.zig:1 == snap ctrlclick grid=120x45 cursor=15,5 -|2: z.zig:8 › /tmp/pardes-snap/lspdebug/cwd/z.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +|2: z.zig:8 › /tmp/pardes-snap/lspdebug/cwd/z.zig Keep Del |44: /tmp/pardes-snap/lspdebug/cwd/z.zig:3 == snap plainclick grid=120x45 cursor=21,10 |44: /tmp/pardes-snap/lspdebug/cwd/z.zig:8 diff --git a/test/snapshots/lsprelpath.golden b/test/snapshots/lsprelpath.golden index bd2dc172..e297c0ec 100644 --- a/test/snapshots/lsprelpath.golden +++ b/test/snapshots/lsprelpath.golden @@ -1,7 +1,7 @@ == 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 +| /tmp/pardes-snap/lsprelpath/cwd/sub/parent.zig Del | 1 const shade = @import("../shade.zig"); | 2 | 3 pub fn pick(s: shade.Shade) u8 { @@ -36,7 +36,7 @@ | /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 +|25: /tmp/pardes-snap/lsprelpath/cwd/shade.zig Del |26: 1 pub const Shade = enum { |27: 2 verdigris, |28: 3 cinnabar, @@ -82,7 +82,7 @@ == 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 +| /tmp/pardes-snap/lsprelpath/cwd/sub/subdir.zig Del | 1 const tint = @import("inner/tint.zig"); | 2 | 3 pub fn hue(t: tint.Tint) u8 { @@ -115,15 +115,14 @@ | | | /tmp/pardes-snap/lsprelpath/cwd/sub/+Search:5 -== snap sublook grid=100x35 cursor=20,27 +== snap sublook grid=100x35 cursor=20,26 |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: ~ +|25: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig Del +|26: 1 pub const Tint = enum { +|27: 2 ochre, +|28: 3 indigo, +|29: 4 }; +|30: ~ |34: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig:1 == style sublook grid=100x35 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, @@ -152,12 +151,12 @@ |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#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, +|26: 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, +|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-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/markup.golden b/test/snapshots/markup.golden index f3383ab0..567a03a5 100644 --- a/test/snapshots/markup.golden +++ b/test/snapshots/markup.golden @@ -1,7 +1,7 @@ == snap typst grid=92x25 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/markup/cwd/paper.typ Keep Save Term Collapse Follow TreeContext Del +| /tmp/pardes-snap/markup/cwd/paper.typ Keep Del | 1 = Typst heading | 2 | 3 Prose with *bold* and _italic_ words, a `raw` span, @@ -53,7 +53,7 @@ == 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 -| /tmp/pardes-snap/markup/cwd/notes.md Keep Save Term Collapse Follow TreeContext Del +| /tmp/pardes-snap/markup/cwd/notes.md Keep Del | 1 # Markdown heading with *italic* | 2 | 3 Prose with **bold**, *italic* and an `inline` span. diff --git a/test/snapshots/mini.golden b/test/snapshots/mini.golden index e8f63a82..e45793af 100644 --- a/test/snapshots/mini.golden +++ b/test/snapshots/mini.golden @@ -1,10 +1,10 @@ == snap opened grid=90x23 cursor=7,6 | 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 Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/mini/cwd/commands.txt Keep Del | 1 @`Mini demo.zig` | -| /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del +| /tmp/pardes-snap/mini/cwd/Mini demo.zig Del | 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ | 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ | 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ @@ -51,14 +51,14 @@ @0: 0-84 #b2c3b8,#1d2824,,tagline 85-89 d,#1d2824,,tagline |1: New Term Find Grep Joincol Delcol @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-89 d,#314738,,tagline -|2: /tmp/pardes-snap/mini/cwd/commands.txt Keep Save Term Collapse Follow Del -@2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#2c2c0f,,tagline 28-39 #d3b0d9,#2c2c0f,,tagline 40-74 #b2c3b8,#2c2c0f,,tagline 75-89 d,#2c2c0f,,tagline +|2: /tmp/pardes-snap/mini/cwd/commands.txt Keep Del +@2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#2c2c0f,,tagline 28-39 #d3b0d9,#2c2c0f,,tagline 40-49 #b2c3b8,#2c2c0f,,tagline 50-89 d,#2c2c0f,,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 -@5: 0-1 #000000,#add38a,,tagline 2-27 #becfc4,#314738,,tagline 28-40 #dfbce5,#314738,,tagline 41-70 #becfc4,#314738,,tagline 71-89 d,#314738,,tagline +|5: /tmp/pardes-snap/mini/cwd/Mini demo.zig Del +@5: 0-1 #000000,#add38a,,tagline 2-27 #becfc4,#314738,,tagline 28-40 #dfbce5,#314738,,tagline 41-45 #becfc4,#314738,,tagline 46-89 d,#314738,,tagline |6: 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ +6: 7="⠭" 8="⠍" 9="⣥" 10="⢩" 11="⣭" 12="⡭" 13="⣭" 14="⣬" 15="⣌" 16="⢭" 17="⣭" 18="⠌" 19="⠬" 20="⠅" 21="⠍" 22="⠁" @6: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #616f64,#0d1410,b,body 7-8 #e5eee5,#0d1410,,body 9-9 #c9a7ed,#0d1410,,body 10-12 #e5eee5,#0d1410,,body 13-15 #c9a7ed,#0d1410,,body 16-21 #b8d88a,#0d1410,,body 22-22 #e5eee5,#0d1410,,body 23-89 d,#0d1410,,body @@ -100,11 +100,11 @@ == 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 Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/mini/cwd/commands.txt Keep Del | 1 @`Mini demo.zig` | | -| /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del +| /tmp/pardes-snap/mini/cwd/Mini demo.zig Del | 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ | 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ | 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ @@ -130,16 +130,16 @@ @0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline |1: New Term Find Grep Joincol Delcol @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-104 d,#314738,,tagline -|2: /tmp/pardes-snap/mini/cwd/commands.txt Keep Save Term Collapse Follow Del -@2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#2c2c0f,,tagline 28-39 #d3b0d9,#2c2c0f,,tagline 40-74 #b2c3b8,#2c2c0f,,tagline 75-104 d,#2c2c0f,,tagline +|2: /tmp/pardes-snap/mini/cwd/commands.txt Keep Del +@2: 0-1 #ffffff,#496656,,tagline 2-27 #b2c3b8,#2c2c0f,,tagline 28-39 #d3b0d9,#2c2c0f,,tagline 40-49 #b2c3b8,#2c2c0f,,tagline 50-104 d,#2c2c0f,,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: @5: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body -|6: /tmp/pardes-snap/mini/cwd/Mini demo.zig Save Term Collapse Follow Del -@6: 0-1 #000000,#add38a,,tagline 2-27 #becfc4,#314738,,tagline 28-40 #dfbce5,#314738,,tagline 41-70 #becfc4,#314738,,tagline 71-104 d,#314738,,tagline +|6: /tmp/pardes-snap/mini/cwd/Mini demo.zig Del +@6: 0-1 #000000,#add38a,,tagline 2-27 #becfc4,#314738,,tagline 28-40 #dfbce5,#314738,,tagline 41-45 #becfc4,#314738,,tagline 46-104 d,#314738,,tagline |7: 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ +7: 7="⠭" 8="⠍" 9="⣥" 10="⢩" 11="⣭" 12="⡭" 13="⣭" 14="⣬" 15="⣌" 16="⢭" 17="⣭" 18="⠌" 19="⠬" 20="⠅" 21="⠍" 22="⠁" @7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #616f64,#0d1410,b,body 7-8 #e5eee5,#0d1410,,body 9-9 #c9a7ed,#0d1410,,body 10-12 #e5eee5,#0d1410,,body 13-15 #c9a7ed,#0d1410,,body 16-21 #b8d88a,#0d1410,,body 22-22 #e5eee5,#0d1410,,body 23-104 d,#0d1410,,body diff --git a/test/snapshots/modal.golden b/test/snapshots/modal.golden index 258549c1..081aa7ad 100644 --- a/test/snapshots/modal.golden +++ b/test/snapshots/modal.golden @@ -1,8 +1,7 @@ -== snap top grid=100x31 cursor=2,4 +== snap top grid=100x31 cursor=2,3 | 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/modal/cwd Term+bash Save Mode F /tmp/pardes-snap/modal/cwd Term+bash Save Mode F -| ilter Collapse Del ilter Collapse Del +| /tmp/pardes-snap/modal/cwd Del Term+bash /tmp/pardes-snap/modal/cwd Del Term+bash | ls ls | words.txt words.txt | printf 'one two three\nfour five six\nseven ei @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/modal/cwd Term+bash Save Mode F -| ilter Collapse Del +| +| /tmp/pardes-snap/modal/cwd Del Term+bash | ls | words.txt | @@ -29,30 +28,31 @@ | | | +| | /tmp/pardes-snap/modal/cwd -== snap moved grid=100x31 cursor=8,6 -== snap xsel grid=100x31 cursor=48,6 +== snap moved grid=100x31 cursor=8,5 +== snap xsel grid=100x31 cursor=48,5 == style xsel 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, -|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, +|2: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-82 #b2c3b8,#1d2824, 83-99 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-1 d,#0d1410, 2-48 #f5f7ee,#3c614a, 49-49 #f5f7ee,#0d1410, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, +|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-48 #f5f7ee,#3c614a, 49-49 #f5f7ee,#0d1410, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, +|6: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |8: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |9: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|10: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |11: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |12: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |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-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, +|16: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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, +|19: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#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, @@ -64,18 +64,18 @@ |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-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 +== snap xsel2 grid=100x31 cursor=13,6 +== snap yanked grid=100x31 cursor=13,6 +== snap vsel grid=100x31 cursor=14,7 == style vsel grid=100x31 +|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #f5f7ee,#3c614a, 50-50 #f5f7ee,#608269, 51-99 #f5f7ee,#0d1410, |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,20 -|20: TYPED +|7: 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,19 +|19: TYPED |30: · @p2 a copy of the terminal's text: Tab or B2 runs it; what the program d… 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 +== snap undone grid=100x31 cursor=4,19 +|19: +== snap redone grid=100x31 cursor=9,19 +|19: TYPED +== snap bottom grid=100x31 cursor=2,19 diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden index 529b3ad9..18126c5f 100644 --- a/test/snapshots/msg.golden +++ b/test/snapshots/msg.golden @@ -1,7 +1,7 @@ == snap opened grid=70x15 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 Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/msg/cwd/a.txt Keep Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -19,7 +19,7 @@ == 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 Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/msg/cwd/a.txt Keep Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -39,6 +39,7 @@ |16: · saved /tmp/pardes-snap/msg/cwd/a.txt 4 messages · SPC h m == snap mousecleared grid=70x17 cursor=7,4 == snap reloaded grid=70x17 cursor=7,4 +|2: /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del |3: 1 EXTERNAL |4: ~ |5: @@ -53,9 +54,9 @@ |3: 1 AGAIN |16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt ×2 5 messages · SPC h m == snap esc grid=70x17 cursor=7,4 -|2: /tmp/pardes-snap/msg/cwd/a.txt Keep Save Term Collapse Follow Del +|2: /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del == snap msgbuiltin grid=70x17 cursor=29,5 -|2: */tmp/pardes-snap/msg/cwd/a.txt Save Term Collapse Follow Del +|2: */tmp/pardes-snap/msg/cwd/a.txt Save Undo Del |4: 2 |5: 3 Msg hand-written report |16: · …des-snap/msg/cwd/a.txt hand-written report 7 messages · SPC h m diff --git a/test/snapshots/multicursor.golden b/test/snapshots/multicursor.golden index 267fba5e..dab99241 100644 --- a/test/snapshots/multicursor.golden +++ b/test/snapshots/multicursor.golden @@ -1,7 +1,7 @@ -== snap three-cursors grid=150x31 cursor=82,20 +== snap three-cursors grid=150x31 cursor=82,19 | 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 +| /tmp/pardes-snap/multicursor/cwd Del Term+bash /tmp/pardes-snap/multicursor/cwd Del Term+bash | ls ls | f.txt f.txt | @@ -15,10 +15,9 @@ | | | -| /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/multicursor/cwd/f.txt Keep Save Term Collapse Fol -| ls low Del -| f.txt 1 line 1 -| 2 line 2 +| /tmp/pardes-snap/multicursor/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/multicursor/cwd/f.txt Keep Del +| ls 1 line 1 +| f.txt 2 line 2 | 3 line 3 | 4 line 4 | 5 line 5 @@ -29,11 +28,12 @@ | 10 line 10 | 11 line 11 | 12 line 12 +| ~ | · @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 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, -|2: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#496656, 77-109 #b2c3b8,#1d2824, 110-119 #d3b0d9,#1d2824, 120-149 #b2c3b8,#1d2824, +|2: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#496656, 77-113 #b2c3b8,#1d2824, 114-149 #d3b0d9,#1d2824, |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, @@ -47,45 +47,32 @@ |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-76 #b2c3b8,#add38a, 77-116 #becfc4,#2c2c0f, 117-122 #dfbce5,#2c2c0f, 123-149 #becfc4,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-76 #e5eee5,#2c2c0f, 77-149 #becfc4,#2c2c0f, +|16: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#add38a, 77-116 #becfc4,#2c2c0f, 117-122 #dfbce5,#2c2c0f, 123-149 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-82 #3c614a,#f5f7ee, 83-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-82 #3c614a,#f5f7ee, 83-149 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-82 #3c614a,#f5f7ee, 83-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-79 d,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-79 d,#0d1410,b 80-81 #616f64,#0d1410,b 82-149 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |23: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |24: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |25: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#152019, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-149 #59675c,#0d1410, |30: 0-1 d,#1d2824, 2-149 #6f7d75,#1d2824, == snap edited-at-three grid=150x31 cursor=84,19 -|16: /tmp/pardes-snap/multicursor/cwd Term+bash Save Mode Filter Collapse Del */tmp/pardes-snap/multicursor/cwd/f.txt Save Term Collapse Follow Del +|16: /tmp/pardes-snap/multicursor/cwd Del Term+bash */tmp/pardes-snap/multicursor/cwd/f.txt Save Undo Del |17: ls 1 >>line 1 |18: f.txt 2 >>line 2 |19: 3 >>line 3 -|20: 4 line 4 -|21: 5 line 5 -|22: 6 line 6 -|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: ~ == snap three-selections grid=150x31 cursor=83,19 == style three-selections grid=150x31 -|16: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-44 #d3b0d9,#1d2824, 45-74 #b2c3b8,#1d2824, 75-75 #b2c3b8,#add38a, 76-76 #000000,#f9cb70,b 77-109 #becfc4,#314738, 110-115 #dfbce5,#314738, 116-149 #becfc4,#314738, +|16: 0-1 d,#496656, 2-38 #b2c3b8,#1d2824, 39-74 #d3b0d9,#1d2824, 75-75 #d3b0d9,#add38a, 76-76 #000000,#f9cb70,b 77-109 #becfc4,#314738, 110-115 #dfbce5,#314738, 116-149 #becfc4,#314738, |17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-82 #f5f7ee,#243a2d, 83-83 #3c614a,#f5f7ee, 84-149 #e5eee5,#0d1410, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-82 #f5f7ee,#243a2d, 83-83 #3c614a,#f5f7ee, 84-149 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-76 d,#0d1410, 77-79 d,#0d1410,b 80-81 #616f64,#0d1410,b 82-83 #f5f7ee,#3c614a, 84-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-78 d,#0d1410, 79-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, -|29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-149 #59675c,#0d1410, == snap keep-primary grid=150x31 cursor=83,19 == style keep-primary grid=150x31 |17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, diff --git a/test/snapshots/nested-optout.golden b/test/snapshots/nested-optout.golden index a2f0a444..05c8e0a5 100644 --- a/test/snapshots/nested-optout.golden +++ b/test/snapshots/nested-optout.golden @@ -1,10 +1,10 @@ == snap optout-file grid=100x31 cursor=9,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/nested-optout/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/nested-optout/cwd Del Term+bash | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/nested-optout/cwd/nested.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/nested-optout/cwd/nested.txt Keep Del | 1 optout-marker | 2 second-optout-line | ~ @@ -20,7 +20,7 @@ | | | /tmp/pardes-snap/nested-optout/cwd/nested.txt:1 -| /tmp/pardes-snap/nested-optout/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/nested-optout/cwd/+New Del | 1 | | @@ -33,10 +33,10 @@ == 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 -|$ /tmp/pardes-snap/nested-optout/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/nested-optout/cwd Del Term+bash | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| $ /tmp/pardes-snap/nested-optout/cwd/innerdir Term+bash Save Mode Filter Collapse Del +| $ /tmp/pardes-snap/nested-optout/cwd/innerdir Del Term+bash | $ | | @@ -46,13 +46,13 @@ | | | -| /tmp/pardes-snap/nested-optout/cwd/innerdir/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/nested-optout/cwd/innerdir/+New Del | 1 | | | | /tmp/pardes-snap/nested-optout/cwd/innerdir -| /tmp/pardes-snap/nested-optout/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/nested-optout/cwd/+New Del | 1 | | @@ -65,7 +65,7 @@ == 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 Keep Save Term Collapse Follow Del +|8: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt Keep 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 2fe89a60..d7875f0b 100644 --- a/test/snapshots/nested.golden +++ b/test/snapshots/nested.golden @@ -1,7 +1,7 @@ == snap file-arg grid=100x31 cursor=7,22 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/nested/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/nested/cwd Del Term+bash | $ $(readlink /proc/$PPID/exe) nested.txt | $ | @@ -20,7 +20,7 @@ | | | -| ‹@p1 › /tmp/pardes-snap/nested/cwd/nested.txt Keep Save Term Collapse Follow Del +| ‹@p1 › /tmp/pardes-snap/nested/cwd/nested.txt Keep Del | 1 hello-from-nested | 2 second-nested-line | ~ @@ -33,7 +33,7 @@ == 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 -|$ /tmp/pardes-snap/nested/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/nested/cwd Del Term+bash | $ $(readlink /proc/$PPID/exe) | pardes: this shell is already inside pardes, and a pardes inside a pardes | is spicy. Name a file or a directory and the outer session opens it, or @@ -52,7 +52,7 @@ | | | -| /tmp/pardes-snap/nested/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/nested/cwd/+New Del | 1 | | @@ -65,7 +65,7 @@ == snap dir-arg grid=100x31 cursor=7,22 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/nested/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/nested/cwd Del Term+bash | $ $(readlink /proc/$PPID/exe) nestdir | $ | @@ -84,7 +84,7 @@ | | | -| /tmp/pardes-snap/nested/cwd/nestdir/ Get Term Collapse Del +| /tmp/pardes-snap/nested/cwd/nestdir/ Get Del | 1 inside-nested.txt | ~ | diff --git a/test/snapshots/ninep.golden b/test/snapshots/ninep.golden index d62b01a4..0f5f913a 100644 --- a/test/snapshots/ninep.golden +++ b/test/snapshots/ninep.golden @@ -1,8 +1,7 @@ -== snap opened grid=90x15 cursor=7,4 +== snap opened grid=90x15 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/ninep/cwd/demo.zig Keep Save Term Collapse Follow TreeContext Def Refs -| Del +| /tmp/pardes-snap/ninep/cwd/demo.zig Keep Del | 1 const greeting = "café λ 界 é"; | 2 | 3 pub fn choose(ok: bool) u32 { @@ -13,46 +12,47 @@ | | | +| | /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, |2: 0-1 d,#add38a, 2-28 #becfc4,#2c2c0f, 29-37 #dfbce5,#2c2c0f, 38-89 #becfc4,#2c2c0f, -|3: 0-1 d,#2c2c0f, 2-89 #becfc4,#2c2c0f, -|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-23 #e5eee5,#0d1410, 24-32 #b8d88a,#0d1410, 33-33 d,d, 34-34 d,#0d1410, 35-36 #b8d88a,#0d1410, 37-89 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-89 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-13 #c9a7ed,#0d1410, 14-18 #e5eee5,#0d1410, 19-25 #c9a7ed,#0d1410, 26-27 #f8c082,#0d1410, 28-89 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-89 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-23 #e5eee5,#0d1410, 24-32 #b8d88a,#0d1410, 33-33 d,d, 34-34 d,#0d1410, 35-36 #b8d88a,#0d1410, 37-89 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-89 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-13 #c9a7ed,#0d1410, 14-18 #e5eee5,#0d1410, 19-25 #c9a7ed,#0d1410, 26-27 #f8c082,#0d1410, 28-89 #e5eee5,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-89 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-89 d,#0d1410, |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-1 d,#1d2824, 2-89 #b2c3b8,#1d2824, -== 9p opened grid=90x15 cursor=7,4,block +== 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 |1: New Term Find Grep Joincol Delcol @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-89 d,#314738,,tagline -|2: /tmp/pardes-snap/ninep/cwd/demo.zig Keep Save Term Collapse Follow TreeContext Def Refs -@2: 0-1 #000000,#add38a,,tagline 2-28 #becfc4,#2c2c0f,,tagline 29-36 #dfbce5,#2c2c0f,,tagline 37-89 #becfc4,#2c2c0f,,tagline -|3: Del -@3: 0-1 d,#2c2c0f,,tagline 2-4 #becfc4,#2c2c0f,,tagline 5-89 d,#2c2c0f,,tagline -|4: 1 const greeting = "café λ 界 é"; -+4: 28="é" 30="λ" 32="界" 33="" 35="é" -@4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #616f64,#0d1410,b,body 7-23 #e5eee5,#0d1410,,body 24-36 #b8d88a,#0d1410,,body 37-37 #e5eee5,#0d1410,,body 38-89 d,#0d1410,,body -|5: 2 -@5: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body -|6: 3 pub fn choose(ok: bool) u32 { -@6: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-12 #c9a7ed,#0d1410,,body 13-35 #e5eee5,#0d1410,,body 36-89 d,#0d1410,,body -|7: 4 if (ok) return 42; -@7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-12 #c9a7ed,#0d1410,,body 13-18 #e5eee5,#0d1410,,body 19-24 #c9a7ed,#0d1410,,body 25-25 #e5eee5,#0d1410,,body 26-27 #f8c082,#0d1410,,body 28-28 #e5eee5,#0d1410,,body 29-89 d,#0d1410,,body -|8: 5 return 7; -@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-16 #c9a7ed,#0d1410,,body 17-17 #e5eee5,#0d1410,,body 18-18 #f8c082,#0d1410,,body 19-19 #e5eee5,#0d1410,,body 20-89 d,#0d1410,,body -|9: 6 } -@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: ~ +|2: /tmp/pardes-snap/ninep/cwd/demo.zig Keep Del +@2: 0-1 #000000,#add38a,,tagline 2-28 #becfc4,#2c2c0f,,tagline 29-36 #dfbce5,#2c2c0f,,tagline 37-46 #becfc4,#2c2c0f,,tagline 47-89 d,#2c2c0f,,tagline +|3: 1 const greeting = "café λ 界 é"; ++3: 28="é" 30="λ" 32="界" 33="" 35="é" +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #616f64,#0d1410,b,body 7-23 #e5eee5,#0d1410,,body 24-36 #b8d88a,#0d1410,,body 37-37 #e5eee5,#0d1410,,body 38-89 d,#0d1410,,body +|4: 2 +@4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|5: 3 pub fn choose(ok: bool) u32 { +@5: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-12 #c9a7ed,#0d1410,,body 13-35 #e5eee5,#0d1410,,body 36-89 d,#0d1410,,body +|6: 4 if (ok) return 42; +@6: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-12 #c9a7ed,#0d1410,,body 13-18 #e5eee5,#0d1410,,body 19-24 #c9a7ed,#0d1410,,body 25-25 #e5eee5,#0d1410,,body 26-27 #f8c082,#0d1410,,body 28-28 #e5eee5,#0d1410,,body 29-89 d,#0d1410,,body +|7: 5 return 7; +@7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-16 #c9a7ed,#0d1410,,body 17-17 #e5eee5,#0d1410,,body 18-18 #f8c082,#0d1410,,body 19-19 #e5eee5,#0d1410,,body 20-89 d,#0d1410,,body +|8: 6 } +@8: 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 +|9: ~ +@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-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 |11: @11: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body @@ -63,7 +63,7 @@ |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 +|2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del |3: 1 // café λ 界 |4: 2 const greeting = "café λ 界 é"; |5: 3 @@ -71,10 +71,11 @@ |7: 5 if (ok) return 42; |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 +|2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del +@2: 0-0 #000000,#add38a,,tagline 1-1 #000000,#f9cb70,b,tagline 2-28 #becfc4,#314738,,tagline 29-36 #dfbce5,#314738,,tagline 37-51 #becfc4,#314738,,tagline 52-89 d,#314738,,tagline |3: 1 // café λ 界 +3: 13="é" 15="λ" 17="界" 18="" @3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-18 #b9f480,#0d1410,,body 19-89 d,#0d1410,,body @@ -91,11 +92,20 @@ @8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-10 #e5eee5,#0d1410,,body 11-16 #c9a7ed,#0d1410,,body 17-17 #e5eee5,#0d1410,,body 18-18 #f8c082,#0d1410,,body 19-19 #e5eee5,#0d1410,,body 20-89 d,#0d1410,,body |9: 7 } @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, +|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-23 #e5eee5,#0d1410, 24-32 #b8d88a,#0d1410, 33-33 d,d, 34-34 d,#0d1410, 35-36 #b8d88a,#0d1410, 37-89 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-89 #e5eee5,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-13 #c9a7ed,#0d1410, 14-18 #e5eee5,#0d1410, 19-25 #c9a7ed,#0d1410, 26-27 #f8c082,#0d1410, 28-89 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-89 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, +|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, == style resized grid=105x20 |0: 0-1 d,#1d2824, 2-104 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-104 #becfc4,#314738, @@ -122,8 +132,8 @@ @0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline |1: New Term Find Grep Joincol Delcol @1: 0-1 #ffffff,#887455,,tagline 2-34 #becfc4,#314738,,tagline 35-104 d,#314738,,tagline -|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-104 d,#314738,,tagline +|2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del +@2: 0-0 #000000,#add38a,,tagline 1-1 #000000,#f9cb70,b,tagline 2-28 #becfc4,#314738,,tagline 29-36 #dfbce5,#314738,,tagline 37-51 #becfc4,#314738,,tagline 52-104 d,#314738,,tagline |3: 1 // café λ 界 +3: 13="é" 15="λ" 17="界" 18="" @3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-18 #b9f480,#0d1410,,body 19-104 d,#0d1410,,body @@ -163,7 +173,7 @@ == 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 -| */tmp/pardes-snap/ninep/cwd/demo.zig Save Term Collapse Follow TreeContext Def Refs Del +| */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del | 1 // café λ 界 | 2 const greeting = "café λ 界 é"; | 3 diff --git a/test/snapshots/pagercolor.golden b/test/snapshots/pagercolor.golden index beaaf7f5..95ee78bb 100644 --- a/test/snapshots/pagercolor.golden +++ b/test/snapshots/pagercolor.golden @@ -1,7 +1,7 @@ == snap pager grid=100x50 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/pagercolor/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/pagercolor/cwd Del Term+bash | $ printf '\033]0;title\007\033[31mred\033[m \033[1;32mbold green\033[m \033[38;2;200;100;0mrgb\033 | [m \033[4mul\033[m N\bNA\bAM\bME\bE _\bu_\bs plain\n' | $(readlink /proc/$PPID/exe) - | $ @@ -32,7 +32,7 @@ | | | -| /tmp/pardes-snap/pagercolor/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/pagercolor/cwd/+New Del | 1 | | @@ -40,7 +40,7 @@ | | | -| /tmp/pardes-snap/pagercolor/cwd/+Pager Save Term Filter Collapse Del +| /tmp/pardes-snap/pagercolor/cwd/+Pager Filter Undo Del | red bold green rgb ul NAME us plain | | @@ -52,7 +52,7 @@ == style pager-colours grid=100x50 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-33 #becfc4,#314738, 34-43 #dfbce5,#314738, 44-99 #becfc4,#314738, +|2: 0-1 #000000,#add38a, 2-37 #becfc4,#314738, 38-99 #dfbce5,#314738, |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, @@ -105,14 +105,14 @@ |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' | |7: $(readlink /proc/$PPID/exe) - |8: $ -|33: /tmp/pardes-snap/pagercolor/cwd/+Diff-0123abc Save Term Diff Collapse LocationsConfig Del +|33: /tmp/pardes-snap/pagercolor/cwd/+Diff-0123abc Diff Del |34: commit 0123abc |35: x:1 |36: -old |37: +new |41: |42: -|45: /tmp/pardes-snap/pagercolor/cwd/+Pager Save Term Filter Collapse Del +|45: /tmp/pardes-snap/pagercolor/cwd/+Pager Filter Undo 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, diff --git a/test/snapshots/pipe.golden b/test/snapshots/pipe.golden index 9ac8ced4..70b4bc95 100644 --- a/test/snapshots/pipe.golden +++ b/test/snapshots/pipe.golden @@ -13,10 +13,10 @@ | | /tmp/pardes-snap/pipe/cwd/pipe.txt:1 == snap filtered grid=180x13 cursor=17,3 -|2: *Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Save Term Collapse Follow Del +|2: *Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Save Undo Del |3: 1 ALPHA BETA |4: 2 gamma delta |5: == snap undone grid=180x13 cursor=17,3 -|2: Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Save Term Collapse Follow Del +|2: Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Redo Del |3: 1 alpha beta diff --git a/test/snapshots/psearch.golden b/test/snapshots/psearch.golden index 9f7eab39..66f58947 100644 --- a/test/snapshots/psearch.golden +++ b/test/snapshots/psearch.golden @@ -1,7 +1,7 @@ == snap output grid=140x31 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/psearch/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/psearch/cwd Del Term+bash | printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' | x MARK a | zz @@ -20,7 +20,7 @@ | | | -| /tmp/pardes-snap/psearch/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/psearch/cwd/+New Del | 1 | | @@ -34,7 +34,7 @@ |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 |3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' -|21: /tmp/pardes-snap/psearch/cwd/+Search Save Term Collapse Follow LocationsConfig Del +|21: /tmp/pardes-snap/psearch/cwd/+Search Del |22: 1 @p1:2:3-6 |23: 2 x MARK a |24: 3 @p1:4:3-6 @@ -45,7 +45,7 @@ == style results grid=140x31 |0: 0-1 d,#1d2824, 2-139 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-139 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-30 #becfc4,#314738, 31-40 #dfbce5,#314738, 41-139 #becfc4,#314738, +|2: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-139 #dfbce5,#314738, |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-3 #e5eee5,#0d1410, 4-7 #f5f7ee,#3c614a, 8-8 #f5f7ee,#0d1410, 9-139 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, @@ -77,15 +77,15 @@ == snap second grid=140x31 cursor=7,6 == snap back grid=140x31 cursor=7,4 == snap nomatch grid=140x31 cursor=7,24 -|10: /tmp/pardes-snap/psearch/cwd/+Search Save Term Collapse Follow LocationsConfig Del +|10: /tmp/pardes-snap/psearch/cwd/+Search Del |11: 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 +|2: $ /tmp/pardes-snap/psearch/cwd Del Term+bash |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 +|2: /tmp/pardes-snap/psearch/cwd Del Term+bash |3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' |9: diff --git a/test/snapshots/reflow.golden b/test/snapshots/reflow.golden index 6d2945d2..b5b3d1fa 100644 --- a/test/snapshots/reflow.golden +++ b/test/snapshots/reflow.golden @@ -1,7 +1,7 @@ == snap widened grid=200x25 cursor=4,16 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -|$ /tmp/pardes-snap/reflow/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/reflow/cwd Del Term+bash | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy @@ -16,7 +16,7 @@ | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyydone | $ -| /tmp/pardes-snap/reflow/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/reflow/cwd/+New Del | 1 | | diff --git a/test/snapshots/respawn.golden b/test/snapshots/respawn.golden index 51c7d820..7810ac32 100644 --- a/test/snapshots/respawn.golden +++ b/test/snapshots/respawn.golden @@ -1,10 +1,10 @@ == 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 +| /tmp/pardes-snap/respawn/cwd Del Term+bash /tmp/pardes-snap/respawn/cwd Del Term+bash | ls ls | -|$ /tmp/pardes-snap/respawn/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/respawn/cwd Del Term+bash | $ ls | $ echo RESP''AWNOK | RESPAWNOK diff --git a/test/snapshots/restore.golden b/test/snapshots/restore.golden index ce49c4ee..9a757be9 100644 --- a/test/snapshots/restore.golden +++ b/test/snapshots/restore.golden @@ -1,7 +1,7 @@ == snap dumped grid=100x31 cursor=4,6 | 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 +|$ /tmp/pardes-snap/restore/cwd Del Term+bash | $ ls | $ echo KEEP''ME | KEEPME diff --git a/test/snapshots/savepane.golden b/test/snapshots/savepane.golden index c434bd40..7b0008e4 100644 --- a/test/snapshots/savepane.golden +++ b/test/snapshots/savepane.golden @@ -1,7 +1,7 @@ == 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 +| /tmp/pardes-snap/savepane/cwd Del Term+bash | ls | | @@ -15,7 +15,7 @@ | | | -| */tmp/pardes-snap/savepane/cwd/+New Save Term Collapse Follow Del +| */tmp/pardes-snap/savepane/cwd/+New Undo Del | 1 scratch bytes | | @@ -34,7 +34,7 @@ |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 Keep Save Term Collapse Follow Del +|16: /tmp/pardes-snap/savepane/cwd/saved.txt Keep Undo Del |17: 1 scratch bytes |30: · …des-snap/savepane/cwd/+New saved /tmp/pardes-snap/savepane/cwd/saved.txt 3 messages · SPC h m == file bytes diff --git a/test/snapshots/scroll.golden b/test/snapshots/scroll.golden index 2125f0e9..c3acb2bc 100644 --- a/test/snapshots/scroll.golden +++ b/test/snapshots/scroll.golden @@ -1,10 +1,10 @@ == 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 -| 190 ls -| 191 s.txt +| /tmp/pardes-snap/scroll/cwd Del Term+bash /tmp/pardes-snap/scroll/cwd Del Term+bash +| 189 ls +| 190 s.txt +| 191 | 192 | 193 | 194 @@ -15,8 +15,7 @@ | 199 | 200 | -| /tmp/pardes-snap/scroll/cwd Term+bash Save Mode -| Filter Collapse Del +| /tmp/pardes-snap/scroll/cwd Del Term+bash | ls | s.txt | @@ -29,10 +28,12 @@ | | | +| | /tmp/pardes-snap/scroll/cwd == snap wheel3 grid=100x31 cursor=4,15 -|4: 187 ls -|5: 188 s.txt +|3: 186 ls +|4: 187 s.txt +|5: 188 |6: 189 |7: 190 |8: 191 @@ -44,21 +45,23 @@ |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 +|3: 178 ls +|4: 179 s.txt +|5: 180 +|6: 181 +|7: 182 +|8: 183 +|9: 184 +|10: 185 +|11: 186 +|12: 187 +|13: 188 +|14: 189 +|15: 190 == snap gutter-down grid=100x31 cursor=4,15 -|4: 182 ls -|5: 183 s.txt +|3: 181 ls +|4: 182 s.txt +|5: 183 |6: 184 |7: 185 |8: 186 @@ -70,8 +73,9 @@ |14: 192 |15: 193 == snap wheel-down grid=100x31 cursor=4,15 -|4: 183 ls -|5: 184 s.txt +|3: 182 ls +|4: 183 s.txt +|5: 184 |6: 185 |7: 186 |8: 187 @@ -85,8 +89,8 @@ == 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, -|2: 0-1 d,#add38a, 2-29 #becfc4,#314738, 30-39 #dfbce5,#314738, 40-49 #becfc4,#314738, 50-51 #becfc4,#496656, 52-79 #b2c3b8,#1d2824, 80-89 #d3b0d9,#1d2824, 90-99 #b2c3b8,#1d2824, -|3: 0-1 d,#314738, 2-49 #becfc4,#314738, 50-51 #becfc4,#1d2824, 52-99 #b2c3b8,#1d2824, +|2: 0-1 d,#add38a, 2-33 #becfc4,#314738, 34-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-83 #b2c3b8,#1d2824, 84-99 #d3b0d9,#1d2824, +|3: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-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, @@ -99,10 +103,10 @@ |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,#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, +|16: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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, +|19: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#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, diff --git a/test/snapshots/scrolloff.golden b/test/snapshots/scrolloff.golden index 56330447..a4e1a468 100644 --- a/test/snapshots/scrolloff.golden +++ b/test/snapshots/scrolloff.golden @@ -1,11 +1,11 @@ == snap top grid=210x16 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/scrolloff/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/scrolloff/cwd Del Term+bash | ls | g.txt | -| /tmp/pardes-snap/scrolloff/cwd/g.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/scrolloff/cwd/g.txt Del | 1 line 1 | 2 line 2 | 3 line 3 diff --git a/test/snapshots/selarg.golden b/test/snapshots/selarg.golden index 16b13303..96cb061e 100644 --- a/test/snapshots/selarg.golden +++ b/test/snapshots/selarg.golden @@ -1,8 +1,7 @@ -== snap kept grid=100x31 cursor=6,4 +== snap kept grid=100x31 cursor=6,3 | 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/selarg/cwd Term+bash Save Mode /tmp/pardes-snap/selarg/cwd Term+bash Save Mode -| Filter Collapse Del Filter Collapse Del +| /tmp/pardes-snap/selarg/cwd Del Term+bash /tmp/pardes-snap/selarg/cwd Del Term+bash | ZZARG ZZVEE ./c.sh | | @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/selarg/cwd Term+bash Save Mode -| Filter Collapse Del +| +| /tmp/pardes-snap/selarg/cwd Del Term+bash | ls | s.txt | @@ -29,12 +28,13 @@ | | | +| | /tmp/pardes-snap/selarg/cwd -== snap crosspane grid=100x31 cursor=6,4 -|5: ./c.sh ZZARG -|6: CHORDARG:ZZARG +== snap crosspane grid=100x31 cursor=6,3 +|4: ./c.sh ZZARG +|5: CHORDARG:ZZARG |30: ✓ @p3 Exec 1 message · SPC h m -== snap vselarg grid=100x31 cursor=12,4 -|7: ./c.sh ZZVEE -|8: CHORDARG:ZZVEE +== snap vselarg grid=100x31 cursor=12,3 +|6: ./c.sh ZZVEE +|7: CHORDARG:ZZVEE |30: ✓ @p3 Exec ×2 1 message · SPC h m diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden index fa7ec980..e24e512c 100644 --- a/test/snapshots/selregex.golden +++ b/test/snapshots/selregex.golden @@ -54,7 +54,7 @@ |23: 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 -|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del |3: 1 const one = 1; |4: 2 const two = 2; |5: 3 const three = 3; @@ -74,7 +74,7 @@ |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, == snap esc-restores grid=160x25 cursor=11,3 -|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Save Term Collapse Follow TreeContext Def Refs Del +|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del |3: 1 const one = 1; |4: 2 const two = 2; |5: 3 const three = 3; @@ -84,12 +84,12 @@ |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, == snap commented grid=160x25 cursor=14,3 -|2: *Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Save Term Collapse Follow TreeContext Def Refs Del +|2: *Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Save Undo Del |3: 1 // const one = 1; |4: 2 // const two = 2; |5: 3 // const three = 3; == snap uncommented grid=160x25 cursor=11,3 -|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Save Term Collapse Follow TreeContext Def Refs Del +|2: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Undo Del |3: 1 const one = 1; |4: 2 const two = 2; |5: 3 const three = 3; diff --git a/test/snapshots/shellset.golden b/test/snapshots/shellset.golden index 8fb2abed..77e6c7a8 100644 --- a/test/snapshots/shellset.golden +++ b/test/snapshots/shellset.golden @@ -1,7 +1,7 @@ == snap boot grid=90x21 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/shellset/cwd/cmd.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/shellset/cwd/cmd.txt Keep Del | 1 Shell zznosuchshell | | @@ -21,11 +21,10 @@ | | /tmp/pardes-snap/shellset/cwd/cmd.txt:1 == snap builtin-ran grid=90x21 cursor=25,3 -|2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep Save Term Collapse Follow Del +|2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep Del |20: ✗ …cmd.txt Shell: shell "zznosuchshell" not found (a name on the… 3 messages · SPC h m -== snap fallback-shell grid=90x21 cursor=49,6 +== snap fallback-shell grid=90x21 cursor=49,5 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol -|2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep /tmp/pardes-snap/shellset/cwd Term+bash Sav -|3: Save Term Collapse Follow Del e Mode Filter Collapse Del -|4: 1 Shell zznosuchshell ls -|5: cmd.txt zmarkfile.txt +|2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep /tmp/pardes-snap/shellset/cwd Del Term+bash +|3: Del ls +|4: 1 Shell zznosuchshell cmd.txt zmarkfile.txt diff --git a/test/snapshots/shrinktag.golden b/test/snapshots/shrinktag.golden index ea2260fd..2acc21ce 100644 --- a/test/snapshots/shrinktag.golden +++ b/test/snapshots/shrinktag.golden @@ -1,12 +1,12 @@ == snap before grid=100x31 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/shrinktag/cwd Term+bash Save Mo /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -| de Filter Collapse Del de Filter Collapse Del +| /tmp/pardes-snap/shrinktag/cwd Del Term+bash /tmp/pardes-snap/shrinktag/cwd Del Term+bash | ls ls | w.txt w.txt | | +| | echo one; echo two | | @@ -15,8 +15,7 @@ | | | -| /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -| de Filter Collapse Del +| /tmp/pardes-snap/shrinktag/cwd Del Term+bash | ls | w.txt | @@ -29,35 +28,32 @@ | | | +| | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program dr… 1 message · SPC h m == snap shrunk grid=100x31 cursor=hidden -|4: w.txt ls -|5: w.txt -|6: /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -|7: de Filter Collapse Del -|8: ls -|9: w.txt +|3: w.txt ls +|4: w.txt +|5: /tmp/pardes-snap/shrinktag/cwd Del Term+bash +|6: ls +|7: w.txt +|8: |16: |17: |18: -|19: == snap move-preview grid=100x31 cursor=hidden == snap restored grid=100x31 cursor=4,9 -|4: ls ls -|5: w.txt w.txt +|3: ls ls +|4: w.txt w.txt +|5: |6: |7: |8: echo one; echo two -|9: -|17: /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -|18: de Filter Collapse Del -|19: ls -|20: w.txt +|16: /tmp/pardes-snap/shrinktag/cwd Del Term+bash +|17: ls +|18: w.txt == snap bottom-shrunk grid=100x31 cursor=4,9 +|16: |17: |18: -|19: -|20: -|26: /tmp/pardes-snap/shrinktag/cwd Term+bash Save Mo -|27: de Filter Collapse Del +|27: /tmp/pardes-snap/shrinktag/cwd Del Term+bash |28: w.txt diff --git a/test/snapshots/stepgrain.golden b/test/snapshots/stepgrain.golden index 5f73bd1f..67d2dfc7 100644 --- a/test/snapshots/stepgrain.golden +++ b/test/snapshots/stepgrain.golden @@ -1,7 +1,7 @@ == 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 +| /tmp/pardes-snap/stepgrain/cwd/a.txt Del | 1 hello ZQMARK one | 2 see also sub/b.txt for ZQMARK two | @@ -93,4 +93,3 @@ |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 e4413147..da84342c 100644 --- a/test/snapshots/syntax.golden +++ b/test/snapshots/syntax.golden @@ -1,7 +1,7 @@ -== snap zig-open grid=150x31 cursor=82,18 +== snap zig-open grid=150x31 cursor=82,17 | 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 +| /tmp/pardes-snap/syntax/cwd Del Term+bash /tmp/pardes-snap/syntax/cwd Del Term+bash | ls ls | demo.zig demo.zig | @@ -15,10 +15,9 @@ | | | -| /tmp/pardes-snap/syntax/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/syntax/cwd/demo.zig Keep Save Term Collapse Follo -| ls w TreeContext Def Refs Del -| demo.zig 1 const std = @import("std"); // greet -| 2 pub fn main() void { +| /tmp/pardes-snap/syntax/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/syntax/cwd/demo.zig Keep Del +| ls 1 const std = @import("std"); // greet +| demo.zig 2 pub fn main() void { | 3 var x: u32 = 42; | 4 _ = x; | 5 } @@ -29,11 +28,12 @@ | | | +| | · @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 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, -|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, +|2: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#496656, 77-108 #b2c3b8,#1d2824, 109-149 #d3b0d9,#1d2824, |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, @@ -47,13 +47,13 @@ |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-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#add38a, 77-111 #becfc4,#2c2c0f, 112-120 #dfbce5,#2c2c0f, 121-149 #becfc4,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-76 #e5eee5,#2c2c0f, 77-149 #becfc4,#2c2c0f, -|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-76 #e5eee5,#0d1410, 77-79 #e5eee5,#0d1410,b 80-81 #616f64,#0d1410,b 82-93 #e5eee5,#0d1410, 94-100 #c9a7ed,#0d1410, 101-101 #e5eee5,#0d1410, 102-106 #b8d88a,#0d1410, 107-109 #e5eee5,#0d1410, 110-149 #b9f480,#0d1410, -|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-85 #e5eee5,#0d1410, 86-88 #c9a7ed,#0d1410, 89-149 #e5eee5,#0d1410, -|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-85 #59675c,#0d1410, 86-98 #e5eee5,#0d1410, 99-100 #f8c082,#0d1410, 101-149 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-85 #59675c,#0d1410, 86-149 #e5eee5,#0d1410, -|22: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#0d1410, +|16: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-74 #d3b0d9,#1d2824, 75-76 #d3b0d9,#add38a, 77-111 #becfc4,#2c2c0f, 112-120 #dfbce5,#2c2c0f, 121-149 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-76 #e5eee5,#0d1410, 77-79 #e5eee5,#0d1410,b 80-81 #616f64,#0d1410,b 82-93 #e5eee5,#0d1410, 94-100 #c9a7ed,#0d1410, 101-101 #e5eee5,#0d1410, 102-106 #b8d88a,#0d1410, 107-109 #e5eee5,#0d1410, 110-149 #b9f480,#0d1410, +|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-74 #e5eee5,#0d1410, 75-75 #e5eee5,#608269, 76-79 #e5eee5,#0d1410, 80-81 #59675c,#0d1410, 82-85 #e5eee5,#0d1410, 86-88 #c9a7ed,#0d1410, 89-149 #e5eee5,#0d1410, +|19: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-85 #59675c,#0d1410, 86-98 #e5eee5,#0d1410, 99-100 #f8c082,#0d1410, 101-149 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-85 #59675c,#0d1410, 86-149 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-79 d,#0d1410, 80-81 #59675c,#0d1410, 82-149 #e5eee5,#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, diff --git a/test/snapshots/tag.golden b/test/snapshots/tag.golden index df7c1890..e45fa7ac 100644 --- a/test/snapshots/tag.golden +++ b/test/snapshots/tag.golden @@ -1,7 +1,7 @@ -== snap tag-focus grid=150x31 cursor=36,2 +== snap tag-focus grid=150x31 cursor=40,2 | 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/tag/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tag/cwd Del Term+bash /tmp/pardes-snap/tag/cwd Del Term+bash | ls ls | t.txt t.txt | @@ -15,7 +15,7 @@ | | | -| /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tag/cwd Del Term+bash | ls | t.txt | @@ -30,13 +30,13 @@ | | | /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-typed grid=150x31 cursor=46,2 +|2: /tmp/pardes-snap/tag/cwd Del Term+bash t.txt /tmp/pardes-snap/tag/cwd Del Term+bash +== snap tag-del grid=150x31 cursor=42,2 +|2: /tmp/pardes-snap/tag/cwd Del Term+bash t /tmp/pardes-snap/tag/cwd Del Term+bash == 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 +|2: /tmp/pardes-snap/tag/cwd Del Term+bash t.txt /tmp/pardes-snap/tag/cwd Del Term+bash == snap tag-look grid=150x31 cursor=82,17 -|16: /tmp/pardes-snap/tag/cwd Term+bash Save Mode Filter Collapse Del ‹@p1 › /tmp/pardes-snap/tag/cwd/t.txt Keep Save Term Collapse Follow Del +|16: /tmp/pardes-snap/tag/cwd Del Term+bash ‹@p1 › /tmp/pardes-snap/tag/cwd/t.txt Keep Del |17: ls 1 ZZLOOKED |30: /tmp/pardes-snap/tag/cwd/t.txt:1 diff --git a/test/snapshots/tagalign.golden b/test/snapshots/tagalign.golden index f42ce294..112c745f 100644 --- a/test/snapshots/tagalign.golden +++ b/test/snapshots/tagalign.golden @@ -1,12 +1,11 @@ -== snap aligned grid=100x31 cursor=4,10 +== snap aligned grid=100x31 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Save Term Collapse F -| ollow Del +| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta | 3 gamma -| /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tagalign/cwd Del Term+bash | ls | deep | @@ -29,16 +28,16 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd -== snap fits grid=87x31 cursor=4,10 +== snap fits grid=87x31 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Save Te -| rm Collapse Follow Del +| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta | 3 gamma -| /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tagalign/cwd Del Term+bash | ls | deep | @@ -61,16 +60,16 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd -== snap overby1 grid=86x31 cursor=4,10 +== snap overby1 grid=86x31 cursor=4,9 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Save T -| erm Collapse Follow Del +| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta | 3 gamma -| /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tagalign/cwd Del Term+bash | ls | deep | @@ -93,16 +92,16 @@ | | | +| | /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 -| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Save Term Collapse F -| ollow Del +| /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta | 3 gamma -| /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tagalign/cwd Del Term+bash | ls | deep | @@ -125,17 +124,16 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt:1 -== snap revealed grid=70x31 cursor=41,3 +== snap revealed grid=70x31 cursor=16,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His | New Term Find Grep Joincol Delcol | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document -| .txt Keep Save Term Collapse Follow Del +| .txt Keep Del | 1 alpha | 2 beta -| 3 gamma -| /tmp/pardes-snap/tagalign/cwd Term+bash Save Mode Filter Collapse De -| l +| /tmp/pardes-snap/tagalign/cwd Del Term+bash | ls | deep | @@ -157,15 +155,15 @@ | | | +| +| | · …document.txt name drafted: Enter renames t… 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 -|4: ls -|5: deep +== snap alone grid=70x31 cursor=4,5 +|2: /tmp/pardes-snap/tagalign/cwd Del Term+bash +|3: ls +|4: deep +|5: |6: |7: |8: -|9: -|10: |30: ✓ …/nested-project-directory/document.txt Del 3 messages · SPC h m diff --git a/test/snapshots/tagalign2col.golden b/test/snapshots/tagalign2col.golden index a7c8d251..25ee313c 100644 --- a/test/snapshots/tagalign2col.golden +++ b/test/snapshots/tagalign2col.golden @@ -1,10 +1,9 @@ -== snap onecol grid=160x31 cursor=7,4 +== snap onecol grid=160x31 cursor=7,3 | 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/tagalign2col/cwd/deep/proj/document.txt Keep Save Term Collap /tmp/pardes-snap/tagalign2col/cwd Term+bash Save Mode Filter Collapse Del -| se Follow Del ls -| 1 alpha deep -| 2 beta +| /tmp/pardes-snap/tagalign2col/cwd/deep/proj/document.txt Keep Del /tmp/pardes-snap/tagalign2col/cwd Del Term+bash +| 1 alpha ls +| 2 beta deep | 3 gamma | | @@ -29,15 +28,14 @@ | | | +| | ✓ @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 -|9: deep -== snap widened grid=160x31 cursor=4,10 +== snap aligned grid=160x31 cursor=4,9 +|6: /tmp/pardes-snap/tagalign2col/cwd Del Term+bash +|7: ls +|8: deep +== snap widened grid=160x31 cursor=4,9 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol -|2: /tmp/pardes-snap/tagalign2col/cwd/deep/proj/document.txt Keep Save Term Collapse Follow Del /tmp/pardes-snap/tagalign2col/cwd Term+bash Save Mode Filt -|3: 1 alpha er Collapse Del -|4: 2 beta ls -|5: 3 gamma deep -|6: +|2: /tmp/pardes-snap/tagalign2col/cwd/deep/proj/document.txt Keep Del /tmp/pardes-snap/tagalign2col/cwd Del Term+bash +|3: 1 alpha ls +|4: 2 beta deep diff --git a/test/snapshots/tagcmd.golden b/test/snapshots/tagcmd.golden index 2a4af522..425a54db 100644 --- a/test/snapshots/tagcmd.golden +++ b/test/snapshots/tagcmd.golden @@ -1,7 +1,7 @@ == snap edited grid=100x31 cursor=13,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| */tmp/pardes-snap/tagcmd/cwd/c.txt Save Term Collapse Follow Del +| */tmp/pardes-snap/tagcmd/cwd/c.txt Save Undo Del | 1 ZZEDITline 1 | 2 line 2 | 3 line 3 @@ -30,10 +30,10 @@ | | | /tmp/pardes-snap/tagcmd/cwd/c.txt:1 -== snap colon grid=100x31 cursor=36,2 +== snap colon grid=100x31 cursor=50,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 +|2: /tmp/pardes-snap/tagcmd/cwd/c.txt Undo Del |30: · saved /tmp/pardes-snap/tagcmd/cwd/c.txt 3 messages · SPC h m == file written ZZEDITline 1 diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index 1039c40a..eebfb8a8 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -1,13 +1,11 @@ -== snap start grid=100x31 cursor=7,4 +== snap start grid=100x31 cursor=7,3 | 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/tagnav/cwd/w.txt Save Term Coll /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode -| apse Follow Del Filter Collapse Del +| /tmp/pardes-snap/tagnav/cwd/w.txt Del /tmp/pardes-snap/tagnav/cwd Del Term+bash | 1 alpha ls | 2 beta w.txt | 3 gamma -| /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode -| Filter Collapse Del +| /tmp/pardes-snap/tagnav/cwd Del Term+bash | ls | w.txt | @@ -29,67 +27,71 @@ | | | +| +| | ✓ @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 +== snap colon grid=100x31 cursor=40,2 +== snap word grid=100x31 cursor=5,2 +== snap in-tag grid=100x31 cursor=7,2 +== snap right grid=100x31 cursor=54,5 |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 +== snap right-tag grid=100x31 cursor=84,2 +== snap left-tag grid=100x31 cursor=7,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 $ +== snap back-to-body grid=100x31 cursor=7,3 +== snap tty-on grid=100x31 cursor=54,5 +|2: /tmp/pardes-snap/tagnav/cwd/w.txt Del $ /tmp/pardes-snap/tagnav/cwd Del Term+bash +|3: 1 alpha $ ls +|5: 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 tty-tag grid=100x31 cursor=84,2 +== snap tty-restored grid=100x31 cursor=54,5 == 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 ls -|6: 3 gamma +|2: /tmp/pardes-snap/tagnav/cwd/w.txt Del /tmp/pardes-snap/tagnav/cwd Del Term+bash +|3: 1 alpha ls +|5: 3 gamma |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up 8 messages · SPC h m == snap column-word grid=100x31 cursor=5,1 == snap workspace-tag grid=100x31 cursor=2,0 |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 8 messages · SPC h m == snap topbar-dollar grid=100x31 cursor=84,0 == snap topbar-dump-word grid=100x31 cursor=53,0 -== snap topbar-exec grid=100x31 cursor=7,4 -|12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co -|13: llapse Follow Del -|14: 1 # Pardes themes -|15: 2 Theme orchard -|16: 3 Theme dusk -|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 +== snap topbar-exec grid=100x31 cursor=7,3 +|10: /tmp/pardes-snap/tagnav/cwd/+Themes Del +|11: 1 # Pardes themes +|12: 2 Theme orchard +|13: 3 Theme dusk +|14: 4 Theme ink +|15: 5 Theme paper +|16: 6 Theme daybreak +|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/tagnav/cwd/w.txt Themes 10 messages · SPC h m == snap topbar-restore-word grid=100x31 cursor=75,0 |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 12 messages · SPC h m -== snap topbar-restored grid=100x31 cursor=7,4 +== snap topbar-restored grid=100x31 cursor=7,3 |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 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 │ -|8: Filter Collapse Del │frame virtual clock │ -|9: ls │ │ -|10: w.txt │ │ -|11: │ │ -|12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co │ │ -|13: llapse Follow Del ╰────────────────────────────────────╯ +|2: /tmp/pardes-snap/tagnav/cwd/w.txt Del /tmp/parde│pardes resizes=1 │ +|3: 1 alpha ls │theme orchard │ +|4: 2 beta w.txt │font default │ +|5: 3 gamma │terms 4 cols 2 │ +|6: /tmp/pardes-snap/tagnav/cwd Del Term+bash │active #0 48x3 │ +|7: ls │scroll 0/3 │ +|8: w.txt │frame virtual clock │ +|9: │ │ +|10: /tmp/pardes-snap/tagnav/cwd/+Themes Del │ │ +|11: 1 # Pardes themes │ │ +|12: 2 Theme orchard │ │ +|13: 3 Theme dusk ╰────────────────────────────────────╯ |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 df331438..8ab13a64 100644 --- a/test/snapshots/tagpath.golden +++ b/test/snapshots/tagpath.golden @@ -1,7 +1,7 @@ == snap start 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/tagpath/cwd/c.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/tagpath/cwd/c.txt Keep Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -30,7 +30,7 @@ | | | /tmp/pardes-snap/tagpath/cwd/c.txt:1 -== snap colon grid=100x31 cursor=42,2 +== snap colon grid=100x31 cursor=46,2 == snap col0 grid=100x31 cursor=2,2 == snap sel-path grid=100x31 cursor=35,2 == style sel-path grid=100x31 @@ -66,17 +66,17 @@ |29: 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 +|2: */tmp/pardes-snap/tagpath/cwd/c.txt Save Undo Del |3: 1 l/tmp/pardes-snap/tagpath/cwd/c.txtine 1 == snap drag-cross grid=100x31 cursor=41,2 == style drag-cross grid=100x31 |2: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-10 #becfc4,#314738, 11-41 #f5f7ee,#3c614a, 42-99 #becfc4,#314738, |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 +|2: */renamed/tmp/pardes-snap/tagpath/cwd/c.txt Save Undo 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 +|2: */tmp/pardes-snap/tagpath/cwd/c.txt Save Undo Del |30: · …th/cwd/c.txt name drafted: Enter renames the buffer, Esc drops the draft 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 +|2: */renamed/tmp/pardes-snap/tagpath/cwd/c.txt Save Undo Del diff --git a/test/snapshots/theme.golden b/test/snapshots/theme.golden index 4654ea93..74f79d28 100644 --- a/test/snapshots/theme.golden +++ b/test/snapshots/theme.golden @@ -1,8 +1,7 @@ == snap orchard grid=100x31 cursor=95,0 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit NextColor | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/theme/cwd Term+bash Save Mode F /tmp/pardes-snap/theme/cwd Term+bash Save Mode F -| ilter Collapse Del ilter Collapse Del +| /tmp/pardes-snap/theme/cwd Del Term+bash /tmp/pardes-snap/theme/cwd Del Term+bash | ls ls | t.txt t.txt | @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/theme/cwd Term+bash Save Mode F -| ilter Collapse Del +| +| /tmp/pardes-snap/theme/cwd Del Term+bash | ls | t.txt | @@ -29,14 +28,15 @@ | | | +| | /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, -|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, +|2: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-82 #b2c3b8,#1d2824, 83-99 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |6: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |7: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, |8: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -47,10 +47,10 @@ |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-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, +|16: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#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, +|19: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#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, @@ -62,15 +62,15 @@ |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-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -== snap dusk grid=100x31 cursor=4,6 +== snap dusk grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#edb092, 2-32 #d2c2d1,#533d4d, 33-49 #a1d5c4,#533d4d, 50-51 #a1d5c4,#745469, 52-82 #c6b6c5,#2c2630, 83-99 #96c9b8,#2c2630, +|3: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-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, +|5: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#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, |8: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#39323b, @@ -81,10 +81,10 @@ |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-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, +|16: 0-1 d,#745469, 2-32 #c6b6c5,#2c2630, 33-49 #96c9b8,#2c2630, 50-50 #96c9b8,#8e667c, 51-99 #96c9b8,#39323b, +|17: 0-0 d,#8e667c, 1-1 d,#39323b, 2-49 #c3b6c1,#39323b, 50-50 #c3b6c1,#8e667c, 51-99 #c3b6c1,#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, +|19: 0-0 d,#8e667c, 1-49 d,#39323b, 50-50 d,#8e667c, 51-99 d,#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, @@ -96,15 +96,15 @@ |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-1 d,#2c2630, 2-99 #847885,#2c2630, -== snap ink grid=100x31 cursor=4,6 +== snap ink grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#86d8ff, 2-32 #e1eef9,#2b4051, 33-49 #ffeab8,#2b4051, 50-51 #ffeab8,#5f7990, 52-82 #d5e4f1,#15212c, 83-99 #f5e0ac,#15212c, +|3: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-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, +|5: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#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, |8: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#000000, @@ -115,10 +115,10 @@ |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-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, +|16: 0-1 d,#5f7990, 2-32 #d5e4f1,#15212c, 33-49 #f5e0ac,#15212c, 50-50 #f5e0ac,#86a8c2, 51-99 #f5e0ac,#000000, +|17: 0-0 d,#86a8c2, 1-1 d,#000000, 2-49 #f3f7fc,#000000, 50-50 #f3f7fc,#86a8c2, 51-99 #f3f7fc,#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, +|19: 0-0 d,#86a8c2, 1-49 d,#000000, 50-50 d,#86a8c2, 51-99 d,#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, @@ -130,15 +130,15 @@ |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-1 d,#15212c, 2-99 #697784,#15212c, -== snap paper grid=100x31 cursor=4,6 +== snap paper grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#367157, 2-32 #4a5a52,#bdd8ca, 33-49 #69447a,#bdd8ca, 50-51 #69447a,#8fa594, 52-82 #52625a,#e8eae3, 83-99 #724c83,#e8eae3, +|3: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-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, +|5: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#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, |8: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#f5f3ed, @@ -149,10 +149,10 @@ |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-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, +|16: 0-1 d,#8fa594, 2-32 #52625a,#e8eae3, 33-49 #724c83,#e8eae3, 50-50 #724c83,#869d8a, 51-99 #724c83,#f5f3ed, +|17: 0-0 d,#869d8a, 1-1 d,#f5f3ed, 2-49 #303b3b,#f5f3ed, 50-50 #303b3b,#869d8a, 51-99 #303b3b,#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, +|19: 0-0 d,#869d8a, 1-49 d,#f5f3ed, 50-50 d,#869d8a, 51-99 d,#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, @@ -164,15 +164,15 @@ |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-1 d,#e8eae3, 2-99 #6f7d75,#e8eae3, -== snap daybreak grid=100x31 cursor=4,6 +== snap daybreak grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#006198, 2-32 #213e56,#c7dcec, 33-49 #52255f,#c7dcec, 50-51 #52255f,#7b9eb7, 52-82 #29465e,#edf2f7, 83-99 #5a2d67,#edf2f7, +|3: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-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, +|5: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#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, |8: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#ffffff, @@ -183,10 +183,10 @@ |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-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, +|16: 0-1 d,#7b9eb7, 2-32 #29465e,#edf2f7, 33-49 #5a2d67,#edf2f7, 50-50 #5a2d67,#6685a0, 51-99 #5a2d67,#ffffff, +|17: 0-0 d,#6685a0, 1-1 d,#ffffff, 2-49 #142d40,#ffffff, 50-50 #142d40,#6685a0, 51-99 #142d40,#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, +|19: 0-0 d,#6685a0, 1-49 d,#ffffff, 50-50 d,#6685a0, 51-99 d,#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, @@ -198,15 +198,15 @@ |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-1 d,#edf2f7, 2-99 #6d8294,#edf2f7, -== snap atelier grid=100x31 cursor=4,6 +== snap atelier grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#36826b, 2-32 #35584d,#bfdcce, 33-49 #653f6b,#bfdcce, 50-51 #653f6b,#95baa2, 52-82 #3d6055,#e4f0ed, 83-99 #6e4774,#e4f0ed, +|3: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-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, +|5: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#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, |8: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#fffdeb, @@ -217,10 +217,10 @@ |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-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, +|16: 0-1 d,#95baa2, 2-32 #3d6055,#e4f0ed, 33-49 #6e4774,#e4f0ed, 50-50 #6e4774,#9fae76, 51-99 #6e4774,#fffdeb, +|17: 0-0 d,#9fae76, 1-1 d,#fffdeb, 2-49 #293f35,#fffdeb, 50-50 #293f35,#9fae76, 51-99 #293f35,#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, +|19: 0-0 d,#9fae76, 1-49 d,#fffdeb, 50-50 d,#9fae76, 51-99 d,#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, @@ -232,15 +232,15 @@ |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-1 d,#e4f0ed, 2-99 #66837a,#e4f0ed, -== snap forge grid=100x31 cursor=4,6 +== snap forge grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#9cc3f7, 2-32 #d1d5de,#374253, 33-49 #f8cba7,#374253, 50-51 #f8cba7,#55647b, 52-82 #c5c9d2,#22252b, 83-99 #ecbf9b,#22252b, +|3: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-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, +|5: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#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, |8: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#0c0c0e, @@ -251,10 +251,10 @@ |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-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, +|16: 0-1 d,#55647b, 2-32 #c5c9d2,#22252b, 33-49 #ecbf9b,#22252b, 50-50 #ecbf9b,#708095, 51-99 #ecbf9b,#0c0c0e, +|17: 0-0 d,#708095, 1-1 d,#0c0c0e, 2-49 #e5e5e5,#0c0c0e, 50-50 #e5e5e5,#708095, 51-99 #e5e5e5,#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, +|19: 0-0 d,#708095, 1-49 d,#0c0c0e, 50-50 d,#708095, 51-99 d,#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, @@ -266,15 +266,15 @@ |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-1 d,#22252b, 2-99 #767a82,#22252b, -== snap lagoon grid=100x31 cursor=4,6 +== snap lagoon grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#81cfb7, 2-32 #c7e3d7,#3a6154, 33-49 #f0cef8,#3a6154, 50-51 #f0cef8,#548372, 52-82 #bbd7cb,#29443f, 83-99 #e4c2ec,#29443f, +|3: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-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, +|5: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#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, |8: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#34464c, @@ -285,10 +285,10 @@ |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-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, +|16: 0-1 d,#548372, 2-32 #bbd7cb,#29443f, 33-49 #e4c2ec,#29443f, 50-50 #e4c2ec,#6e9b8b, 51-99 #e4c2ec,#34464c, +|17: 0-0 d,#6e9b8b, 1-1 d,#34464c, 2-49 #bac9ce,#34464c, 50-50 #bac9ce,#6e9b8b, 51-99 #bac9ce,#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, +|19: 0-0 d,#6e9b8b, 1-49 d,#34464c, 50-50 d,#6e9b8b, 51-99 d,#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, @@ -300,15 +300,15 @@ |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-1 d,#29443f, 2-99 #809c93,#29443f, -== snap solarium grid=100x31 cursor=4,6 +== snap solarium grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#e1c266, 2-32 #d3e0c9,#2f5c5c, 33-49 #f5cdec,#2f5c5c, 50-51 #f5cdec,#467f76, 52-82 #c7d4bd,#123f43, 83-99 #e9c1e0,#123f43, +|3: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-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, +|5: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#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, |8: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#173e45, @@ -319,10 +319,10 @@ |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-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, +|16: 0-1 d,#467f76, 2-32 #c7d4bd,#123f43, 33-49 #e9c1e0,#123f43, 50-50 #e9c1e0,#65978c, 51-99 #e9c1e0,#173e45, +|17: 0-0 d,#65978c, 1-1 d,#173e45, 2-49 #a7b7ae,#173e45, 50-50 #a7b7ae,#65978c, 51-99 #a7b7ae,#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, +|19: 0-0 d,#65978c, 1-49 d,#173e45, 50-50 d,#65978c, 51-99 d,#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, @@ -334,15 +334,15 @@ |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-1 d,#123f43, 2-99 #7b9489,#123f43, -== snap spectrum grid=100x31 cursor=4,6 +== snap spectrum grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#ffd866, 2-32 #e9e4c7,#5a523a, 33-49 #d7e3ff,#5a523a, 50-51 #d7e3ff,#92844f, 52-82 #ddd8bb,#3b3830, 83-99 #c5d7ff,#3b3830, +|3: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-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, +|5: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#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, |8: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#100e11, @@ -353,10 +353,10 @@ |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-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, +|16: 0-1 d,#92844f, 2-32 #ddd8bb,#3b3830, 33-49 #c5d7ff,#3b3830, 50-50 #c5d7ff,#948d6f, 51-99 #c5d7ff,#100e11, +|17: 0-0 d,#948d6f, 1-1 d,#100e11, 2-49 #fcfcfa,#100e11, 50-50 #fcfcfa,#948d6f, 51-99 #fcfcfa,#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, +|19: 0-0 d,#948d6f, 1-49 d,#100e11, 50-50 d,#948d6f, 51-99 d,#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, @@ -368,15 +368,15 @@ |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-1 d,#3b3830, 2-99 #918d7a,#3b3830, -== snap harvest grid=100x31 cursor=4,6 +== snap harvest grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#d8bd83, 2-32 #e1e4c4,#4a583e, 33-49 #c5e7f7,#4a583e, 50-51 #c5e7f7,#7b7e4e, 52-82 #d5d8b8,#343b2e, 83-99 #badbeb,#343b2e, +|3: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-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, +|5: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#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, |8: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#100e0b, @@ -387,10 +387,10 @@ |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-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, +|16: 0-1 d,#7b7e4e, 2-32 #d5d8b8,#343b2e, 33-49 #badbeb,#343b2e, 50-50 #badbeb,#888e5e, 51-99 #badbeb,#100e0b, +|17: 0-0 d,#888e5e, 1-1 d,#100e0b, 2-49 #f3f2cc,#100e0b, 50-50 #f3f2cc,#888e5e, 51-99 #f3f2cc,#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, +|19: 0-0 d,#888e5e, 1-49 d,#100e0b, 50-50 d,#888e5e, 51-99 d,#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, @@ -402,15 +402,15 @@ |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-1 d,#343b2e, 2-99 #8b9079,#343b2e, -== snap clay grid=100x31 cursor=4,6 +== snap clay grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#8ac874, 2-32 #e3e2c2,#4d5c48, 33-49 #b5ecec,#4d5c48, 50-51 #b5ecec,#687c4d, 52-82 #d7d6b6,#343f36, 83-99 #aae0e0,#343f36, +|3: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-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, +|5: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#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, |8: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#10100e, @@ -421,10 +421,10 @@ |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-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, +|16: 0-1 d,#687c4d, 2-32 #d7d6b6,#343f36, 33-49 #aae0e0,#343f36, 50-50 #aae0e0,#8c9467, 51-99 #aae0e0,#10100e, +|17: 0-0 d,#8c9467, 1-1 d,#10100e, 2-49 #f3e5bc,#10100e, 50-50 #f3e5bc,#8c9467, 51-99 #f3e5bc,#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, +|19: 0-0 d,#8c9467, 1-49 d,#10100e, 50-50 d,#8c9467, 51-99 d,#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, @@ -436,15 +436,15 @@ |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-1 d,#343f36, 2-99 #90947e,#343f36, -== snap forge-black grid=100x31 cursor=4,6 +== snap forge-black grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#9cc3f7, 2-32 #d1d5de,#374253, 33-49 #f8cba7,#374253, 50-51 #f8cba7,#55647b, 52-82 #c5c9d2,#22252b, 83-99 #ecbf9b,#22252b, +|3: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-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, +|5: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#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, |8: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#000000, @@ -455,10 +455,10 @@ |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-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, +|16: 0-1 d,#55647b, 2-32 #c5c9d2,#22252b, 33-49 #ecbf9b,#22252b, 50-50 #ecbf9b,#708095, 51-99 #ecbf9b,#000000, +|17: 0-0 d,#708095, 1-1 d,#000000, 2-49 #f6f6f6,#000000, 50-50 #f6f6f6,#708095, 51-99 #f6f6f6,#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, +|19: 0-0 d,#708095, 1-49 d,#000000, 50-50 d,#708095, 51-99 d,#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, @@ -470,15 +470,15 @@ |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-1 d,#22252b, 2-99 #767a82,#22252b, -== snap forge-soft grid=100x31 cursor=4,6 +== snap forge-soft grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#9cc3f7, 2-32 #d1d5de,#404a58, 33-49 #f8cba7,#404a58, 50-51 #f8cba7,#55647b, 52-82 #c5c9d2,#2a2d34, 83-99 #ecbf9b,#2a2d34, +|3: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-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, +|5: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#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, |8: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#35383e, @@ -489,10 +489,10 @@ |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-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, +|16: 0-1 d,#55647b, 2-32 #c5c9d2,#2a2d34, 33-49 #ecbf9b,#2a2d34, 50-50 #ecbf9b,#708095, 51-99 #ecbf9b,#35383e, +|17: 0-0 d,#708095, 1-1 d,#35383e, 2-49 #bfc3cc,#35383e, 50-50 #bfc3cc,#708095, 51-99 #bfc3cc,#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, +|19: 0-0 d,#708095, 1-49 d,#35383e, 50-50 d,#708095, 51-99 d,#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, @@ -504,15 +504,15 @@ |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-1 d,#2a2d34, 2-99 #7e818a,#2a2d34, -== snap orchard-black grid=100x31 cursor=4,6 +== snap orchard-black grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-49 #dfbce5,#314738, 50-51 #dfbce5,#496656, 52-82 #b2c3b8,#1d2824, 83-99 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-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, +|5: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#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, |8: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#000000, @@ -523,10 +523,10 @@ |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-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, +|16: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#000000, +|17: 0-0 d,#608269, 1-1 d,#000000, 2-49 #f2f8ef,#000000, 50-50 #f2f8ef,#608269, 51-99 #f2f8ef,#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, +|19: 0-0 d,#608269, 1-49 d,#000000, 50-50 d,#608269, 51-99 d,#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, @@ -538,15 +538,15 @@ |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-1 d,#1d2824, 2-99 #6f7d75,#1d2824, -== snap acme grid=100x31 cursor=4,6 +== snap acme grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#8888cc, 2-32 #000000,#eaffff, 33-49 #000099,#eaffff, 50-51 #000099,#b9c3e5, 52-82 #000000,#eaffff, 83-99 #000099,#eaffff, +|3: 0-1 d,#ffffea, 2-99 #000000,#ffffea, |4: 0-1 d,#ffffea, 2-99 #000000,#ffffea, -|5: 0-1 d,#ffffea, 2-99 #000000,#ffffea, +|5: 0-99 d,#ffffea, |6: 0-99 d,#ffffea, |7: 0-99 d,#ffffea, |8: 0-99 d,#ffffea, @@ -557,10 +557,10 @@ |13: 0-99 d,#ffffea, |14: 0-99 d,#ffffea, |15: 0-99 d,#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, +|16: 0-1 d,#b9c3e5, 2-32 #000000,#eaffff, 33-49 #000099,#eaffff, 50-99 #000099,#ffffea, +|17: 0-1 d,#ffffea, 2-99 #000000,#ffffea, |18: 0-1 d,#ffffea, 2-99 #000000,#ffffea, -|19: 0-1 d,#ffffea, 2-99 #000000,#ffffea, +|19: 0-99 d,#ffffea, |20: 0-99 d,#ffffea, |21: 0-99 d,#ffffea, |22: 0-99 d,#ffffea, @@ -572,15 +572,15 @@ |28: 0-99 d,#ffffea, |29: 0-99 d,#ffffea, |30: 0-1 d,#eaffff, 2-99 #7a8686,#eaffff, -== snap lapis grid=100x31 cursor=4,6 +== snap lapis grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#e8c46a, 2-32 #eee6d2,#25397d, 33-49 #f2d280,#25397d, 50-51 #f2d280,#6a78b1, 52-82 #9aa6d9,#0f1a4a, 83-99 #e8c46a,#0f1a4a, +|3: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-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, +|5: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#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, |8: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#0a1030, @@ -591,10 +591,10 @@ |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-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, +|16: 0-1 d,#6a78b1, 2-32 #9aa6d9,#0f1a4a, 33-49 #e8c46a,#0f1a4a, 50-50 #e8c46a,#e8c46a, 51-99 #e8c46a,#0a1030, +|17: 0-0 d,#e8c46a, 1-1 d,#0a1030, 2-49 #eee6d2,#0a1030, 50-50 #eee6d2,#e8c46a, 51-99 #eee6d2,#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, +|19: 0-0 d,#e8c46a, 1-49 d,#0a1030, 50-50 d,#e8c46a, 51-99 d,#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, @@ -606,15 +606,15 @@ |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-1 d,#0f1a4a, 2-99 #6472a5,#0f1a4a, -== snap dark-plus grid=100x31 cursor=4,6 +== snap dark-plus grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#007fd4, 2-32 #ffffff,#1e1e1e, 33-49 #cbe5fc,#1e1e1e, 50-51 #cbe5fc,#1c608e, 52-82 #a7a7a7,#3c3c3c, 83-99 #68aee9,#3c3c3c, +|3: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-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, +|5: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#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, |8: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#1e1e1e, @@ -625,10 +625,10 @@ |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-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, +|16: 0-1 d,#1c608e, 2-32 #a7a7a7,#3c3c3c, 33-49 #68aee9,#3c3c3c, 50-50 #68aee9,#424242, 51-99 #68aee9,#1e1e1e, +|17: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-49 #d4d4d4,#1e1e1e, 50-50 #d4d4d4,#424242, 51-99 #d4d4d4,#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, +|19: 0-0 d,#424242, 1-49 d,#1e1e1e, 50-50 d,#424242, 51-99 d,#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, @@ -640,15 +640,15 @@ |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-1 d,#007acc, 2-99 #d3e5f7,#007acc, -== snap solarized-dark grid=100x31 cursor=4,6 +== snap solarized-dark grid=100x31 cursor=4,5 |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, +|2: 0-1 d,#2483c5, 2-32 #073642,#93a1a1, 33-49 #2d3502,#93a1a1, 50-51 #2d3502,#185986, 52-82 #01090b,#657b83, 83-99 #121600,#657b83, +|3: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-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, +|5: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#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, |8: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#002b36, @@ -659,10 +659,10 @@ |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-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, +|16: 0-1 d,#185986, 2-32 #01090b,#657b83, 33-49 #121600,#657b83, 50-50 #121600,#839496, 51-99 #121600,#002b36, +|17: 0-0 d,#839496, 1-1 d,#002b36, 2-49 #839496,#002b36, 50-50 #839496,#839496, 51-99 #839496,#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, +|19: 0-0 d,#839496, 1-49 d,#002b36, 50-50 d,#839496, 51-99 d,#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, diff --git a/test/snapshots/themesel.golden b/test/snapshots/themesel.golden index b975c35b..ea298fec 100644 --- a/test/snapshots/themesel.golden +++ b/test/snapshots/themesel.golden @@ -1,7 +1,7 @@ == snap boot 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/themesel/cwd/t.txt Save Term Collapse Follow Del +| /tmp/pardes-snap/themesel/cwd/t.txt Del | 1 line 1 | 2 line 2 | 3 line 3 @@ -31,7 +31,7 @@ | 27 line 27 | /tmp/pardes-snap/themesel/cwd/t.txt:1 == snap list grid=100x31 cursor=7,3 -|16: /tmp/pardes-snap/themesel/cwd/+Themes Save Term Collapse Follow Del +|16: /tmp/pardes-snap/themesel/cwd/+Themes Del |17: 1 # Pardes themes |18: 2 Theme orchard |19: 3 Theme dusk diff --git a/test/snapshots/topbarexec.golden b/test/snapshots/topbarexec.golden index 5a6ebf64..9f30f66b 100644 --- a/test/snapshots/topbarexec.golden +++ b/test/snapshots/topbarexec.golden @@ -1,8 +1,8 @@ == snap selected grid=90x21 cursor=14,5 | 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/topbarexec/cwd Term+bash S /tmp/pardes-snap/topbarexec/cwd Term+bash S -| ave Mode Filter Collapse Del ave Mode Filter Collapse Del +| /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/pardes-snap/topbarexec/cwd Del Term+ba +| sh sh | ls ls | zmarkfile.txt zmarkfile.txt | @@ -10,8 +10,8 @@ | | | -| /tmp/pardes-snap/topbarexec/cwd Term+bash S -| ave Mode Filter Collapse Del +| /tmp/pardes-snap/topbarexec/cwd Del Term+ba +| sh | ls | zmarkfile.txt | @@ -22,8 +22,8 @@ | /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 │ +|2: /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/│pardes resizes=1 │ +|3: sh sh │theme orchard │ |4: ls ls │font default │ |5: zmarkfile.txt zmark│terms 3 cols 2 │ |6: │active #0 43x7 │ @@ -31,14 +31,14 @@ |8: │frame virtual clock │ |9: │ │ |10: │ │ -|11: /tmp/pardes-snap/topbarexec/cwd Term+bash S │ │ -|12: ave Mode Filter Collapse Del │ │ +|11: /tmp/pardes-snap/topbarexec/cwd Del Term+ba │ │ +|12: sh │ │ |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 +|2: /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/pardes-snap/topbarexec/cwd Del Term+ba +|3: sh sh |4: zmarkfile.txt ls |5: zmarkfile.txt |6: +Search 1/1 Del @@ -48,8 +48,8 @@ |10: xt Del |11: 1 hay ZQNEEDLE stack |12: -|13: /tmp/pardes-snap/topbarexec/cwd Term+bash S -|14: ave Mode Filter Collapse Del +|13: /tmp/pardes-snap/topbarexec/cwd Del Term+ba +|14: sh |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 8d9e5f1e..5b7600b0 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -1,8 +1,7 @@ -== snap tty-on grid=100x31 cursor=4,6 +== snap tty-on grid=100x31 cursor=4,5 | 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/tty/cwd Term+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil -| ter Collapse Del ter Collapse Del +|$ /tmp/pardes-snap/tty/cwd Del Term+bash /tmp/pardes-snap/tty/cwd Del Term+bash | $ ls ls | m.txt m.txt | $ @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil -| ter Collapse Del +| +| /tmp/pardes-snap/tty/cwd Del Term+bash | ls | m.txt | @@ -29,23 +28,24 @@ | | | +| | /tmp/pardes-snap/tty/cwd -== snap tty-echo grid=100x31 cursor=4,8 -|6: $ echo SNAP''OK -|7: SNAPOK -|8: $ -== snap tty-off grid=100x31 cursor=4,8 -|2: /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Term+bash Save Mode Fil -|4: ls ls -|6: echo SNAP''OK -|8: -== snap shift-esc-normal grid=100x31 cursor=4,20 +== snap tty-echo grid=100x31 cursor=4,7 +|5: $ echo SNAP''OK +|6: SNAPOK +|7: $ +== snap tty-off grid=100x31 cursor=4,7 +|2: /tmp/pardes-snap/tty/cwd Del Term+bash /tmp/pardes-snap/tty/cwd Del Term+bash +|3: ls ls +|5: echo SNAP''OK +|7: +== snap shift-esc-normal grid=100x31 cursor=4,19 |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: +== snap ctrl-b-on grid=100x31 cursor=4,19 +|16: $ /tmp/pardes-snap/tty/cwd Del Term+bash +|17: $ ls +|19: $ +== snap ctrl-b-off grid=100x31 cursor=4,19 +|16: /tmp/pardes-snap/tty/cwd Del Term+bash +|17: ls +|19: diff --git a/test/snapshots/ttyclick.golden b/test/snapshots/ttyclick.golden index 9334dd01..a8e8e8c6 100644 --- a/test/snapshots/ttyclick.golden +++ b/test/snapshots/ttyclick.golden @@ -1,8 +1,7 @@ -== snap tty-bodyclick grid=100x31 cursor=4,6 +== snap tty-bodyclick grid=100x31 cursor=4,5 | 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/ttyclick/cwd Term+bash Save Mod /tmp/pardes-snap/ttyclick/cwd Term+bash Save Mod -| e Filter Collapse Del e Filter Collapse Del +|$ /tmp/pardes-snap/ttyclick/cwd Del Term+bash /tmp/pardes-snap/ttyclick/cwd Del Term+bash | $ ls ls | probe.txt probe.txt | $ @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ttyclick/cwd Term+bash Save Mod -| e Filter Collapse Del +| +| /tmp/pardes-snap/ttyclick/cwd Del Term+bash | ls | probe.txt | @@ -29,10 +28,11 @@ | | | +| | /tmp/pardes-snap/ttyclick/cwd -== snap tty-tagedit grid=100x31 cursor=32,2 -== snap tty-tagexit grid=100x31 cursor=4,6 +== snap tty-tagedit grid=100x31 cursor=36,2 +== snap tty-tagexit grid=100x31 cursor=4,5 == snap ins-bodyclick grid=100x31 cursor=11,4 -|2: ^ /tmp/pardes-snap/ttyclick/cwd Term+bash Save Mod /tmp/pardes-snap/ttyclick/cwd Term+bash Save Mod -|4: ls ls -|6: +|2: ^ /tmp/pardes-snap/ttyclick/cwd Del Term+bash /tmp/pardes-snap/ttyclick/cwd Del Term+bash +|3: ls ls +|5: diff --git a/test/snapshots/ttyedit.golden b/test/snapshots/ttyedit.golden index d9f2d8a5..a2911ce1 100644 --- a/test/snapshots/ttyedit.golden +++ b/test/snapshots/ttyedit.golden @@ -1,8 +1,7 @@ -== snap before grid=100x31 cursor=7,8 +== snap before grid=100x31 cursor=7,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/ttyedit/cwd Term+bash Save Mode /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode -| Filter Collapse Del Filter Collapse Del +| /tmp/pardes-snap/ttyedit/cwd Del Term+bash /tmp/pardes-snap/ttyedit/cwd Del Term+bash | ls ls | words.txt words.txt | printf 'one two three\nfour five six\nseven ei @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ttyedit/cwd Term+bash Save Mode -| Filter Collapse Del +| +| /tmp/pardes-snap/ttyedit/cwd Del Term+bash | ls | words.txt | @@ -29,26 +28,27 @@ | | | +| | /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 -|8: one t -|9: wo three -|10: four five six -|11: seven eight nine +== snap split grid=100x31 cursor=2,8 +|2: ^ /tmp/pardes-snap/ttyedit/cwd Del Term+bash /tmp/pardes-snap/ttyedit/cwd Del Term+bash +|7: one t +|8: wo three +|9: four five six +|10: seven eight nine |30: · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program dr… 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 -|10: OPEN -|11: four five six -|12: seven eight nine -== snap joined grid=100x31 cursor=10,9 -|9: wo threeOPEN +== snap opened grid=100x31 cursor=6,9 +|2: /tmp/pardes-snap/ttyedit/cwd Del Term+bash /tmp/pardes-snap/ttyedit/cwd Del Term+bash +|9: OPEN |10: four five six |11: seven eight nine -|12: -== snap undone grid=100x31 cursor=7,8 -|8: one two three +== snap joined grid=100x31 cursor=10,8 +|8: wo threeOPEN |9: four five six |10: seven eight nine |11: +== snap undone grid=100x31 cursor=7,7 +|7: one two three +|8: four five six +|9: seven eight nine +|10: diff --git a/test/snapshots/ttyfollow.golden b/test/snapshots/ttyfollow.golden index b7e9f527..33e26d74 100644 --- a/test/snapshots/ttyfollow.golden +++ b/test/snapshots/ttyfollow.golden @@ -1,10 +1,10 @@ == 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 -| 187 ls -| 188 s.txt +| /tmp/pardes-snap/ttyfollow/cwd Del Term+bash /tmp/pardes-snap/ttyfollow/cwd Del Term+bash +| 186 ls +| 187 s.txt +| 188 | 189 | 190 | 191 @@ -15,8 +15,7 @@ | 196 | 197 | 198 -| /tmp/pardes-snap/ttyfollow/cwd Term+bash Save Mo -| de Filter Collapse Del +| /tmp/pardes-snap/ttyfollow/cwd Del Term+bash | ls | s.txt | @@ -29,22 +28,24 @@ | | | +| | /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: 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 held-post grid=100x31 cursor=54,8 +|2: /tmp/pardes-snap/ttyfollow/cwd Del Term+bash $ /tmp/pardes-snap/ttyfollow/cwd Del Term+bash +|3: 186 $ ls +|5: 188 $ touch go; until test -f done1; do sleep 0.05; +|6: 189 done; echo SYN''CED +|7: 190 SYNCED +|8: 191 $ == 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: 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 $ +|2: $ /tmp/pardes-snap/ttyfollow/cwd Del Term+bash $ /tmp/pardes-snap/ttyfollow/cwd Del Term+bash +|3: 293 $ ls +|4: 294 s.txt +|5: 295 $ touch go; until test -f done1; do sleep 0.05; +|6: 296 done; echo SYN''CED +|7: 297 SYNCED +|8: 298 $ +|9: 299 |10: 300 |11: [1]+ Done ( until test -f |12: go; do diff --git a/test/snapshots/ttylook.golden b/test/snapshots/ttylook.golden index aae39015..0a3750b4 100644 --- a/test/snapshots/ttylook.golden +++ b/test/snapshots/ttylook.golden @@ -1,8 +1,7 @@ -== snap tok1 grid=120x31 cursor=2,5 +== snap tok1 grid=120x31 cursor=2,4 | 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/ttylook/cwd Term+bash Save Mode Filter Co /tmp/pardes-snap/ttylook/cwd Term+bash Save Mode Filter Co -| llapse Del llapse Del +| /tmp/pardes-snap/ttylook/cwd Del Term+bash /tmp/pardes-snap/ttylook/cwd Del Term+bash | ls ls | big.txt plain.txt sub big.txt plain.txt sub | @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ttylook/cwd Term+bash Save Mode Filter Co -| llapse Del +| +| /tmp/pardes-snap/ttylook/cwd Del Term+bash | ls | big.txt plain.txt sub | @@ -29,14 +28,15 @@ | | | +| | /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, -|2: 0-1 d,#add38a, 2-30 #becfc4,#314738, 31-40 #dfbce5,#314738, 41-59 #becfc4,#314738, 60-61 #becfc4,#496656, 62-90 #b2c3b8,#1d2824, 91-100 #d3b0d9,#1d2824, 101-119 #b2c3b8,#1d2824, -|3: 0-1 d,#314738, 2-59 #becfc4,#314738, 60-61 #becfc4,#1d2824, 62-119 #b2c3b8,#1d2824, -|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-8 #f5f7ee,#3c614a, 9-10 #f5f7ee,#0d1410, 11-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|2: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-59 #dfbce5,#314738, 60-61 #dfbce5,#496656, 62-94 #b2c3b8,#1d2824, 95-119 #d3b0d9,#1d2824, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-8 #f5f7ee,#3c614a, 9-10 #f5f7ee,#0d1410, 11-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |6: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |7: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, |8: 0-0 d,#608269, 1-59 d,#0d1410, 60-60 d,#608269, 61-119 d,#0d1410, @@ -47,10 +47,10 @@ |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-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, +|16: 0-1 d,#496656, 2-34 #b2c3b8,#1d2824, 35-59 #d3b0d9,#1d2824, 60-60 #d3b0d9,#608269, 61-119 #d3b0d9,#0d1410, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-59 #e5eee5,#0d1410, 60-60 #e5eee5,#608269, 61-119 #e5eee5,#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, +|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, |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, @@ -62,20 +62,19 @@ |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-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 +== snap tok2 grid=120x31 cursor=11,4 +== snap tokback grid=120x31 cursor=2,4 +== snap insert grid=120x31 cursor=4,4 +|4: 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,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 -|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: ~ +== snap tok3 grid=120x31 cursor=22,4 +|4: big.txt plain.txt sub big.txt plain.txt sub +== snap diropen grid=120x31 cursor=7,21 +|20: /tmp/pardes-snap/ttylook/cwd/sub/ Get Del +|21: 1 +== snap noop grid=120x31 cursor=2,4 +== snap cursorword grid=120x31 cursor=3,3 +|6: /tmp/pardes-snap/ttylook/cwd/+Search Del +|7: 1 @p1:1:1-2 +|8: 2 ls +|9: ~ diff --git a/test/snapshots/ttyonly.golden b/test/snapshots/ttyonly.golden index 4c640cae..76e23750 100644 --- a/test/snapshots/ttyonly.golden +++ b/test/snapshots/ttyonly.golden @@ -1,7 +1,7 @@ == snap ttyonly 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/ttyonly/cwd Term+bash Save Mode Filter Collapse Del +|$ /tmp/pardes-snap/ttyonly/cwd Del Term+bash | $ echo TTY''ONLY | TTYONLY | $ @@ -20,7 +20,7 @@ | | | -| /tmp/pardes-snap/ttyonly/cwd/+New Save Term Collapse Follow Del +| /tmp/pardes-snap/ttyonly/cwd/+New Del | 1 | | @@ -33,7 +33,7 @@ == style ttyonly grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-30 #becfc4,#314738, 31-40 #dfbce5,#314738, 41-99 #becfc4,#314738, +|2: 0-1 #000000,#add38a, 2-34 #becfc4,#314738, 35-99 #dfbce5,#314738, |3: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, diff --git a/test/snapshots/ttypaste.golden b/test/snapshots/ttypaste.golden index 35364d52..2d0af45a 100644 --- a/test/snapshots/ttypaste.golden +++ b/test/snapshots/ttypaste.golden @@ -1,8 +1,7 @@ -== snap bracketed-paste-reached-the-shell grid=100x31 cursor=18,6 +== snap bracketed-paste-reached-the-shell grid=100x31 cursor=18,5 | 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/ttypaste/cwd Term+bash Save Mod /tmp/pardes-snap/ttypaste/cwd Term+bash Save Mod -| e Filter Collapse Del e Filter Collapse Del +|$ /tmp/pardes-snap/ttypaste/cwd Del Term+bash /tmp/pardes-snap/ttypaste/cwd Del Term+bash | $ ls ls | src.txt src.txt | $ echo BRACKETED @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ttypaste/cwd Term+bash Save Mod -| e Filter Collapse Del +| +| /tmp/pardes-snap/ttypaste/cwd Del Term+bash | ls | src.txt | @@ -29,5 +28,6 @@ | | | +| | /tmp/pardes-snap/ttypaste/cwd -== snap ctrl-v-with-empty-register-is-inert grid=100x31 cursor=18,6 +== snap ctrl-v-with-empty-register-is-inert grid=100x31 cursor=18,5 diff --git a/test/snapshots/ttyprompt.golden b/test/snapshots/ttyprompt.golden index e0f76455..6f5ac034 100644 --- a/test/snapshots/ttyprompt.golden +++ b/test/snapshots/ttyprompt.golden @@ -1,8 +1,7 @@ -== snap greeted grid=100x31 cursor=4,6 +== snap greeted grid=100x31 cursor=4,5 | 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/ttyprompt/cwd Term+bash Save Mo /tmp/pardes-snap/ttyprompt/cwd Term+bash Save Mo -| de Filter Collapse Del de Filter Collapse Del +| /tmp/pardes-snap/ttyprompt/cwd Del Term+bash /tmp/pardes-snap/ttyprompt/cwd Del Term+bash | ls ls | probe.txt probe.txt | @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/ttyprompt/cwd Term+bash Save Mo -| de Filter Collapse Del +| +| /tmp/pardes-snap/ttyprompt/cwd Del Term+bash | ls | probe.txt | @@ -29,12 +28,13 @@ | | | +| | /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 -|6: $ echo ABCDEFGH -== snap out-of-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 -|6: echo ABCDEFGH +== snap in-tty grid=100x31 cursor=17,5 +|2: $ /tmp/pardes-snap/ttyprompt/cwd Del Term+bash /tmp/pardes-snap/ttyprompt/cwd Del Term+bash +|3: $ ls ls +|5: $ echo ABCDEFGH +== snap out-of-tty grid=100x31 cursor=17,5 +|2: /tmp/pardes-snap/ttyprompt/cwd Del Term+bash /tmp/pardes-snap/ttyprompt/cwd Del Term+bash +|3: ls ls +|5: echo ABCDEFGH diff --git a/test/snapshots/ttytaken.golden b/test/snapshots/ttytaken.golden index 337072f1..d12b83a0 100644 --- a/test/snapshots/ttytaken.golden +++ b/test/snapshots/ttytaken.golden @@ -1,7 +1,7 @@ == snap opened grid=210x31 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/ttytaken/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/ttytaken/cwd Del Term+bash | ls | big.txt | @@ -31,7 +31,7 @@ | | /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` +|2: /tmp/pardes-snap/ttytaken/cwd Del Term+bash @`echo TAKEN''ONE` |5: echo TAKEN''ONE |6: TAKENONE |30: ✓ @p1 Exec 1 message · SPC h m @@ -64,9 +64,9 @@ |28: line 26 |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` +|2: /tmp/pardes-snap/ttytaken/cwd Del Term+bash @`echo TAKEN''ONE` @`echo TAKEN''TWO` |15: : -|16: /tmp/pardes-snap/ttytaken/cwd (echo TAKEN''TWO) exit 0 Kill Save Collapse Del +|16: /tmp/pardes-snap/ttytaken/cwd (echo TAKEN''TWO) exit 0 Del |17: % echo TAKEN''TWO |18: TAKENTWO |19: exit 0 diff --git a/test/snapshots/tutor.golden b/test/snapshots/tutor.golden index c6316c73..c9ebadaa 100644 --- a/test/snapshots/tutor.golden +++ b/test/snapshots/tutor.golden @@ -1,7 +1,7 @@ == 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 +| /tmp/pardes-snap/tutor/cwd Del Term+bash /tmp/pardes-snap/tutor/cwd Del Term+bash | ls ls | | @@ -15,10 +15,10 @@ | | | -| /tmp/pardes-snap/tutor/cwd Term+bash Save Mode Filter Collapse Del +| /tmp/pardes-snap/tutor/cwd Del Term+bash | ls | -| /tmp/pardes-snap/tutor/cwd/+Tutor Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/tutor/cwd/+Tutor Keep Del | 1 | 2 PARDES TUTOR | 3 diff --git a/test/snapshots/wheeldrift.golden b/test/snapshots/wheeldrift.golden index 7cb647d4..a1e9a978 100644 --- a/test/snapshots/wheeldrift.golden +++ b/test/snapshots/wheeldrift.golden @@ -1,8 +1,7 @@ -== snap home grid=70x17 cursor=7,4 +== snap home 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/wheeldrift/cwd/drift.txt Keep Save Term Collapse Fo -| llow Del +| /tmp/pardes-snap/wheeldrift/cwd/drift.txt Keep Del | 1 line 1_0123456789_abcdefghij_ZEND | 2 line 2_0123456789_abcdefghij_ZEND | 3 line 3_0123456789_abcdefghij_ZEND @@ -15,22 +14,39 @@ | 10 line 10_0123456789_abcdefghij_ZEND | 11 line 11_0123456789_abcdefghij_ZEND | 12 line 12_0123456789_abcdefghij_ZEND +| 13 line 13_0123456789_abcdefghij_ZEND | ✓ …p/pardes-snap/wheeldrift/cwd/drift.txt Wrap 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 -|6: 8 line 8_0123456789_abcdefghij_ZEND -|7: 9 line 9_0123456789_abcdefghij_ZEND -|8: 10 line 10_0123456789_abcdefghij_ZEND -|9: 11 line 11_0123456789_abcdefghij_ZEND -|10: 12 line 12_0123456789_abcdefghij_ZEND -|11: 13 line 13_0123456789_abcdefghij_ZEND -|12: 14 line 14_0123456789_abcdefghij_ZEND -|13: 15 line 15_0123456789_abcdefghij_ZEND -|14: 16 line 16_0123456789_abcdefghij_ZEND -|15: 17 line 17_0123456789_abcdefghij_ZEND +|3: 6 line 6_0123456789_abcdefghij_ZEND +|4: 7 line 7_0123456789_abcdefghij_ZEND +|5: 8 line 8_0123456789_abcdefghij_ZEND +|6: 9 line 9_0123456789_abcdefghij_ZEND +|7: 10 line 10_0123456789_abcdefghij_ZEND +|8: 11 line 11_0123456789_abcdefghij_ZEND +|9: 12 line 12_0123456789_abcdefghij_ZEND +|10: 13 line 13_0123456789_abcdefghij_ZEND +|11: 14 line 14_0123456789_abcdefghij_ZEND +|12: 15 line 15_0123456789_abcdefghij_ZEND +|13: 16 line 16_0123456789_abcdefghij_ZEND +|14: 17 line 17_0123456789_abcdefghij_ZEND +|15: 18 line 18_0123456789_abcdefghij_ZEND == snap paying grid=70x17 cursor=hidden == snap moved grid=70x17 cursor=hidden +|3: 6 123456789_abcdefghij_ZEND +|4: 7 123456789_abcdefghij_ZEND +|5: 8 123456789_abcdefghij_ZEND +|6: 9 123456789_abcdefghij_ZEND +|7: 10 0123456789_abcdefghij_ZEND +|8: 11 0123456789_abcdefghij_ZEND +|9: 12 0123456789_abcdefghij_ZEND +|10: 13 0123456789_abcdefghij_ZEND +|11: 14 0123456789_abcdefghij_ZEND +|12: 15 0123456789_abcdefghij_ZEND +|13: 16 0123456789_abcdefghij_ZEND +|14: 17 0123456789_abcdefghij_ZEND +|15: 18 0123456789_abcdefghij_ZEND +== snap rearmed grid=70x17 cursor=hidden +|3: 5 123456789_abcdefghij_ZEND |4: 6 123456789_abcdefghij_ZEND |5: 7 123456789_abcdefghij_ZEND |6: 8 123456789_abcdefghij_ZEND @@ -43,16 +59,3 @@ |13: 15 0123456789_abcdefghij_ZEND |14: 16 0123456789_abcdefghij_ZEND |15: 17 0123456789_abcdefghij_ZEND -== snap rearmed grid=70x17 cursor=hidden -|4: 5 123456789_abcdefghij_ZEND -|5: 6 123456789_abcdefghij_ZEND -|6: 7 123456789_abcdefghij_ZEND -|7: 8 123456789_abcdefghij_ZEND -|8: 9 123456789_abcdefghij_ZEND -|9: 10 0123456789_abcdefghij_ZEND -|10: 11 0123456789_abcdefghij_ZEND -|11: 12 0123456789_abcdefghij_ZEND -|12: 13 0123456789_abcdefghij_ZEND -|13: 14 0123456789_abcdefghij_ZEND -|14: 15 0123456789_abcdefghij_ZEND -|15: 16 0123456789_abcdefghij_ZEND diff --git a/test/snapshots/winch.golden b/test/snapshots/winch.golden index 64d527c8..bbf986f7 100644 --- a/test/snapshots/winch.golden +++ b/test/snapshots/winch.golden @@ -1,8 +1,7 @@ -== snap storm grid=100x31 cursor=4,8 +== snap storm grid=100x31 cursor=4,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/winch/cwd Term+bash Save Mode F /tmp/pardes-snap/winch/cwd Term+bash Save Mode F -| ilter Collapse Del ilter Collapse Del +|$ /tmp/pardes-snap/winch/cwd Del Term+bash /tmp/pardes-snap/winch/cwd Del Term+bash | $ ls ls | $ for i in $(seq 600); do kill -WINCH $PPID; don | e; echo SUR''VIVED @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/winch/cwd Term+bash Save Mode F -| ilter Collapse Del +| +| /tmp/pardes-snap/winch/cwd Del Term+bash | ls | | @@ -29,12 +28,12 @@ | | | +| | /tmp/pardes-snap/winch/cwd -== snap resized grid=106x35 cursor=4,8 +== snap resized grid=106x35 cursor=4,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/winch/cwd Term+bash Save Mode Filt /tmp/pardes-snap/winch/cwd Term+bash Save Mode Filt -| er Collapse Del er Collapse Del +|$ /tmp/pardes-snap/winch/cwd Del Term+bash /tmp/pardes-snap/winch/cwd Del Term+bash | $ ls ls | $ for i in $(seq 600); do kill -WINCH $PPID; done; | echo SUR''VIVED @@ -49,8 +48,8 @@ | | | -| /tmp/pardes-snap/winch/cwd Term+bash Save Mode Filt -| er Collapse Del +| +| /tmp/pardes-snap/winch/cwd Del Term+bash | ls | | @@ -65,4 +64,5 @@ | | | +| | /tmp/pardes-snap/winch/cwd diff --git a/test/snapshots/windownav.golden b/test/snapshots/windownav.golden index 140e4618..4d1176ad 100644 --- a/test/snapshots/windownav.golden +++ b/test/snapshots/windownav.golden @@ -1,8 +1,7 @@ -== snap start grid=100x31 cursor=7,4 +== snap start grid=100x31 cursor=7,3 | 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/windownav/cwd/w.txt Keep Save T /tmp/pardes-snap/windownav/cwd Term+bash Save Mo -| erm Collapse Follow Del de Filter Collapse Del +| /tmp/pardes-snap/windownav/cwd/w.txt Keep Del /tmp/pardes-snap/windownav/cwd Del Term+bash | 1 alpha ls | 2 beta w.txt | 3 gamma @@ -29,29 +28,29 @@ | | | +| | ✓ @p2 Window 1 message · SPC h m -== snap to-term grid=100x31 cursor=54,6 +== snap to-term grid=100x31 cursor=54,5 |30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Last 2 messages · SPC h m -== snap back-to-file grid=100x31 cursor=7,4 +== snap back-to-file grid=100x31 cursor=7,3 |30: ✓ @p2 Last 3 messages · SPC h m -== snap esc-to-term grid=100x31 cursor=54,6 +== snap esc-to-term grid=100x31 cursor=54,5 |30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Last 4 messages · SPC h m -== snap esc-back-to-file grid=100x31 cursor=7,4 +== snap esc-back-to-file grid=100x31 cursor=7,3 |30: ✓ @p2 Last 5 messages · SPC h m -== snap altn grid=100x31 cursor=4,11 -|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 +== snap altn grid=100x31 cursor=4,9 +|6: /tmp/pardes-snap/windownav/cwd Del Term+bash +|7: ls +|8: w.txt +== snap up grid=100x31 cursor=7,3 |30: ✓ @p3 Window 6 messages · SPC h m -== snap right grid=100x31 cursor=54,6 +== snap right grid=100x31 cursor=54,5 |30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Window 7 messages · SPC h m -== snap left grid=100x31 cursor=7,4 +== snap left grid=100x31 cursor=7,3 |30: ✓ @p2 Window 8 messages · SPC h m -== snap down grid=100x31 cursor=4,11 +== snap down grid=100x31 cursor=4,9 |30: ✓ /tmp/pardes-snap/windownav/cwd/w.txt Window 9 messages · SPC h m -== snap toggle-doc grid=100x31 cursor=7,4 +== snap toggle-doc grid=100x31 cursor=7,3 |30: ✓ @p3 Last 10 messages · SPC h m -== snap toggle-back grid=100x31 cursor=4,11 +== snap toggle-back grid=100x31 cursor=4,9 |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 ed43ef7f..0e9c4e5c 100644 --- a/test/snapshots/windowops.golden +++ b/test/snapshots/windowops.golden @@ -1,8 +1,7 @@ -== snap hover-v grid=100x31 cursor=4,6 +== snap hover-v grid=100x31 cursor=4,5 | 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/windowops/cwd Term+bash Save Mo /tmp/pardes-snap/windowops/cwd Term+bash Save Mo -| de Filter Collapse Del de Filter Collapse Del +| /tmp/pardes-snap/windowops/cwd Del Term+bash /tmp/pardes-snap/windowops/cwd Del Term+bash | ls ls | w.txt w.txt | @@ -15,8 +14,8 @@ | | | -| /tmp/pardes-snap/windowops/cwd Term+bash Save Mo -| de Filter Collapse Del +| +| /tmp/pardes-snap/windowops/cwd Del Term+bash | ls | w.txt | @@ -29,47 +28,46 @@ | | | +| | /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 -|14: de Filter Collapse Del -|15: ls -|16: w.txt +== snap hover-h grid=100x31 cursor=4,5 +== snap hborder-done grid=100x31 cursor=4,5 +|13: /tmp/pardes-snap/windowops/cwd Del Term+bash +|14: ls +|15: w.txt +|16: |17: |18: -|19: -== snap move-preview grid=100x31 cursor=4,17 -== snap moved grid=100x31 cursor=4,17 -== snap altn grid=100x31 cursor=4,22 -|18: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo -|19: de Filter Collapse Del -|20: ls -|21: w.txt -== snap focus-right grid=100x31 cursor=54,6 +== snap move-preview grid=100x31 cursor=4,16 +== snap moved grid=100x31 cursor=4,16 +== snap altn grid=100x31 cursor=4,20 +|17: /tmp/pardes-snap/windowops/cwd Del Term+bash +|18: ls +|19: w.txt +== snap focus-right grid=100x31 cursor=54,5 |30: ✓ @p4 Window 1 message · SPC h m -== snap debug-on grid=100x31 cursor=54,6 +== snap debug-on grid=100x31 cursor=54,5 |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 48x26 │ -|7: │scroll 0/26 │ +|2: /tmp/pardes-snap/windowops/cwd Del Term+bash /tmp/parde│pardes resizes=1 │ +|3: ls ls │theme orchard │ +|4: w.txt w.txt │font default │ +|5: │terms 4 cols 2 │ +|6: │active #2 48x27 │ +|7: │scroll 0/27 │ |8: │frame virtual clock │ |9: │ │ |10: │ │ |11: │ │ |12: │ │ -|13: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo ╰────────────────────────────────────╯ +|13: /tmp/pardes-snap/windowops/cwd Del Term+bash ╰────────────────────────────────────╯ |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, -|2: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-49 #b2c3b8,#1d2824, 50-51 #b2c3b8,#add38a, 52-61 #becfc4,#314738, 62-62 d,d, 63-79 #b2c3b8,d, 80-98 #b2c3b8,#152019, 99-99 d,d, -|3: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-51 #b2c3b8,#314738, 52-61 #becfc4,#314738, 62-62 d,d, 63-76 #b2c3b8,d, 77-98 #b2c3b8,#152019, 99-99 d,d, +|2: 0-1 d,#496656, 2-36 #b2c3b8,#1d2824, 37-49 #d3b0d9,#1d2824, 50-51 #d3b0d9,#add38a, 52-61 #becfc4,#314738, 62-62 d,d, 63-79 #b2c3b8,d, 80-98 #b2c3b8,#152019, 99-99 d,d, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-61 #e5eee5,#0d1410, 62-62 d,d, 63-76 #b2c3b8,d, 77-98 #b2c3b8,#152019, 99-99 d,d, |4: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-61 #e5eee5,#0d1410, 62-62 d,d, 63-76 #b2c3b8,d, 77-98 #b2c3b8,#152019, 99-99 d,d, -|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-61 #e5eee5,#0d1410, 62-62 d,d, 63-77 #b2c3b8,d, 78-98 #b2c3b8,#152019, 99-99 d,d, +|5: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-77 #b2c3b8,d, 78-98 #b2c3b8,#152019, 99-99 d,d, |6: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-78 #b2c3b8,d, 79-98 #b2c3b8,#152019, 99-99 d,d, |7: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-73 #b2c3b8,d, 74-98 #b2c3b8,#152019, 99-99 d,d, |8: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-82 #b2c3b8,d, 83-98 #b2c3b8,#152019, 99-99 d,d, @@ -77,15 +75,15 @@ |10: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-98 d,#152019, 99-99 d,d, |11: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-98 d,#152019, 99-99 d,d, |12: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-61 d,#0d1410, 62-62 d,d, 63-98 d,#152019, 99-99 d,d, -|13: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-61 #b2c3b8,#0d1410, 62-99 d,d, -|14: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, +|13: 0-1 d,#496656, 2-36 #b2c3b8,#1d2824, 37-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-61 #d3b0d9,#0d1410, 62-99 d,d, +|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,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, -|17: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, -|18: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-42 #d3b0d9,#1d2824, 43-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410, -|19: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#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-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410, +|16: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, +|17: 0-1 d,#496656, 2-36 #b2c3b8,#1d2824, 37-49 #d3b0d9,#1d2824, 50-50 #d3b0d9,#608269, 51-99 #d3b0d9,#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-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, |24: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410, @@ -95,12 +93,12 @@ |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-1 d,#1d2824, 2-99 #6f7d75,#1d2824, -== snap debug-off grid=100x31 cursor=54,6 +== snap debug-off grid=100x31 cursor=54,5 |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 -|5: w.txt w.txt +|2: /tmp/pardes-snap/windowops/cwd Del Term+bash /tmp/pardes-snap/windowops/cwd Del Term+bash +|3: ls ls +|4: w.txt w.txt +|5: |6: |7: |8: @@ -108,5 +106,5 @@ |10: |11: |12: -|13: /tmp/pardes-snap/windowops/cwd Term+bash Save Mo +|13: /tmp/pardes-snap/windowops/cwd Del Term+bash |30: ✓ @p3 Debug ×2 2 messages · SPC h m diff --git a/test/snapshots/wrap.golden b/test/snapshots/wrap.golden index 5c9b085e..3976ed29 100644 --- a/test/snapshots/wrap.golden +++ b/test/snapshots/wrap.golden @@ -1,8 +1,7 @@ -== snap on-narrow grid=48x15 cursor=7,4 +== snap on-narrow grid=48x15 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/wrap/cwd/long.txt Keep Save T -| erm Collapse Follow Del +| /tmp/pardes-snap/wrap/cwd/long.txt Keep Del | 1 0---------1---------2---------3---------↩ | 4---------5---------6---------7---------↩ | 8---------9---------A---------B---------↩ @@ -13,39 +12,40 @@ | ~ | | +| | /tmp/pardes-snap/wrap/cwd/long.txt:1 == snap clicked grid=48x15 cursor=17,4 -== snap logical-j grid=48x15 cursor=17,9 +== snap logical-j grid=48x15 cursor=18,8 |14: /tmp/pardes-snap/wrap/cwd/long.txt:2 -== snap visual-gj grid=48x15 cursor=10,5 +== snap visual-gj grid=48x15 cursor=10,4 |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 visual-gj-again grid=48x15 cursor=10,5 +== snap visual-gk grid=48x15 cursor=10,4 +== snap visual-count-gj grid=48x15 cursor=10,6 == snap off grid=48x15 cursor=hidden -|4: 1 0---------1---------2---------3---------4 -|5: 2 second line -|6: 3 third line -|7: ~ +|3: 1 0---------1---------2---------3---------4 +|4: 2 second line +|5: 3 third line +|6: ~ +|7: |8: |9: |10: -|11: |14: ✓ …rap/cwd/long.txt Wrap 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---------↩ -|8: G---------H---------I---------J--------- -|9: 2 second line -|10: 3 third line -|11: ~ +== snap on-again grid=48x15 cursor=10,6 +|3: 1 0---------1---------2---------3---------↩ +|4: 4---------5---------6---------7---------↩ +|5: 8---------9---------A---------B---------↩ +|6: C---------D---------E---------F---------↩ +|7: G---------H---------I---------J--------- +|8: 2 second line +|9: 3 third line +|10: ~ |14: ✓ …/cwd/long.txt Wrap ×2 1 message · SPC h m == snap on-wide grid=128x15 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/wrap/cwd/long.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/wrap/cwd/long.txt Keep Del | 1 0---------1---------2---------3---------4---------5---------6---------7---------8---------9---------A---------B---------↩ | C---------D---------E---------F---------G---------H---------I---------J--------- | 2 second line diff --git a/test/snapshots/yankpaste.golden b/test/snapshots/yankpaste.golden index 2099cb82..3e1deed5 100644 --- a/test/snapshots/yankpaste.golden +++ b/test/snapshots/yankpaste.golden @@ -1,7 +1,7 @@ == snap linewise-below grid=100x31 cursor=13,6 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| */tmp/pardes-snap/yankpaste/cwd/f.txt Save Term Collapse Follow Del +| */tmp/pardes-snap/yankpaste/cwd/f.txt Save Undo Del | 1 line 1 | 2 line 2 | 3 line 3 |
