diff options
132 files changed, 2546 insertions, 2044 deletions
diff --git a/addons/fake/fake.out b/addons/fake/fake.out index 3ac52cfe..8f92d24e 100644 --- a/addons/fake/fake.out +++ b/addons/fake/fake.out @@ -1,11 +1,12 @@ > seed 7 > size 60 20 -window 58x6 +window 58x7 tag fake petscii:on palette:commodore ascii:on |count 0 | | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 4b3cd99b86ea3486 @@ -14,7 +15,8 @@ tag fake petscii:on palette:commodore ascii:on |count 2 |kb | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key fdcaab9076ad067e @@ -23,7 +25,8 @@ tag fake petscii:on palette:commodore ascii:on |count 3 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 71e39225f0cec2a5 @@ -32,7 +35,8 @@ tag fake petscii:on palette:commodore ascii:on |count 13 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 54740e23065232cf @@ -41,7 +45,8 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -50,7 +55,8 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -59,17 +65,19 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 2 58x6 +|view 2 58x7 +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 > size 70 30 -window 68x12 +window 68x13 tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 2 68x12 +|view 2 68x13 +| | | | @@ -84,7 +92,8 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -93,7 +102,8 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 @@ -102,7 +112,8 @@ tag fake petscii:on palette:commodore ascii:on |count 19 |m3 | -|view 1 58x6 glyphs +|view 1 58x7 glyphs +| | | placement 2x2 src 0,0 2x2 over 0,2 2x1 key 540d6c1b4eee5716 diff --git a/addons/life/life.out b/addons/life/life.out index c7f81e40..e9c6b733 100644 --- a/addons/life/life.out +++ b/addons/life/life.out @@ -1,6 +1,6 @@ > seed 7 > size 40 36 -window 38x15 +window 38x16 tag gen 0 alive 130 |.#.#.......##......#...#..#..... |#.#......#......#......#.#...... @@ -17,6 +17,7 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. +|..#..##.#.......##.....#...#.... > tick 100 tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -34,6 +35,7 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. +|..#..##.#.......##.....#...#.... > tick 100 tag gen 1 alive 170 |.#.#............##....##..#..... @@ -51,6 +53,7 @@ tag gen 1 alive 170 |#######..#.###....#......#....## |...#.#...#....##..##.......#.#.# |...#..##.#.#######........#.###. +|..####.......#.#####......##.... > tick 100 tag gen 2 alive 126 |.#...........###......######.... @@ -68,6 +71,7 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. +|.....##......#...........##.##.. > key x x tag gen 3 alive 131 paused |.#.........#...#......#.....#... @@ -85,6 +89,7 @@ tag gen 3 alive 131 paused |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. > tick 300 tag gen 3 alive 131 paused |.#.........#...#......#.....#... @@ -102,6 +107,7 @@ tag gen 3 alive 131 paused |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. > key lljx tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -119,6 +125,7 @@ tag gen 3 alive 130 paused |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. > key k tag gen 3 alive 130 paused |.#.........#...#......#.....#... @@ -136,6 +143,7 @@ tag gen 3 alive 130 paused |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. > body =.#.........#...#......#.....#... =...........#...................# @@ -171,6 +179,7 @@ tag gen 3 alive 130 paused |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. > key r tag gen 0 alive 130 paused |.#.#.......##......#...#..#..... @@ -188,6 +197,7 @@ tag gen 0 alive 130 paused |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. +|..#..##.#.......##.....#...#.... > key h l tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -205,6 +215,7 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. +|..#..##.#.......##.....#...#.... > tick 100 tag gen 0 alive 130 |.#.#.......##......#...#..#..... @@ -222,6 +233,7 @@ tag gen 0 alive 130 |..#..#...#.##....#.#..........## |..#...#..###..#...........#..#.# |....#......##.##..#.#.....#.#.#. +|..#..##.#.......##.....#...#.... > tick 100 tag gen 2 alive 126 |.#...........###......######.... @@ -239,6 +251,7 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. +|.....##......#...........##.##.. > blur tag gen 2 alive 126 |.#...........###......######.... @@ -256,6 +269,7 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. +|.....##......#...........##.##.. > tick 300 tag gen 2 alive 126 |.#...........###......######.... @@ -273,6 +287,7 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. +|.....##......#...........##.##.. > focus tag gen 2 alive 126 |.#...........###......######.... @@ -290,6 +305,7 @@ tag gen 2 alive 126 |..........######..#.......#..#.. |.#.....#.#........##......##.... |......#.#.#.#.............#..##. +|.....##......#...........##.##.. > tick 200 tag gen 3 alive 131 |.#.........#...#......#.....#... @@ -307,3 +323,4 @@ tag gen 3 alive 131 |........#.#...##.###........#... |.......###....#...##.....######. |.....##.##...................##. +|.....###....##.........#....###. diff --git a/addons/pdf/pdf.out b/addons/pdf/pdf.out index 1c438783..a0804da2 100644 --- a/addons/pdf/pdf.out +++ b/addons/pdf/pdf.out @@ -1,5 +1,5 @@ > open docs/design.pdf -window 78x8 +window 78x9 tag [1/16] petscii:on palette:commodore ascii:on docs/design.pdf |Pardes: A Text Environment |Architecture and implementation of the rewrite @@ -9,6 +9,7 @@ tag [1/16] petscii:on palette:commodore ascii:on docs/design.pdf |— where the prototype had three parallel implementations of one editor. Two se |is a state machine over plain values: Event in, Surface and a queue of Effect |said in those types exists in pardes. Downward, host.VTable is twenty-one opti +|one answered in-process, so the zero-method host is both the test harness and > graphics on tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -19,9 +20,10 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x163 over 0,0 78x8 key 3017bc3ce49f9593 at 0,0 624x128 +| +placement 794x1123 src 0,0 794x184 over 0,0 78x9 key 3017bc3ce49f9593 at 0,0 624x144 > size 60 20 -window 58x6 +window 58x7 tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | @@ -29,7 +31,8 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 +| +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key j tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -38,7 +41,8 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,27 794x165 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 +| +placement 794x1123 src 0,27 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key 3j tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -47,7 +51,8 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,109 794x166 over 0,0 58x6 key 71e39225f0cec2a5 at 0,0 464x96 +| +placement 794x1123 src 0,109 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key G tag [16/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -56,7 +61,8 @@ tag [16/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 1182c0220e1b5a25 at 0,0 464x96 +| +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1182c0220e1b5a25 at 0,0 464x112 > key gg tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -65,7 +71,8 @@ tag [1/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 5400263dddff499a at 0,0 464x96 +| +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 5400263dddff499a at 0,0 464x112 > key 3gg tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -74,7 +81,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x165 over 0,0 58x6 key 1da05d9257cc481d at 0,0 464x96 +| +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1da05d9257cc481d at 0,0 464x112 > PdfFit tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -83,7 +91,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key acaee8c0ff4f63a6 at 198,0 67x96 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key acaee8c0ff4f63a6 at 192,0 79x112 > ctl =fit:height tint:filtered > PdfTint full @@ -94,7 +103,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 11acd08483d3011b at 192,0 79x112 > ctl =fit:height tint:full > PdfTint loud @@ -105,7 +115,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 11acd08483d3011b at 192,0 79x112 > key <esc> tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | @@ -114,7 +125,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 11acd08483d3011b at 198,0 67x96 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 11acd08483d3011b at 192,0 79x112 > dump dump 24 bytes tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf @@ -124,7 +136,8 @@ tag [3/16] petscii:off palette:commodore ascii:on docs/design.pdf | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x6 key 4a2b3987bae4cbef at 198,0 67x96 +| +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 4a2b3987bae4cbef at 192,0 79x112 > graphics off tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |The watch path, in full, because it is the ask with the mo @@ -133,6 +146,7 @@ tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |otify or a macOS kqueue behind one mark/reconcile transact |the native macOS host watches with debounced DispatchSourc |instead, then restats the exact path under a pane-generati +|guard. All three macOS watchers mark the same two things f > key j tag [4/16] petscii:on palette:commodore ascii:on docs/design.pdf |/// How to route a method, read off its own name. A method @@ -141,6 +155,7 @@ tag [4/16] petscii:on palette:commodore ascii:on docs/design.pdf |/// user: one Ctrl-V pasting twice. |fn isPull(comptime name: []const u8) bool { | if (std.mem.startsWith(u8, name, "pull_")) return true +| if (std.mem.startsWith(u8, name, "push_")) { > key 2k tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |the core — src/pardes.zig @@ -149,6 +164,7 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |emit(e) → fixed ring, limits.effect_cap |nextEffect() → perform(e) |single-threaded by construction +|native input > key 3gj tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |emit(e) → fixed ring, limits.effect_cap @@ -157,6 +173,7 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |native input |termios+vaxis / SDL / DOM / |AppKit / a byte sink on a UART +|Event > key gk tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |render(arena) → *Surface @@ -165,8 +182,10 @@ tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf |single-threaded by construction |native input |termios+vaxis / SDL / DOM / +|AppKit / a byte sink on a UART > key 999gj tag [2/16] petscii:on palette:commodore ascii:on docs/design.pdf +|detach is served only by a detached core’s host, and the n |is the point rather than an oversight — a local tty or SDL |has no session to leave, so perform reports that on the pa |message row instead of quietly quitting something (the .de @@ -181,6 +200,7 @@ tag [3/16] petscii:on palette:commodore ascii:on docs/design.pdf |otify or a macOS kqueue behind one mark/reconcile transact |the native macOS host watches with debounced DispatchSourc |instead, then restats the exact path under a pane-generati +|guard. All three macOS watchers mark the same two things f > open test/pdf-fixtures/huge-pages.pdf window 58x2 tag [1/4] petscii:on palette:commodore ascii:on test/pdf-fixtures/huge-pages.pdf diff --git a/addons/snake/snake.out b/addons/snake/snake.out index 3249eaf9..6869c5cc 100644 --- a/addons/snake/snake.out +++ b/addons/snake/snake.out @@ -1,6 +1,6 @@ > seed 3 > size 40 30 -window 38x12 +window 38x13 tag Snake 0 |###################### |# # @@ -14,6 +14,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 0 |###################### @@ -28,6 +29,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 0 |###################### @@ -42,6 +44,7 @@ tag Snake 0 | | | +| > key k tag Snake 0 |###################### @@ -56,6 +59,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 0 |###################### @@ -70,6 +74,7 @@ tag Snake 0 | | | +| > key l tag Snake 0 |###################### @@ -84,6 +89,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 0 |###################### @@ -98,6 +104,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 1 |###################### @@ -112,6 +119,7 @@ tag Snake 1 | | | +| > key h tag Snake 1 |###################### @@ -126,6 +134,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 |###################### @@ -140,6 +149,7 @@ tag Snake 1 | | | +| > key j tag Snake 1 |###################### @@ -154,6 +164,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 |###################### @@ -168,6 +179,7 @@ tag Snake 1 | | | +| > ctl =score 1 =length 4 @@ -190,6 +202,7 @@ tag Snake 1 | | | +| > settle tag Snake 1 |###################### @@ -204,6 +217,7 @@ tag Snake 1 | | | +| > tick 600 tag Snake 1 |###################### @@ -218,6 +232,7 @@ tag Snake 1 | | | +| > focus tag Snake 1 |###################### @@ -232,6 +247,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 |###################### @@ -246,6 +262,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 |###################### @@ -260,6 +277,7 @@ tag Snake 1 | | | +| > dump dump 240 bytes tag Snake 1 @@ -275,6 +293,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 |###################### @@ -289,6 +308,7 @@ tag Snake 1 | | | +| > tick 150 tag Snake 1 over |###################### @@ -303,6 +323,7 @@ tag Snake 1 over | | | +| > tick 150 tag Snake 1 over |###################### @@ -317,6 +338,7 @@ tag Snake 1 over | | | +| > settle tag Snake 1 over |###################### @@ -331,6 +353,7 @@ tag Snake 1 over | | | +| > key x tag Snake 0 |###################### @@ -345,6 +368,7 @@ tag Snake 0 | | | +| > tick 150 tag Snake 0 |###################### @@ -359,3 +383,4 @@ tag Snake 0 | | | +| diff --git a/core/Core.zig b/core/Core.zig index a22822c2..ccdc8d6f 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -1001,24 +1001,11 @@ fn setLastDumpInner(p: *Pardes, path: []const u8) void { ctlfs.events.notePath(p, "dump", path); } -/// The workspace tag's `Restore <path>` names `path` from now on: the -/// default's does by itself, and one the tag was edited around (its own -/// text) has the old path swapped, never left pointing at a dump that is -/// not the last. +/// The window row's `Restore <path>` names `path` from now on: a computed +/// word (UX K'2, tagline.headerWords), never the user's text. pub fn pointRestoreAt(p: *Pardes, path: []const u8) void { const copy = p.gpa.dupe(u8, path) catch |err| return p.reportError(.at(p.view().active), "Restore", err); - if (p.last_dump) |old| { - if (p.global_tag.own) |own| swap: { - const a = p.scratch.allocator(); - const was = std.fmt.allocPrint(a, "Restore {s}", .{old}) catch break :swap; - if (std.mem.indexOf(u8, own, was) == null) break :swap; - const now = std.fmt.allocPrint(a, "Restore {s}", .{path}) catch break :swap; - const swapped = std.mem.replaceOwned(u8, p.gpa, own, was, now) catch break :swap; - p.gpa.free(own); - p.global_tag.own = swapped; - } - p.gpa.free(old); - } + if (p.last_dump) |old| p.gpa.free(old); p.last_dump = copy; } @@ -1977,7 +1964,9 @@ pub fn sync(p: *Pardes) void { // A file opened or closed this step: the kept list follows. p.saveRecent(); tagline.flattenHeaders(p); - if (p.headerColumn() != null and layout.columnBarHeight(p) == 0) { + // A column's tag with no row to be in lets the keyboard go; a lone + // column's keeps it in the window row (UX K'2). + if (p.headerColumn() != null and layout.columnBarHeight(p) == 0 and !layout.columnInWindowRow(p)) { tagline.exitHeader(p); } pardes.panes.reapPanes(p); @@ -2549,25 +2538,30 @@ test "topbar hover highlights exactly the executable word" { defer frame.deinit(); _ = try p.render(frame.allocator()); - p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = TAG_TEXT_INSET + 1, .row = 0 } }); - _ = frame.reset(.retain_capacity); - const hovered = try p.render(frame.allocator()); - for (0.."Newcol".len) |col| { - const cell = hovered.at(TAG_TEXT_INSET + @as(u16, @intCast(col)), 0); - try std.testing.expectEqual(Color{ .rgb = p.theme().sel_bg }, cell.style.bg); - try std.testing.expectEqual(Color{ .rgb = p.theme().sel_fg }, cell.style.fg); - } - try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, hovered.at(TAG_TEXT_INSET + 6, 0).style.bg); + // Each side of the window row (UX K'2): the lone column's `New`, then + // the window's `Find`. + const words = tagline.windowRow(p).words; + for ([_]struct { at: u16, len: u16 }{ .{ .at = TAG_TEXT_INSET, .len = "New".len }, .{ .at = words, .len = "Find".len } }) |word| { + p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = word.at + 1, .row = 0 } }); + _ = frame.reset(.retain_capacity); + const hovered = try p.render(frame.allocator()); + for (0..word.len) |col| { + const cell = hovered.at(word.at + @as(u16, @intCast(col)), 0); + try std.testing.expectEqual(Color{ .rgb = p.theme().sel_bg }, cell.style.bg); + try std.testing.expectEqual(Color{ .rgb = p.theme().sel_fg }, cell.style.fg); + } + try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, hovered.at(word.at + word.len, 0).style.bg); - p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = TAG_TEXT_INSET + 6, .row = 0 } }); - _ = frame.reset(.retain_capacity); - const whitespace = try p.render(frame.allocator()); - try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, whitespace.at(TAG_TEXT_INSET + 1, 0).style.bg); + p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = word.at + word.len, .row = 0 } }); + _ = frame.reset(.retain_capacity); + const whitespace = try p.render(frame.allocator()); + try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, whitespace.at(word.at + 1, 0).style.bg); + } p.update(.pointer_leave); _ = frame.reset(.retain_capacity); const left = try p.render(frame.allocator()); - try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, left.at(TAG_TEXT_INSET + 1, 0).style.bg); + try std.testing.expectEqual(Color{ .rgb = p.chromeTheme().tag_bg }, left.at(words + 1, 0).style.bg); } test "pane-tag Exec prefers Term and argument builtins before shell fallback" { @@ -3757,18 +3751,17 @@ test "tabbed file aligns syntax cursor and mouse at the nearest insertion gap" { try std.testing.expect(look.expandedSel(p, pane, .{ .state = .dragging, .c0 = separator, .c1 = separator, .r0 = BOX_H, .r1 = BOX_H }) == null); } -test "the workspace tag's Restore word names the last dump, the tag edited around it or not, across a Restore too" { +test "the window row's Restore word names the last dump, the user's text after it, across a Restore too (UX K'2)" { const p = try Pardes.init(std.testing.allocator, .{ .cols = 100, .rows = 20, .tty_only = true }); defer p.deinit(); p.setLastDump("/tmp/a.zon"); - // The tag edited: its own text holds the Restore word as it was then. - p.global_tag.own = try p.gpa.dupe(u8, try std.fmt.allocPrint(p.scratch.allocator(), "{s} Mine", .{tagline.headerDefault(p, .workspace)})); + p.global_tag.own = try p.gpa.dupe(u8, "Mine"); p.setLastDump("/tmp/b.zon"); - try std.testing.expect(std.mem.indexOf(u8, p.global_tag.own.?, "Restore /tmp/b.zon Mine") != null); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Restore /tmp/b.zon Mine", tagline.topbar(p)); try dump.dumpState(p); const restored = try dump.restore(p, p.dump_out.?, "/tmp/c.zon"); defer restored.deinit(); - try std.testing.expect(std.mem.indexOf(u8, restored.global_tag.own.?, "Restore /tmp/c.zon Mine") != null); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Restore /tmp/c.zon Mine", tagline.topbar(restored)); try std.testing.expectEqualStrings("/tmp/c.zon", restored.last_dump.?); } @@ -3777,27 +3770,45 @@ test "editable workspace and column tags are typed into and persist" { defer p.deinit(); _ = try p.setTestFile("untouched\n"); p.presented(); - try std.testing.expectEqual(TOPBAR_H + COLBAR_H, p.view().rects[0].y); + // One column: its tag in the window row, no column row (UX K'2). + try std.testing.expectEqual(TOPBAR_H, p.view().rects[0].y); + const words = tagline.windowRow(p).words; // a sweep over a header is its selection, the caret where it ended - p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = TAG_TEXT_INSET, .row = 0 } }); - p.update(.{ .mouse = .{ .button = .left, .kind = .drag, .col = TAG_TEXT_INSET + 6, .row = 0 } }); - p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = TAG_TEXT_INSET + 6, .row = 0 } }); + p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = words, .row = 0 } }); + p.update(.{ .mouse = .{ .button = .left, .kind = .drag, .col = words + 6, .row = 0 } }); + p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = words + 6, .row = 0 } }); try std.testing.expect(p.global_tag.vsel.active and p.global_tag.vsel.col == 0 and p.global_tag.cur_col == 6); - // A clicked header is in normal mode: `a` types after the sweep's - // last character, the blank it ended on. + // A clicked header is in normal mode: `a` types after the sweep's last + // character, in the computed words: refused, they are no one's. p.update(.{ .key = .{ .cp = 'a', .text = "a" } }); p.update(.{ .key = .{ .cp = 'H', .text = "Help " } }); - try std.testing.expect(std.mem.startsWith(u8, p.global_tag.own.?, "Newcol Help Joincol")); + try std.testing.expect(p.global_tag.own == null); p.update(.{ .key = .{ .cp = Key.escape } }); - p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = TAG_TEXT_INSET, .row = TOPBAR_H } }); - p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = TAG_TEXT_INSET, .row = TOPBAR_H } }); + // After them, the user's text. + const end: u16 = @intCast(words + "Find Grep Newcol Help Exit ".len); + p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = end, .row = 0 } }); + p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = end, .row = 0 } }); + p.update(.{ .key = .{ .cp = 'i', .text = "i" } }); + p.update(.{ .key = .{ .cp = 'H', .text = "Help " } }); + try std.testing.expectEqualStrings("Help ", p.global_tag.own.?); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Help ", tagline.topbar(p)); + p.update(.{ .key = .{ .cp = Key.escape } }); + // The column's tag, at the window row's left: typed into, it has the + // user's text and the column row comes for it; emptied, it goes. + const own: u16 = TAG_TEXT_INSET + "New Term ".len; + p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = own, .row = 0 } }); + p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = own, .row = 0 } }); + try std.testing.expectEqual(@as(?usize, 0), p.headerColumn()); p.update(.{ .key = .{ .cp = 'i', .text = "i" } }); p.update(.{ .key = .{ .cp = 'é', .text = "é" } }); - try std.testing.expect(std.mem.startsWith(u8, tagline.columnTag(p, 0), "éNew")); + try std.testing.expectEqualStrings("New Term é", tagline.columnTag(p, 0)); + try std.testing.expectEqual(TOPBAR_H + COLBAR_H, p.view().rects[0].y); p.update(.{ .key = .{ .cp = Key.backspace } }); - try std.testing.expect(std.mem.startsWith(u8, tagline.columnTag(p, 0), "New")); + try std.testing.expectEqualStrings("New Term ", tagline.columnTag(p, 0)); + try std.testing.expectEqual(TOPBAR_H, p.view().rects[0].y); + try std.testing.expectEqual(@as(?usize, 0), p.headerColumn()); p.update(.{ .paste = "Grep " }); - try std.testing.expect(std.mem.startsWith(u8, tagline.columnTag(p, 0), "Grep New")); + try std.testing.expectEqualStrings("New Term Grep ", tagline.columnTag(p, 0)); try std.testing.expectEqualStrings("untouched\n", p.panes[0].?.file.?.content); try dump.dumpState(p); const restored = try dump.restore(p, p.dump_out.?, "test"); @@ -3809,7 +3820,7 @@ test "editable workspace and column tags are typed into and persist" { try dump.dumpState(p); const empty = try dump.restore(p, p.dump_out.?, "test"); defer empty.deinit(); - try std.testing.expectEqualStrings("", tagline.columnTag(empty, 0)); + try std.testing.expectEqualStrings("New Term ", tagline.columnTag(empty, 0)); } test "column tag first-cell execution keeps New local to the clicked column" { @@ -3837,6 +3848,7 @@ test "a screen too short for the column row releases a column tag's focus withou defer p.deinit(); const pane = try p.setTestFile("unchanged body\n"); p.view().col_tags[0].own = try p.gpa.dupe(u8, "New Help"); + p.sync(); p.presented(); const shown = p.view().rects[0]; try std.testing.expectEqual(TOPBAR_H + COLBAR_H, shown.y); @@ -3850,7 +3862,7 @@ test "a screen too short for the column row releases a column tag's focus withou try std.testing.expect(p.view().header == null and p.headerColumn() == null); p.update(.{ .resize = .{ .cols = 60, .rows = 12 } }); try std.testing.expectEqual(shown, p.view().rects[0]); - try std.testing.expectEqualStrings("New Help", tagline.columnTag(p, 0)); + try std.testing.expectEqualStrings("New Term New Help", tagline.columnTag(p, 0)); try std.testing.expectEqualStrings("unchanged body\n", pane.file.?.content); } diff --git a/core/Handover.zig b/core/Handover.zig index 6f7340b2..f60ce72b 100644 --- a/core/Handover.zig +++ b/core/Handover.zig @@ -628,6 +628,10 @@ test "a column let go over another window goes beside the column the pointer is const gpa = std.testing.allocator; const from = try twoPanes(gpa); defer from.deinit(); + // A column's grip is in the column row, which a second column brings + // (UX K'2). + try std.testing.expect(from.executeBuiltinLine(0, "Newcol")); + from.sync(); const r = from.view().rects[0]; const c = layout.findPane(from, 0).?.col; from.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = from.view().col_x[c], .row = from.topBarHeight() } }); diff --git a/core/config.zig b/core/config.zig index d916b677..5df9b1b1 100644 --- a/core/config.zig +++ b/core/config.zig @@ -238,8 +238,20 @@ pub const child_term = "xterm-256color"; pub const child_colorterm = "truecolor"; pub const child_term_program = "pardes"; -// Fonts is the window's word alone (the font picker), so a terminal build's -// row has no such builtin to name: the window's row and the terminal's. +/// The window row's words (UX K'2): at its right end, `Restore <dump>` +/// after them once a dump exists (tagline.headerWords). The rest of the +/// words that left it run from `:`, their keys and typed (K'4). +pub const window_words_str = "Find Grep Newcol Help Exit"; +/// A column's words: at the window row's left while there is one column, +/// in its column tag with several, where Joincol and Delcol have a +/// column to act on. +pub const column_words_str = "New Term"; +pub const columns_words_str = "New Term Joincol Delcol"; + +// The window's tag before UX K', its own text then: a dump's own text equal +// to one is dropped (dump.dropOldTags), and /tagexec still takes their words +// (ninep/cols.zig paneWord). Fonts is the window's word alone (the font +// picker), so a terminal build's row has no such builtin to name. pub const topbar_window_str = "Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Fonts Config History Debug Exit"; pub const topbar_terminal_str = "Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit"; pub const topbar_str = if (@import("builtins.zig").capabilities.font_picker) topbar_window_str else topbar_terminal_str; diff --git a/core/draw.zig b/core/draw.zig index 2553d5be..c156352f 100644 --- a/core/draw.zig +++ b/core/draw.zig @@ -152,6 +152,12 @@ pub fn place(p: *Pardes, s: *Surface) void { } } const column_rows = layout.columnBarHeight(p); + // A lone column's tag at the window row's left (UX K'2): no grip, a + // column's edge has nothing to be dragged against. + if (layout.columnInWindowRow(p)) { + const inset = @min(TAG_TEXT_INSET, v.screen_w); + s.addRegion(.{ .kind = .column_tag, .owner = 0, .serial = v.cols[0].serial, .active = layout.findPane(p, v.active) != null, .rect = .{ .x = inset, .y = 0, .w = tagline.windowRow(p).column, .h = p.topBarHeight() } }); + } if (column_rows > 0) for (0..p.view().ncol) |c| { if (v.col_w[c] == 0) continue; const active = if (layout.findPane(p, v.active)) |found| found.col == c else false; @@ -583,25 +589,31 @@ fn paintHeaders(p: *Pardes, s: *Surface) !void { if (s.region(.workspace_tag, Region.none)) |region| { const top = if (v.header != null and p.headerColumn() == null) v.header_top else 0; const layer = &s.tag_layers[MAX_PANES + MAX_COLS]; - var viewport = region.rect; - s.chrome.tagline_rows = @intCast(viewport.y + viewport.h); - const inset = @min(TAG_TEXT_INSET, viewport.w); - s.fill(viewport.x, viewport.y, inset, viewport.h, .{ .bg = .{ .rgb = chrome.tagline_bg }, .fg = .{ .rgb = chrome.tagline_fg }, .font_role = .tagline }); - viewport.x += inset; - viewport.w -= inset; - try renderHeaderLayer(p, layer, .workspace, 0, viewport, tagline.topbar(p), top, chrome.tagline_bg, chrome.tagline_fg); + s.chrome.tagline_rows = @intCast(region.rect.y + region.rect.h); + // The window row (UX K'2), on the tagline's ground end to end: a + // lone column's tag at its left (its region), in the row's inks; + // the window's at its right end (tagline.windowRow). + s.fill(region.rect.x, region.rect.y, region.rect.w, region.rect.h, .{ .bg = .{ .rgb = chrome.tagline_bg }, .fg = .{ .rgb = chrome.tagline_fg }, .font_role = .tagline }); + if (s.region(.column_tag, 0)) |column| if (column.rect.y < region.rect.y + region.rect.h) { + const column_top = if (v.header != null and p.headerColumn() == 0) v.header_top else 0; + const column_layer = &s.tag_layers[MAX_PANES]; + try renderHeaderLayer(p, column_layer, .column, 0, column.rect, tagline.columnTag(p, 0), column_top, chrome.tagline_bg, chrome.tagline_fg); + joinHeaderRows(s, column_layer, chrome.tagline_fg); + }; + const words = tagline.windowRow(p).words; + const viewport: Rect = .{ .x = words, .y = region.rect.y, .w = region.rect.w -| words, .h = region.rect.h }; + const text = tagline.topbar(p); + try renderHeaderLayer(p, layer, .workspace, 0, viewport, text, top, chrome.tagline_bg, chrome.tagline_fg); // A server's progress (a message of no pane) at its first row's // right end, where the row has room for it. - if (layer.rows > 0 and top == 0) for (p.messages.live[0..p.messages.live_len]) |*said| { - if (said.kind != .progress or said.pane != 0) continue; + if (layer.rows > 0 and top == 0) if (tagline.sessionProgress(p)) |said| { var buf: [Messages.LoggedMessage.cap + 8]u8 = undefined; - const text = std.fmt.bufPrint(&buf, "{s} {s}", .{ Messages.Kind.progress.glyph(), said.words() }) catch break; - const width = panes.File.displayWidth(p.settings.tab, text); - const used = panes.File.displayWidth(p.settings.tab, modal.lineSlice(tagline.topbar(p), 0)); + const shown = std.fmt.bufPrint(&buf, "{s} {s}", .{ Messages.Kind.progress.glyph(), said.words() }) catch ""; + const width = panes.File.displayWidth(p.settings.tab, shown); + const used = panes.File.displayWidth(p.settings.tab, modal.lineSlice(text, 0)); const room = layout.tagCapacity(p, viewport.w); var row: Surface = .{ .cols = layer.cols, .rows = 1, .cells = layer.cells[0..layer.cols], .tab = p.settings.tab }; - if (used + 2 + width < room) _ = row.print(@intCast(room - 1 - width), 0, @intCast(width), text, .{ .fg = .{ .rgb = Messages.ink(chrome, .progress) }, .bg = .{ .rgb = chrome.tagline_bg }, .font_role = .tagline }); - break; + if (used + 2 + width < room) _ = row.print(@intCast(room - 1 - width), 0, @intCast(width), shown, .{ .fg = .{ .rgb = Messages.ink(chrome, .progress) }, .bg = .{ .rgb = chrome.tagline_bg }, .font_role = .tagline }); }; joinHeaderRows(s, layer, chrome.tagline_fg); } diff --git a/core/dump.zig b/core/dump.zig index 2806e445..ad436ac5 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -667,13 +667,29 @@ fn loadAndRevive(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, previ /// 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). +/// The window's and the columns' tags the same (UX K'2): the window row of +/// either build, with its `Restore <path>` or without, and the column tag +/// it had. 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; + if (std.mem.eql(u8, own, pardes.tagline.kindTail(pane))) dropOwn(p, &pane.tag); }; + const window: []const u8 = p.global_tag.own orelse ""; + for ([_][]const u8{ pardes.config.topbar_window_str, pardes.config.topbar_terminal_str }) |old| { + if (!std.mem.startsWith(u8, window, old)) continue; + if (window.len != old.len and !std.mem.startsWith(u8, window[old.len..], " Restore ")) continue; + dropOwn(p, &p.global_tag); + break; + } + for (&p.views) |*slot| if (slot.*) |*v| for (v.col_tags[0..v.ncol]) |*t| { + if (t.own) |own| if (std.mem.eql(u8, own, pardes.tagline.column_tag_default)) dropOwn(p, t); + }; +} + +fn dropOwn(p: *Pardes, t: *pardes.panes.Text) void { + p.gpa.free(t.own.?); + t.own = null; + t.cur_pinned = false; } /// A loaded core given to this host (with `revivePane` for each of its diff --git a/core/edit.zig b/core/edit.zig index fa442fca..12cd7706 100644 --- a/core/edit.zig +++ b/core/edit.zig @@ -540,7 +540,8 @@ pub fn flatSurface(e: Editor, t: *Text) Error![]const u8 { // the tag as it is shown: the keyboard reaches its prefix too .tag => return if (t.pane()) |pane| try tagline.tagText(e.p, e.scratch, pane) else "", .input => return t.own orelse "", - .column, .workspace => return t.own orelse if (comptime Editor.lib) "" else tagline.headerDefault(e.p, t.what), + // a header as it is shown: its computed words, then its own text + .column, .workspace => return if (comptime Editor.lib) t.own orelse "" else try tagline.headerText(e.p, t), } const pane = t.pane() orelse return ""; if (pane.file) |f| return f.content; @@ -576,14 +577,13 @@ pub fn paneWrapWidth(e: Editor, t: *Text) usize { /// Route shared edit operations to the characters `t` edits: its own, or /// for a body its file's content or its terminal's overlay. fn editText(e: Editor, t: *Text, lo: i32, hi: i32, col: i32) Error!?panes.EditText { - // A tag or header nobody has changed shows its default; the first edit - // makes that default its own text. + // A tag or a header is edited as it is shown, its computed words and + // all; what an edit leaves after them is its own text (setEditTextSpan). if (t.what == .tag) { const pane = t.pane() orelse return null; return .{ .text = try tagline.tagText(e.p, e.scratch, pane), .row0 = 0 }; } - if (t.what != .body and t.what != .input and t.own == null) - t.own = try e.gpa.dupe(u8, try flatSurface(e, t)); + if (comptime !Editor.lib) if (t.what == .column or t.what == .workspace) return .{ .text = try tagline.headerText(e.p, t), .row0 = 0 }; if (t.what != .body or comptime Editor.lib) return .{ .text = t.own orelse &.{}, .row0 = 0 }; const pane = t.pane() orelse return null; if (pane.file) |f| return .{ .text = f.content, .row0 = 0 }; @@ -703,6 +703,20 @@ fn setEditTextSpan(e: Editor, t: *Text, new: []u8, known_end: ?modal.Cursor, spa t.own = tail; return; } + if (comptime !Editor.lib) if (t.what == .column or t.what == .workspace) { + // A header's computed words (UX K'2) are no one's to edit, as a + // tag's prefix is not. + defer retireEditText(e, new); + const words = tagline.headerWords(e.p, t.what); + if (!std.mem.startsWith(u8, new, words) or new.len == words.len or new[words.len] != ' ') { + t.refused = true; + return; + } + const tail = try e.gpa.dupe(u8, new[words.len + 1 ..]); + if (t.own) |old| e.gpa.free(old); + t.own = tail; + return; + }; if (t.what != .body) { if (t.own) |old| e.gpa.free(old); t.own = new; diff --git a/core/keys.zig b/core/keys.zig index e9be2461..5baed695 100644 --- a/core/keys.zig +++ b/core/keys.zig @@ -1064,12 +1064,12 @@ test "s in a header selects in the header's own text" { p.update(.{ .key = .{ .cp = 's' } }); try std.testing.expect(pane.prompt == .search and pane.prompt_for == .workspace); // the prompt takes the keys while the header keeps the keyboard - p.update(.{ .key = .{ .cp = 'c', .text = "col" } }); + p.update(.{ .key = .{ .cp = 'i', .text = "i" } }); p.update(.{ .key = .{ .cp = Key.enter } }); try std.testing.expect(p.view().header != null and pane.prompt == .none); var ranges: [Text.max_selections]modal.Selection = undefined; const text = try edit.flatSurface(p.editor(), &p.global_tag); const got = p.global_tag.ranges(text, 0, &ranges); - try std.testing.expectEqual(@as(usize, 2), got.n); // Newcol, Joincol + try std.testing.expectEqual(@as(usize, 2), got.n); // Find, Exit try std.testing.expectEqual(@as(u16, 0), pane.body.nsel); } diff --git a/core/layout.zig b/core/layout.zig index be2d213c..b72d6ec5 100644 --- a/core/layout.zig +++ b/core/layout.zig @@ -1678,12 +1678,24 @@ pub fn noticeRowHeight(p: *const Pardes) u16 { return 1; } -/// The column tags' height: one row, as acme's (cols.c:244, colresize, -/// gives a column tag one font height); a newline in one is a space -/// (tagline.flattenHeaders). +/// The column tags' row: one, as acme's (cols.c:244, colresize, gives a +/// column tag one font height), a newline in one a space +/// (tagline.flattenHeaders); only while there are columns (UX K'2): two +/// or more, a column tag holding the user's text, or no window row for a +/// lone column's words (a native shell's). None on a screen too short. pub fn columnBarHeight(p: *const Pardes) u16 { - if (p.view().screen_h < 3) return 0; - return COLBAR_H; + const v = p.view(); + if (v.screen_h < 3) return 0; + if (v.ncol > 1 or p.topBarHeight() == 0) return COLBAR_H; + for (v.col_tags[0..v.ncol]) |t| if (t.own) |own| if (own.len > 0) return COLBAR_H; + return 0; +} + +/// A lone column's tag is at the window row's left (UX K'2): no column +/// row, and a window row for it. +pub fn columnInWindowRow(p: *const Pardes) bool { + const v = p.view(); + return v.ncol == 1 and v.screen_h >= 3 and p.topBarHeight() > 0 and columnBarHeight(p) == 0; } /// Whether new column `c` (Newcol's) may stay. A narrower @@ -1692,9 +1704,13 @@ pub fn columnBarHeight(p: *const Pardes) u16 { /// minimum `before`, `before_min`, not one dragged short) takes rows back /// from the panes with rows to spare, its column shared out again only /// where that is not enough. False, `c` dropped unannounced, where nothing -/// holds every minimum, as a size too small is refused. +/// holds every minimum, as a size too small is refused, and every pane's +/// rows as they were: the trial's shares are taken back with it (the +/// column row a second column brings, UX K'2, takes a row from every pane). pub fn keepColumn(p: *Pardes, c: usize, before: *const [MAX_PANES]Rect, before_min: *const [MAX_PANES]u16) bool { const v = p.view(); + var weights: [MAX_PANES]f32 = undefined; + for (p.panes, &weights) |slot, *w| w.* = if (slot) |pane| pane.vweight else 0; restoreMinimaFrom(p, before, before_min); for (0..p.view().ncol) |k| { compute(p); @@ -1704,6 +1720,9 @@ pub fn keepColumn(p: *Pardes, c: usize, before: *const [MAX_PANES]Rect, before_m if (!pane.collapsed and v.rects[id].h < minRows(p, id) and before[id].h >= before_min[id]) break true; } else false; if (squeezed and !shareColumn(p, k)) { + for (p.panes, weights) |slot, w| if (slot) |pane| { + pane.vweight = w; + }; dropColumnUnannounced(p, c); return false; } @@ -2590,3 +2609,47 @@ test "free space first (UX J1): a command's output and a Term take an untouched try std.testing.expectEqual(before + 3, f.count()); try std.testing.expect(p.panes[scratch] != null); } + +test "the column row comes with a second column and goes with it, the panes giving it and taking it back; a column tag with the user's text keeps it (UX K'2)" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 100, .rows = 20, .tty_only = true }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + // One column: no column row, its words in the window row, its pane + // under the window row. + try std.testing.expectEqual(@as(u16, 0), columnBarHeight(p)); + try std.testing.expect(columnInWindowRow(p)); + const alone = p.view().rects[0]; + try std.testing.expectEqual(TOPBAR_H, alone.y); + // A second column: the row, under the window row, every column's panes + // starting under it. + try std.testing.expect(p.executeBuiltinLine(0, "Newcol")); + p.sync(); + try std.testing.expectEqual(@as(usize, 2), p.view().ncol); + try std.testing.expectEqual(COLBAR_H, columnBarHeight(p)); + try std.testing.expect(!columnInWindowRow(p)); + try std.testing.expectEqual(TOPBAR_H + COLBAR_H, p.view().rects[0].y); + newScratchIn(p, 0, 1); + p.sync(); + const second = p.view().cols[1].panes[0]; + try std.testing.expectEqual(TOPBAR_H + COLBAR_H, p.view().rects[second].y); + // Delcol back to one: the row goes, the pane has it again. + p.exec_column = 1; + try std.testing.expect(p.executeBuiltinLine(second, "Delcol")); + p.exec_column = null; + p.sync(); + try std.testing.expectEqual(@as(usize, 1), p.view().ncol); + try std.testing.expectEqual(@as(u16, 0), columnBarHeight(p)); + try std.testing.expectEqualDeep(alone, p.view().rects[0]); + // The user's text in the column's tag: the row stays for it, alone. + p.view().col_tags[0].own = try p.gpa.dupe(u8, "Mine"); + p.sync(); + try std.testing.expectEqual(COLBAR_H, columnBarHeight(p)); + try std.testing.expect(!columnInWindowRow(p)); + try std.testing.expectEqual(TOPBAR_H + COLBAR_H, p.view().rects[0].y); + // Emptied, it goes again. + p.gpa.free(p.view().col_tags[0].own.?); + p.view().col_tags[0].own = try p.gpa.dupe(u8, ""); + p.sync(); + try std.testing.expectEqual(@as(u16, 0), columnBarHeight(p)); + try std.testing.expectEqualDeep(alone, p.view().rects[0]); +} diff --git a/core/mouse.zig b/core/mouse.zig index b62cec7e..568470c7 100644 --- a/core/mouse.zig +++ b/core/mouse.zig @@ -365,11 +365,14 @@ fn emulateButton(p: *Pardes, m: *Mouse) void { fn headerPoint(p: *Pardes, column: ?usize, mcol: u16, mrow: u16, clamp: bool) ?struct { t: *panes.Text, text: []const u8, line: u16, at: usize } { const v = p.view(); const t = if (column) |c| &v.col_tags[c] else &p.global_tag; - const x = if (column) |c| v.col_x[c] + TAG_TEXT_INSET else TAG_TEXT_INSET; + // A lone column's tag is at the window row's left, the window's at + // its right end (UX K'2). + const in_row = column == null or layout.columnInWindowRow(p); + const x = if (column) |c| (if (in_row) TAG_TEXT_INSET else v.col_x[c] + TAG_TEXT_INSET) else tagline.windowRow(p).words; const focused = v.header != null and p.headerColumn() == column; const text = edit.flatSurface(p.editor(), t) catch return null; - const base = if (column != null) p.topBarHeight() else 0; - const rows = if (column != null) layout.columnBarHeight(p) else p.topBarHeight(); + const base = if (in_row) 0 else p.topBarHeight(); + const rows = if (in_row) p.topBarHeight() else layout.columnBarHeight(p); const row: u16 = if (clamp) @min(mrow -| base, rows -| 1) else mrow -| base; const top: usize = if (focused) v.header_top else 0; const lines = modal.lineCount(text); @@ -680,7 +683,12 @@ pub fn handleMouse(p: *Pardes, event: Mouse) void { var column: ?usize = null; var x: u16 = TAG_TEXT_INSET; if (mcol < x) return; - if (mrow >= p.topBarHeight()) { + if (mrow < p.topBarHeight()) { + // The window row: a lone column's tag at its left, the + // window's at its right; the blank between them is no one's. + const sides = tagline.windowRow(p); + if (mcol < TAG_TEXT_INSET + sides.column) column = 0 else if (mcol < sides.words) return; + } else { for (0..p.view().ncol) |c| if (mcol >= v.col_x[c] and mcol < v.col_x[c] + v.col_w[c]) { column = c; x = v.col_x[c] + TAG_TEXT_INSET; @@ -1991,3 +1999,39 @@ test "a body press, drag and release are the same state whichever frame this pro } try expectSame(a, b, "after the press"); } + +fn clickAt(p: *Pardes, button: pardes.Mouse.Button, col: u16, row: u16) void { + p.update(.{ .mouse = .{ .button = button, .kind = .press, .col = col, .row = row } }); + p.update(.{ .mouse = .{ .button = button, .kind = .release, .col = col, .row = row } }); +} + +test "one column's words at the window row's left and the window's at its right each run their own; the blank between is no one's (UX K'2)" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 100, .rows = 20, .tty_only = true }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + const row = tagline.windowRow(p); + // `New Term ` and its caret's cell from the inset; the window's words + // end on the blank before the last cell. + try std.testing.expectEqual(@as(u16, "New Term ".len + 1), row.column); + try std.testing.expectEqual(@as(u16, 100 - "Find Grep Newcol Help Exit ".len - 1), row.words); + // B2 on `New`: a pane in the column. + clickAt(p, .middle, TAG_TEXT_INSET + 1, 0); + try std.testing.expectEqual(@as(usize, 2), p.view().cols[0].n); + // B2 and B1 on the blank between: nothing, and no tag takes the keyboard. + const between = row.words - 2; + try std.testing.expect(between > TAG_TEXT_INSET + row.column); + clickAt(p, .middle, between, 0); + clickAt(p, .left, between, 0); + try std.testing.expectEqual(@as(usize, 2), p.view().cols[0].n); + try std.testing.expectEqual(@as(usize, 1), p.view().ncol); + try std.testing.expect(p.view().header == null); + // B1 on `Term`: the column's tag has the keyboard, there in the window + // row, its caret on the clicked cell. + clickAt(p, .left, TAG_TEXT_INSET + "New ".len + 1, 0); + p.sync(); + try std.testing.expectEqual(@as(?usize, 0), p.headerColumn()); + try std.testing.expectEqual(@as(i32, "New ".len + 1), p.view().col_tags[0].cur_col); + // B2 on `Newcol`, at the right: a second column. + clickAt(p, .middle, row.words + @as(u16, "Find Grep ".len) + 2, 0); + try std.testing.expectEqual(@as(usize, 2), p.view().ncol); +} diff --git a/core/ninep/cols.zig b/core/ninep/cols.zig index 88d8ef88..c84017a7 100644 --- a/core/ninep/cols.zig +++ b/core/ninep/cols.zig @@ -79,7 +79,7 @@ pub fn write(p: *Pardes, req: Req, serial: ?u32) Reply { if (pending) p.fs.header_trunc_pending = null; return tree.failText(req.tag, E.INVAL, why); } - const had = if (pending) 0 else headerText(p, serial).?.len; + const had = if (pending) 0 else if (t.own) |own| own.len else 0; // A rewrite drops its one trailing newline: `echo <4096 bytes> > tag` // is 4096 bytes of tag, and fits. const rewrite = pending or p.fs.header_rewrite == rewriteKey(serial); @@ -89,7 +89,8 @@ pub fn write(p: *Pardes, req: Req, serial: ?u32) Reply { return tree.failText(req.tag, E.NOSPC, pardes.ctlfs.pane.e_tag_over); } applyTruncation(p, serial); - const was = headerText(p, serial).?; + // Its own text grows, after the computed words (UX K'1). + const was: []const u8 = t.own orelse ""; var data = req.data; const rewriting = p.fs.header_rewrite == rewriteKey(serial); // A newline held from the write before goes in once more text follows. @@ -106,8 +107,8 @@ pub fn write(p: *Pardes, req: Req, serial: ?u32) Reply { return .{ .tag = req.tag, .written = @intCast(req.data.len) }; } -/// Truncating clears it, as a pane tag's `cleartag`: its default words go -/// too, and `u` in it brings them back. +/// Truncating clears it, as a pane tag's `cleartag`: its own text goes, +/// its computed words stay, and `u` in it brings the text back. pub fn truncate(p: *Pardes, serial: ?u32) tree.Status { if (header(p, serial) == null) return .err; // Done with the write after it, which may yet be refused. @@ -128,8 +129,9 @@ fn clear(p: *Pardes, serial: ?u32) tree.Status { const empty = p.gpa.alloc(u8, 0) catch unreachable; // no byte: the allocator is not asked if (t.own) |own| p.gpa.free(own); t.own = empty; + // what is left is the computed words; the cursor goes after them t.cur_row = 0; - t.cur_col = 0; + t.cur_col = @intCast(tagline.headerWords(p, t.what).len + 1); p.fs.header_rewrite = rewriteKey(serial); p.fs.header_held = false; return .ok; @@ -548,19 +550,21 @@ test "a column's tag and the workspace's read, replace and append as a pane tag try testing.expectEqual(E.NOENT, th.look_up(p, col_dir, "777").errno()); const tag = Node.ofCol(serial, .tag); try testing.expectEqual(tree.Status.ok, th.look_up(p, Node.ofCol(serial, .dir), "tag").reply.status); - try testing.expectEqualStrings("New Term Find Grep Joincol Delcol", th.rd(p, tag, 0, 4096).bytes); - // `echo Make > tag`: cleared, then the newline ending the write dropped. + // Its computed words (UX K'2), a blank, and its own text: none yet. + try testing.expectEqualStrings("New Term ", th.rd(p, tag, 0, 4096).bytes); + // `echo Make > tag`: its own text cleared, then the newline ending the + // write dropped; the computed words stay. _ = th.call(p, .{ .tag = 1, .op = .setattr, .node = tag, .truncate = true }); _ = th.wr(p, tag, "Make\n"); - try testing.expectEqualStrings("Make", th.rd(p, tag, 0, 4096).bytes); + try testing.expectEqualStrings("New Term Make", th.rd(p, tag, 0, 4096).bytes); _ = th.call(p, .{ .tag = 2, .op = .release, .node = tag }); // `>>` appends; a newline in a one-line tag is a space. _ = th.wr(p, tag, " Lint\nNow"); - try testing.expectEqualStrings("Make Lint Now", th.rd(p, tag, 0, 4096).bytes); + try testing.expectEqualStrings("New Term Make Lint Now", th.rd(p, tag, 0, 4096).bytes); const top = @backingInt(tree.TopFile.tag); _ = th.call(p, .{ .tag = 3, .op = .setattr, .node = top, .truncate = true }); _ = th.wr(p, top, "Newcol Exit\n"); - try testing.expectEqualStrings("Newcol Exit", tagline.topbar(p)); + try testing.expectEqualStrings("Find Grep Newcol Help Exit Newcol Exit", tagline.topbar(p)); } test "a focus write makes its pane's column the active one: layout says so and pane/new goes there" { diff --git a/core/replica.zig b/core/replica.zig index 97cbaeee..ccc29661 100644 --- a/core/replica.zig +++ b/core/replica.zig @@ -8001,7 +8001,9 @@ test "a far client's drag in a kind's pane it grabbed, the pane since too short } for ([_]pardes.Event{ .{ .mouse = .{ .button = .left, .kind = .press, .col = col, .row = row } }, - .{ .resize = .{ .cols = 80, .rows = 5 } }, + // Two rows for the two panes under the window row (a lone column has + // no column row, UX K'2): one each. + .{ .resize = .{ .cols = 80, .rows = 4 } }, .{ .mouse = .{ .button = .left, .kind = .drag, .col = col, .row = 30 } }, .{ .mouse = .{ .button = .left, .kind = .release, .col = col, .row = 30 } }, }) |ev| { diff --git a/core/root.zig b/core/root.zig index 11cb5058..525e796a 100644 --- a/core/root.zig +++ b/core/root.zig @@ -166,7 +166,13 @@ pub const TAG_TEXT_INSET: u16 = config.GUTTER; pub fn taglineOriginCol(p: *const Pardes, col: u16, row: u16) f32 { const v = p.view(); - if (row < p.topBarHeight()) return 0; + // The window row's two tags (UX K'2): a lone column's from the inset, + // the window's from its words. + if (row < p.topBarHeight()) { + const sides = tagline.windowRow(p); + if (col >= sides.words) return @floatFromInt(sides.words); + return if (sides.column > 0 and col >= TAG_TEXT_INSET) @floatFromInt(TAG_TEXT_INSET) else 0; + } if (row < p.topBarHeight() + layout.columnBarHeight(p)) { for (v.col_x[0..p.view().ncol], v.col_w[0..p.view().ncol]) |x, w| if (col >= x and col - x < w) return @floatFromInt(x); @@ -183,7 +189,17 @@ pub fn taglineOriginCol(p: *const Pardes, col: u16, row: u16) f32 { pub fn gridColAt(p: ?*const Pardes, x: f32, row: u16, body_w: f32, tagline_w: f32) u16 { const body = @max(body_w, 1); const tag = @max(tagline_w, 1); - if (row < (if (p) |core| core.topBarHeight() else TOPBAR_H)) return colFromSpan(x, tag); + if (row < (if (p) |core| core.topBarHeight() else TOPBAR_H)) { + // Its inset and the blank between its two tags on the body's grid, + // each tag's glyphs from its origin (taglineOriginCol). + const core = p orelse return colFromSpan(x, tag); + const cell = colFromSpan(x, body); + const origin: u16 = @intFromFloat(taglineOriginCol(core, cell, row)); + if (origin == 0) return cell; + const sides = tagline.windowRow(core); + const end = if (origin < sides.words) TAG_TEXT_INSET + sides.column else core.view().screen_w; + return @min(origin + colFromSpan(x - @as(f32, @floatFromInt(origin)) * body, tag), end -| 1); + } if (p) |core| if (row < core.topBarHeight() + layout.columnBarHeight(core)) { for (core.view().col_x[0..core.view().ncol], core.view().col_w[0..core.view().ncol]) |origin, width| { if (width == 0) continue; @@ -279,7 +295,7 @@ fn shortcuts(comptime b: Builtin) []const u8 { for (config.exec_key) |k| s = s ++ ", " ++ chordName(k); s = s ++ ", " ++ @tagName(config.exec_button) ++ "-click"; } - var it = std.mem.tokenizeScalar(u8, config.topbar_str, ' '); + var it = std.mem.tokenizeScalar(u8, config.window_words_str, ' '); while (it.next()) |w| if (std.mem.eql(u8, w, @tagName(b))) { s = s ++ ", topbar"; }; @@ -333,7 +349,7 @@ pub const builtin_rows: [std.enums.values(Builtin).len]Row = blk: { comptime { @setEvalBranchQuota(20000); // one branch per string byte, behind the decl walk that folds Builtin - var it = std.mem.tokenizeScalar(u8, config.topbar_str, ' '); + var it = std.mem.tokenizeScalar(u8, config.topbar_str ++ " " ++ config.window_words_str ++ " " ++ config.columns_words_str, ' '); words: while (it.next()) |w| { for (@typeInfo(Builtin).@"enum".field_names) |name| if (std.mem.eql(u8, name, w)) continue :words; @@ -368,9 +384,11 @@ test "a compact tagline anchors at its own pane, and both shells step from the s try std.testing.expectEqual(@as(f32, @floatFromInt(left.x)), taglineOriginCol(p, left.x + 3, left.y)); try std.testing.expectEqual(@as(f32, @floatFromInt(right.x)), taglineOriginCol(p, right.x + 3, right.y)); - // The topbar's origin is column zero always — it is not a pane rect, which - // is why row zero is right even in a window with no core to ask. + // The window row (UX K'2): its blank's origin is column zero, as a window + // with no core to ask has it; the window's words start at their own. + const words = tagline.windowRow(p).words; try std.testing.expectEqual(@as(f32, 0), taglineOriginCol(p, 40, 0)); + try std.testing.expectEqual(@as(f32, @floatFromInt(words)), taglineOriginCol(p, words + 3, 0)); const body_row = left.y + 2; try std.testing.expectEqual(@as(f32, 7), taglineOriginCol(p, 7, body_row)); @@ -399,9 +417,10 @@ test "a compact tagline anchors at its own pane, and both shells step from the s try std.testing.expectEqual(col, gridColAt(p, glyph_x + tag_w / 2, left.y, body_w, tag_w)); } - // The topbar's pointer grid is compact from column zero, with no pane to - // anchor to — the one tag row that is right with or without a core. - try std.testing.expectEqual(@as(u16, 3), gridColAt(p, 3.5 * tag_w, 0, body_w, tag_w)); + // The window row's blank is on the body's grid, its words compact from + // where they start; with no core to ask, compact from column zero. + try std.testing.expectEqual(@as(u16, 3), gridColAt(p, 3.5 * body_w, 0, body_w, tag_w)); + try std.testing.expectEqual(words + 3, gridColAt(p, @as(f32, @floatFromInt(words)) * body_w + 3.5 * tag_w, 0, body_w, tag_w)); try std.testing.expectEqual(@as(u16, 3), gridColAt(null, 3.5 * tag_w, 0, body_w, tag_w)); // A body row is untouched: still the body grid, still divided by the body diff --git a/core/tagline.zig b/core/tagline.zig index 3a306f04..b05a3d4a 100644 --- a/core/tagline.zig +++ b/core/tagline.zig @@ -12,6 +12,7 @@ const config = @import("config.zig"); const Layer = @import("Layer.zig"); const layout = @import("layout.zig"); const TagState = @import("TagState.zig"); +const Messages = @import("Messages.zig"); const Pane = panes.Pane; const Text = panes.Text; const TAG_TEXT_INSET = pardes.TAG_TEXT_INSET; @@ -113,34 +114,85 @@ pub fn dirty(pane: *const panes.Pane) bool { const f = pane.file orelse return false; return panes.Output.fileTraits(f.output).saves and (f.revision != f.saved_revision or f.disk_gone); } -/// What a column's tag says until someone edits it. +/// What a column's tag said before UX K', its own text then: a dump's own +/// text equal to it is dropped (dump.dropOldTags), and a column's exec +/// still takes its words (ninep/cols.zig paneWord). pub const column_tag_default = "New Term Find Grep Joincol Delcol"; -/// What a header says until someone edits it: for the workspace the -/// fixed builtins, plus `Restore <path>` once a dump exists. -pub fn headerDefault(p: *Pardes, what: Text.What) []const u8 { - if (what == .column) return column_tag_default; - const row = topbarDefault(p); - const d = p.last_dump orelse return row; - return std.fmt.allocPrint(p.scratch.allocator(), "{s} Restore {s}", .{ row, d }) catch row; +/// A header's computed words (UX K'2), read-only, made again from the +/// session's state as a pane tag's are: the window's, then `Restore +/// <path>` once a dump exists; a column's, with Joincol and Delcol where +/// there is a second column for them. +pub fn headerWords(p: *Pardes, what: Text.What) []const u8 { + if (what == .column) return if (p.view().ncol > 1) config.columns_words_str else config.column_words_str; + const d = p.last_dump orelse return config.window_words_str; + return std.fmt.allocPrint(p.scratch.allocator(), "{s} Restore {s}", .{ config.window_words_str, d }) catch config.window_words_str; } -/// The workspace row's words for this view: the window's row, with Fonts, -/// in a window's view alone; a terminal's view (a terminal's build, or a -/// terminal's replica of a window's session) has the row without it. -fn topbarDefault(p: *Pardes) []const u8 { - if (comptime @import("builtins.zig").capabilities.font_picker) if (@import("builtins.zig").registry.here(p, .Fonts)) return config.topbar_window_str; - return config.topbar_terminal_str; +/// A header as it is shown, read and edited: its computed words, a blank, +/// then the user's text (UX K'1), everything typed into it, as a pane +/// tag's own text follows its prefix. +pub fn headerText(p: *Pardes, t: *const Text) ![]u8 { + const own: []const u8 = t.own orelse ""; + return std.mem.concat(p.scratch.allocator(), u8, &.{ headerWords(p, t.what), " ", own }); } -/// the topbar line -- render and click dispatch must agree on this exact -/// string +/// The window's tag -- render and click dispatch must agree on this exact +/// string. pub fn topbar(p: *Pardes) []const u8 { - return p.global_tag.own orelse headerDefault(p, .workspace); + return headerText(p, &p.global_tag) catch config.window_words_str; } -pub fn columnTag(p: *const Pardes, c: usize) []const u8 { - return p.view().col_tags[c].own orelse column_tag_default; +pub fn columnTag(p: *Pardes, c: usize) []const u8 { + return headerText(p, &p.view().col_tags[c]) catch config.column_words_str; +} + +/// A header's width in glyphs as headerText makes it, made of nothing. +fn headerWidth(p: *const Pardes, t: *const Text) usize { + const tab = p.settings.tab; + const own = if (t.own) |text| panes.File.displayWidth(tab, text) else 0; + const column: []const u8 = if (p.view().ncol > 1) config.columns_words_str else config.column_words_str; + if (t.what == .column) return column.len + 1 + own; + const restore = if (p.last_dump) |d| " Restore ".len + panes.File.displayWidth(tab, d) else 0; + return config.window_words_str.len + restore + 1 + own; +} + +/// The window row's two sides (UX K'2), in cells from the window's left: +/// column 0's tag from the inset, `column` cells (its text and its caret's +/// cell; none but while layout.columnInWindowRow), and the window's tag +/// from `words` to the right edge, its last cell the caret's, a server's +/// progress after its text while one runs (draw.zig). Draw, the mouse, +/// workspaceBlank and a pixel shell's grid read it. +pub const WindowRow = struct { column: u16, words: u16 }; +pub fn windowRow(p: *const Pardes) WindowRow { + const v = p.view(); + const inset = @min(TAG_TEXT_INSET, v.screen_w); + const column = if (layout.columnInWindowRow(p)) @min(cellsFor(p, headerWidth(p, &v.col_tags[0]) + 1), v.screen_w - inset) else 0; + var glyphs = headerWidth(p, &p.global_tag) + 1; + if (sessionProgress(p)) |said| glyphs += 2 + progressWidth(p, said); + return .{ .column = column, .words = @max(v.screen_w -| cellsFor(p, glyphs), inset + column) }; +} + +/// A server's progress that is no pane's, the session's: shown at the +/// window tag's end while it runs. +pub fn sessionProgress(p: *const Pardes) ?*const Messages.Said { + for (p.messages.live[0..p.messages.live_len]) |*said| if (said.kind == .progress and said.pane == 0) return said; + return null; +} + +/// The width of a server's progress as the window's tag shows it: its +/// glyph, a blank and its words. +pub fn progressWidth(p: *const Pardes, said: *const Messages.Said) usize { + return panes.File.displayWidth(p.settings.tab, Messages.Kind.progress.glyph()) + 1 + panes.File.displayWidth(p.settings.tab, said.words()); +} + +/// The grid cells `glyphs` tagline glyphs take: layout.tagCapacity's +/// inverse. +fn cellsFor(p: *const Pardes, glyphs: usize) u16 { + const m = p.view().row_metrics; + const body: usize = @max(1, m.body_w); + const tag: usize = @max(1, m.tagline_w); + return @intCast(@min(std.math.maxInt(u16), (glyphs * tag + body - 1) / body)); } /// The header with the keyboard, when one has it. @@ -160,11 +212,14 @@ pub fn revealHeader(p: *Pardes) void { }; const text = edit.flatSurface(p.editor(), t) catch |err| return p.reportError(.at(v.active), "tag", err); const cur: usize = @intCast(@max(0, t.cur_row)); - const rows: usize = if (p.headerColumn() != null) layout.columnBarHeight(p) else p.topBarHeight(); + // Column 0's tag in the window row (UX K'2) has that row and its side. + const in_row = p.headerColumn() != null and layout.columnInWindowRow(p); + const rows: usize = if (p.headerColumn() != null and !in_row) layout.columnBarHeight(p) else p.topBarHeight(); if (cur < v.header_top) v.header_top = cur; if (rows > 0 and cur >= v.header_top + rows) v.header_top = cur + 1 - rows; const line = modal.lineSlice(text, cur); - const width = layout.tagCapacity(p, if (p.headerColumn()) |c| v.col_w[c] -| TAG_TEXT_INSET else v.screen_w -| TAG_TEXT_INSET); + const sides = windowRow(p); + const width = layout.tagCapacity(p, if (p.headerColumn()) |c| (if (in_row) sides.column else v.col_w[c] -| TAG_TEXT_INSET) else v.screen_w -| sides.words); const col = panes.File.rawDisplayCol(p.settings.tab, line, @min(@as(usize, @intCast(@max(0, t.cur_col))), line.len)); if (col < v.header_scroll) v.header_scroll = col; if (col >= v.header_scroll + width) v.header_scroll = col -| (width -| 1); @@ -699,13 +754,18 @@ pub fn exitHeader(p: *Pardes) void { } /// Give the keyboard to a column's tag, or the workspace's for null, in -/// normal mode, its cursor where that header last had it. +/// normal mode, its cursor where that header last had it; the first time +/// on the user's text, after the computed words (UX K'1), as enterTag. pub fn enterHeader(p: *Pardes, column: ?usize) void { exitHeader(p); if (p.panes[p.view().active]) |pane| pane.focus = .body; p.view().header = if (column) |c| .{ .column = c } else .workspace; if (column) |c| p.setActiveColumn(c); const t = focusedHeader(p) orelse return exitHeader(p); + if (!t.cur_pinned) { + t.cur_row = 0; + t.cur_col = @intCast(headerWords(p, t.what).len + 1); + } takeKeyboard(t, edit.flatSurface(p.editor(), t) catch |err| return p.reportError(.at(p.view().active), "tag", err)); } @@ -724,19 +784,23 @@ pub fn headerSelection(t: *const Text, text: []const u8, row: usize) ?struct { l return .{ .lo = @max(lo, start) - start, .hi = @min(hi, end) - start }; } -/// Whether the workspace tag is blank at cell (col, row): its inset left of -/// the text, or past the text's end with two cells kept free for the caret -/// (a B1 there still types at the end of the tag). A pixel shell lets the -/// window be dragged by such a cell, as a browser by the space beside its -/// tabs: blank is no text, so no button of acme's is taken from any. A -/// column's tag and a pane's are not: their blank is where B1 types. +/// Whether the window row is blank at cell (col, row): its inset, the +/// cells between its two sides (UX K'2), or past the window's text with +/// two cells kept free for the caret (a B1 there still types at the end of +/// the tag). A pixel shell lets the window be dragged by such a cell, as a +/// browser by the space beside its tabs: blank is no text, so no button of +/// acme's is taken from any. A column's tag and a pane's are not: their +/// blank is where B1 types. pub fn workspaceBlank(p: *Pardes, col: u16, row: u16, tag_hit: ?pardes.TagHit) bool { const v = p.view(); if (row >= p.topBarHeight() or col >= v.screen_w) return false; if (col < TAG_TEXT_INSET) return true; - const text = edit.flatSurface(p.editor(), &p.global_tag) catch return false; + const sides = windowRow(p); + if (col < TAG_TEXT_INSET + sides.column) return false; + if (col < sides.words) return true; + const text = topbar(p); const scroll: usize = if (v.header != null and p.headerColumn() == null) v.header_scroll else 0; - const at = @as(usize, Layer.columnAt(p, .workspace, 0, tag_hit, false, 0) orelse (col - TAG_TEXT_INSET)) + scroll; + const at = @as(usize, Layer.columnAt(p, .workspace, 0, tag_hit, false, 0) orelse (col - sides.words)) + scroll; return at >= panes.File.displayWidth(p.settings.tab, modal.lineSlice(text, 0)) + 2; } @@ -744,15 +808,17 @@ pub fn workspaceBlank(p: *Pardes, col: u16, row: u16, tag_hit: ?pardes.TagHit) b /// pasted or restored from a dump into one becomes a space, the caret and /// the selection kept on the same characters. pub fn flattenHeaders(p: *Pardes) void { - for (p.view().col_tags[0..p.view().ncol]) |*t| flatten(t); - flatten(&p.global_tag); + for (p.view().col_tags[0..p.view().ncol]) |*t| flatten(p, t); + flatten(p, &p.global_tag); } -fn flatten(t: *Text) void { +fn flatten(p: *Pardes, t: *Text) void { const own = t.own orelse return; if (std.mem.indexOfScalar(u8, own, '\n') == null) return; - const cur = modal.offsetAt(own, .{ .row = @intCast(@max(0, t.cur_row)), .col = @intCast(@max(0, t.cur_col)) }); - const anchor = modal.offsetAt(own, .{ .row = @intCast(@max(0, t.vsel.row)), .col = @intCast(@max(0, t.vsel.col)) }); + // The caret and the anchor are in the text as shown, words and all. + const shown = headerText(p, t) catch return; + const cur = modal.offsetAt(shown, .{ .row = @intCast(@max(0, t.cur_row)), .col = @intCast(@max(0, t.cur_col)) }); + const anchor = modal.offsetAt(shown, .{ .row = @intCast(@max(0, t.vsel.row)), .col = @intCast(@max(0, t.vsel.col)) }); std.mem.replaceScalar(u8, own, '\n', ' '); t.cur_row = 0; t.cur_col = @intCast(cur); @@ -774,25 +840,22 @@ pub fn wordBoundsAtCol(str: []const u8, col: usize) ?WordBounds { return .{ .lo = lo, .hi = hi }; } -test "the workspace tag is blank left of its text and past its end, and nowhere else" { +test "the window row is blank at its inset and between its two sides, and nowhere else (UX K'2)" { const p = try Pardes.init(std.testing.allocator, .{ .cols = 80, .rows = 12, .tty_only = true }); defer p.deinit(); - p.global_tag.own = try p.gpa.dupe(u8, "Newcol Exit"); p.sync(); var arena = std.heap.ArenaAllocator.init(std.testing.allocator); defer arena.deinit(); _ = try p.render(arena.allocator()); - const end = TAG_TEXT_INSET + "Newcol Exit".len; - try std.testing.expect(workspaceBlank(p, 0, 0, null)); - try std.testing.expect(workspaceBlank(p, TAG_TEXT_INSET - 1, 0, null)); - // Every cell of the text, the gap between its words too, is not. - for (TAG_TEXT_INSET..end) |c| try std.testing.expect(!workspaceBlank(p, @intCast(c), 0, null)); - // The two cells after it are the caret's, then blank to the edge. - try std.testing.expect(!workspaceBlank(p, end, 0, null)); - try std.testing.expect(!workspaceBlank(p, end + 1, 0, null)); - try std.testing.expect(workspaceBlank(p, end + 2, 0, null)); - try std.testing.expect(workspaceBlank(p, 79, 0, null)); - // Below the workspace tag: a column's tag, a pane: never. + const sides = windowRow(p); + try std.testing.expect(sides.column > 0 and TAG_TEXT_INSET + sides.column < sides.words); + for (0..TAG_TEXT_INSET) |c| try std.testing.expect(workspaceBlank(p, @intCast(c), 0, null)); + // The column's words and their caret's cell are not; the cells between + // the two sides are; the window's words and their caret's cell are not. + for (TAG_TEXT_INSET..TAG_TEXT_INSET + sides.column) |c| try std.testing.expect(!workspaceBlank(p, @intCast(c), 0, null)); + for (TAG_TEXT_INSET + sides.column..sides.words) |c| try std.testing.expect(workspaceBlank(p, @intCast(c), 0, null)); + for (sides.words..80) |c| try std.testing.expect(!workspaceBlank(p, @intCast(c), 0, null)); + // Below the window row: a column's tag, a pane: never. for (1..12) |r| try std.testing.expect(!workspaceBlank(p, 79, @intCast(r), null)); // Hidden, there is none. p.settings.workspace_tag = false; @@ -807,10 +870,11 @@ test "a column or workspace tag is one line: a newline in it is a space" { p.view().col_tags[0].cur_col = 2; p.global_tag.own = try p.gpa.dupe(u8, "Newcol\nExit"); p.sync(); - try std.testing.expectEqualStrings("New Snarf", columnTag(p, 0)); + try std.testing.expectEqualStrings("New Term New Snarf", columnTag(p, 0)); try std.testing.expectEqualStrings("Newcol Exit", p.global_tag.own.?); + // The caret on the same character, `a` of Snarf. try std.testing.expectEqual(@as(i32, 0), p.view().col_tags[0].cur_row); - try std.testing.expectEqual(@as(i32, 6), p.view().col_tags[0].cur_col); + try std.testing.expectEqual(@as(i32, "New Term New Sn".len), p.view().col_tags[0].cur_col); try std.testing.expectEqual(pardes.COLBAR_H, layout.columnBarHeight(p)); try std.testing.expectEqual(pardes.TOPBAR_H, p.topBarHeight()); } @@ -940,3 +1004,71 @@ test "a dump of a build before UX K' restores a tag's old default own text as no defer kept.deinit(); try std.testing.expectEqualStrings(" Save Term Collapse Follow Del Mine", kept.panes[0].?.tag.own.?); } + +test "a header reads its computed words, then the user's text: typed there, kept through a change of its words (UX K'1, K'2)" { + const p = try Pardes.init(std.testing.allocator, .{ .cols = 120, .rows = 30, .tty_only = true }); + defer p.deinit(); + _ = try p.setTestFile("one\n"); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit ", topbar(p)); + try std.testing.expectEqualStrings("New Term ", columnTag(p, 0)); + // The window's tag given the keyboard starts on the user's text. + enterHeader(p, null); + typeKeys(p, "iMine"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings("Mine", p.global_tag.own.?); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Mine", topbar(p)); + // A Backspace on the blank before it is refused: the words are no one's. + p.global_tag.cur_col = "Find Grep Newcol Help Exit ".len; + typeKeys(p, "i"); + p.update(.{ .key = .{ .cp = pardes.Key.backspace } }); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Mine", topbar(p)); + // A dump: its Restore comes into the words, the user's text after it. + p.setLastDump("/tmp/a.zon"); + try std.testing.expectEqualStrings("Find Grep Newcol Help Exit Restore /tmp/a.zon Mine", topbar(p)); + // A second column: Joincol and Delcol come into every column's words. + exitHeader(p); + try std.testing.expect(p.executeBuiltinLine(0, "Newcol")); + p.sync(); + try std.testing.expectEqualStrings("New Term Joincol Delcol ", columnTag(p, 0)); + try std.testing.expectEqualStrings("New Term Joincol Delcol ", columnTag(p, 1)); + // Newcol gave the keyboard to the new column's tag, on its user's text. + try std.testing.expectEqual(@as(?usize, 1), p.headerColumn()); + typeKeys(p, "iTwo"); + p.update(.{ .key = .{ .cp = pardes.Key.escape } }); + try std.testing.expectEqualStrings("New Term Joincol Delcol Two", columnTag(p, 1)); + try std.testing.expectEqualStrings("Two", p.view().col_tags[1].own.?); +} + +test "a dump of a build before UX K' restores a header'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(); + _ = try p.setTestFile("one\n"); + // What the window's and a column's tags said before, with a Restore. + p.global_tag.own = try p.gpa.dupe(u8, config.topbar_terminal_str ++ " Restore /tmp/old.zon"); + p.view().col_tags[0].own = try p.gpa.dupe(u8, column_tag_default); + try dump.dumpState(p); + const dropped = try dump.restore(p, p.dump_out.?, "old"); + defer dropped.deinit(); + try std.testing.expect(dropped.global_tag.own == null); + try std.testing.expect(dropped.view().col_tags[0].own == null); + try std.testing.expectEqualStrings("New Term ", columnTag(dropped, 0)); + // The window's row with Fonts, and no Restore, is dropped too. + p.gpa.free(p.global_tag.own.?); + p.global_tag.own = try p.gpa.dupe(u8, config.topbar_window_str); + try dump.dumpState(p); + const window = try dump.restore(p, p.dump_out.?, "window"); + defer window.deinit(); + try std.testing.expect(window.global_tag.own == null); + // Edited around: kept whole, after the computed words. + p.gpa.free(p.global_tag.own.?); + p.global_tag.own = try p.gpa.dupe(u8, config.topbar_terminal_str ++ " Mine"); + p.gpa.free(p.view().col_tags[0].own.?); + p.view().col_tags[0].own = try p.gpa.dupe(u8, "New Mine"); + try dump.dumpState(p); + const kept = try dump.restore(p, p.dump_out.?, "custom"); + defer kept.deinit(); + try std.testing.expectEqualStrings(config.topbar_terminal_str ++ " Mine", kept.global_tag.own.?); + try std.testing.expectEqualStrings("New Term New Mine", columnTag(kept, 0)); +} diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig index a478db03..5d4c051a 100644 --- a/dev/gui/gui.zig +++ b/dev/gui/gui.zig @@ -6349,8 +6349,9 @@ test "tagline pointer mapping retains physical grips and carries logical text co try std.testing.expectEqual(body_y, body.row); try std.testing.expect(body.tag_hit == null); - // The workspace tag's text starts TAG_TEXT_INSET cells in, as a pane's. - const x_top = @as(f32, @floatFromInt(pardes.TAG_TEXT_INSET)) * body_w + 3.5 * tag_w; + // The window's tag's text starts where its words do, at the window + // row's right end (UX K'2). + const x_top = @as(f32, @floatFromInt(pardes.tagline.windowRow(core).words)) * body_w + 3.5 * tag_w; const topbar = gridCellAtDimensions(&g, x_top, 0.5 * body_h, body_w, body_h, tag_w); try std.testing.expectEqual(pixelCell(x_top, 10), topbar.col); try std.testing.expectEqual(@as(u16, 3), topbar.tag_hit.?.col); diff --git a/docs/typ/builtins-gui.json b/docs/typ/builtins-gui.json index 2243756d..f129215a 100644 --- a/docs/typ/builtins-gui.json +++ b/docs/typ/builtins-gui.json @@ -9,7 +9,7 @@ {"name": "Callers", "leader": "SPC l c", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the functions that call the one under the cursor, one level up; a single one is a jump.", "text": "List the functions that call the one under the cursor, one level up; a single one is a jump."}, {"name": "Callstack", "leader": "SPC l b", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.", "text": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.\nEach caller with its place to open and its signature, the line of each call under it; callers named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many levels (8 by default); a deeper tree says where to go on from. `g c` does the same."}, {"name": "CallstackDepth", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Caller levels collected by Callstack, 1 through 64; default 8.", "text": "Caller levels collected by Callstack, 1 through 64; default 8. Bare, it says the current limit."}, - {"name": "Changelog", "leader": "SPC h c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build's version and what changed to reach it, in a +Changelog.", "text": "Show this build's version and what changed to reach it, in a +Changelog."}, + {"name": "Changelog", "leader": "SPC h c", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build's version and what changed to reach it, in a +Changelog.", "text": "Show this build's version and what changed to reach it, in a +Changelog."}, {"name": "Changes", "leader": "SPC t c", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.", "text": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.\n`Changes <revset>` pins the revset's changes that touched the file on its pane, or a revision's (`notes.md@main`), and shows them in every view of it: `Changes @-::@`, `Changes trunk()..@`. One set a pane: a later Changes or Compare replaces it. Bare: hidden, or shown again; with none pinned yet, `@`.\nEach change gets a lane after the line number. What the file no longer has stands where it stood as lines of the pane's text with no number, read-only: the cursor, a selection, a search, B2 and B3 work there, and an edit that touches one is refused. After a change's last line comes its description, `id title author age`, its lane ending in an arrow at it; a long one wraps. `] g` and `[ g` step through the changes; B3 on a description's id opens that change's patch at that line (`Diff <id> <path>:<line>`)."}, {"name": "Churn", "leader": "SPC t u", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show how many changes touched each declaration of this file, as a heat lane.", "text": "Show how many changes touched each declaration of this file, as a heat lane.\n`Churn <window>`: a revset, or a span of time back from now (`3d`, `2w`, `6m`, `1y`). In this view a cell after the line number, from the line numbers' grey to the theme's red on a log scale, and a strip by the scroll thumb. Bare: hidden in this view or shown again; with none counted yet, the file's whole history."}, {"name": "ClipPaste", "leader": "SPC p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Paste the system clipboard after the selection.", "text": "Paste the system clipboard after the selection."}, @@ -20,9 +20,9 @@ {"name": "CodeAction", "leader": "SPC l a", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the language server's code actions for the cursor, to apply one.", "text": "List the language server's code actions for the cursor, to apply one.\nTyped where jumps walk, they are a picker in the pane's tag, the one under the cursor shown as its edit, applied by Enter or its digit; else a +Lsp lists them."}, {"name": "Collapse", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Fold this pane to its tag, or give it its share of the column again.", "text": "Fold this pane to its tag, or give it its share of the column again."}, {"name": "Compare", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.", "text": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.\n`Compare <rev> <rev> [<rev> ...]`: two points or more in their order, each one revision (a commit or change id, a bookmark, `master@origin`, `@`): `Compare 9ef6312813 ea63317630 master@origin`. A pair is drawn as one change however many lie between its points; after its last line, its row: the two points, how many changes lie between them, their first and last days. One set a pane: a later Changes or Compare replaces it. Bare: as bare Changes."}, - {"name": "Config", "leader": "SPC f c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the startup file, `init` in the configuration directory, in a pane.", "text": "Open the startup file, `init` in the configuration directory, in a pane.\nIts pane when it is open, else the file; not there yet, a pane of that name, which Save makes, its directory too."}, + {"name": "Config", "leader": "SPC f c", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the startup file, `init` in the configuration directory, in a pane.", "text": "Open the startup file, `init` in the configuration directory, in a pane.\nIts pane when it is open, else the file; not there yet, a pane of that name, which Save makes, its directory too."}, {"name": "CursorBlink", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "The cursor blinks, solid while typing, on or off.", "text": "The cursor blinks, solid while typing, on or off."}, - {"name": "Debug", "leader": "SPC t d", "also": ["topbar"], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A small box of frame statistics at the top right, on or off.", "text": "A small box of frame statistics at the top right, on or off."}, + {"name": "Debug", "leader": "SPC t d", "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A small box of frame statistics at the top right, on or off.", "text": "A small box of frame statistics at the top right, on or off."}, {"name": "Def", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Go to the definition of the symbol under the cursor.", "text": "Go to the definition of the symbol under the cursor.\nWith an argument (a 2-1 chord's selection), of that symbol, asked at its occurrence nearest the cursor. One answer is a jump; several open a list, the keyboard on its current row; none says so. `g d` does the same."}, {"name": "Del", "leader": "SPC d", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane.", "text": "Close the pane.\n`Del k` gives its rows to the pane above it, `Del j` to the one below, each falling back to the other side; bare, from the keyboard between two panes, it asks k or j on the pane's notice band. A docked pane's rows go back to the pane it answers for. Refused once while the pane holds unsaved text (listed in +Unsaved); Del again, nothing edited since, closes it."}, {"name": "DelAbove", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane above it, as `Del k` does.", "text": "Close the pane, giving its rows to the pane above it, as `Del k` does."}, @@ -32,7 +32,7 @@ {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List this file's diagnostics in a +Search.", "text": "List this file's diagnostics in a +Search.\n`] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first."}, {"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.", "text": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.\nBare, on a diff (a .diff, a .patch, a +Pager holding one): its hunks stacked; on a +Diff: the diff itself, as text. `Diff <file>`: that .diff's or .patch's hunks. `Diff <hash>` (7 to 40 hex digits): `git show` of that commit, in its own `+Diff-<hash>`. `Diff <change> [path[:line]]` (a jj change id): its patch, its header and whole message on top, the cursor at that place. `Diff <from>..<to> [path[:line]]`: the difference between two points, the changes between them on top.\nEach hunk stands under its `path:line` and the declarations around it, a + or - before each line, the words a changed line changed tinted. `SPC j n` and `SPC j p` step through the hunks; B3 on a place opens it."}, {"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, or off a tag onto the pane under it.", "text": "Move the keyboard to the pane below, or off a tag onto the pane under it."}, - {"name": "Dump", "leader": "SPC s d", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore <path>` word that brings them back."}, + {"name": "Dump", "leader": "SPC s d", "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore <path>` word that brings them back."}, {"name": "DumpConfig", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the settings in effect in a +DumpConfig, as lines the startup file takes.", "text": "Show the settings in effect in a +DumpConfig, as lines the startup file takes.\nThe startup file's path with them; a line run there is that setting."}, {"name": "DumpDir", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The directory of the state file, where Dump writes and Recent is kept.", "text": "The directory of the state file, where Dump writes and Recent is kept. A relative Restore name is looked for there too; bare, the default."}, {"name": "DumpThemes", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Write the bundled themes into the configuration directory's themes, to edit.", "text": "Write the bundled themes into the configuration directory's themes, to edit.\nThemeFile loads one back."}, @@ -43,18 +43,18 @@ {"name": "Find", "leader": "SPC f f", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the files below this pane's directory whose names match its argument.", "text": "List the files below this pane's directory whose names match its argument.\nA query pane under this pane, its line 1 `Find <name>`, the files under it by a fuzzy match of their names: with a word, listed, the keyboard left where it was; bare (`SPC f f`), typed into. Enter or B3 on a row opens that file. A script's Find that finds nothing fails, `not found`."}, {"name": "Follow", "leader": "SPC c f", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show one text across a chain of panes as consecutive pages, scrolled as one.", "text": "Show one text across a chain of panes as consecutive pages, scrolled as one.\nAs Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the text, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow."}, {"name": "Font", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The body font, by name or path, and its size after a colon: `Font Mono:14`.", "text": "The body font, by name or path, and its size after a colon: `Font Mono:14`. Fonts lists them."}, - {"name": "Fonts", "leader": "SPC t f", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List this machine's fonts in a +Fonts, each a `Font <name>` line to run.", "text": "List this machine's fonts in a +Fonts, each a `Font <name>` line to run."}, + {"name": "Fonts", "leader": "SPC t f", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List this machine's fonts in a +Fonts, each a `Font <name>` line to run.", "text": "List this machine's fonts in a +Fonts, each a `Font <name>` line to run."}, {"name": "Forward", "leader": "SPC j i", "also": ["C-i"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Go one step forward again in the jump history, up to where Back started.", "text": "Go one step forward again in the jump history, up to where Back started."}, {"name": "Get", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.", "text": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.\n`Get <file>` loads that file into the pane instead, the pane taking its name. In a directory's pane, it reads the directory again."}, {"name": "Grep", "leader": "SPC f g", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the lines of the files below this pane's directory that hold its argument.", "text": "List the lines of the files below this pane's directory that hold its argument.\nThe text is matched as it is, not as a pattern, in a query pane under this pane, its line 1 `Grep <text>`: with a word, listed, the keyboard left where it was; bare (`SPC f g`), typed into. Past 2000 lines it stops, and More goes on. A script's Grep that finds nothing fails, `not found`."}, {"name": "GripWidth", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The grip and scrollbar width, as a percent of the theme's rail.", "text": "The grip and scrollbar width, as a percent of the theme's rail."}, {"name": "Help", "leader": "SPC ?", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Show every builtin with its keys and documentation, or one builtin's alone.", "text": "Show every builtin with its keys and documentation, or one builtin's alone.\n`Help <name>`: that builtin alone, its keys spelled out, what it acts on and its line for a shell (`Help Diff`); a setting or an addon's word the same. `Help <keys>`: the builtins under SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second Help replaces its text."}, - {"name": "History", "leader": "SPC f h", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left, in a +History: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. B2 on the Restore, or a Look at its line, is that Restore."}, + {"name": "History", "leader": "SPC f h", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left, in a +History: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. B2 on the Restore, or a Look at its line, is that Restore."}, {"name": "Hover", "leader": "SPC l k", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Ask the language server about the symbol under the cursor, its answer in a +Hover.", "text": "Ask the language server about the symbol under the cursor, its answer in a +Hover."}, {"name": "InactiveDim", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off.", "text": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off."}, {"name": "Incl", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).", "text": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).\n`Incl <dir> ...` adds them, each absolute or from `~`; bare, it lists them; `Incl -` empties the list. The list is the session's."}, {"name": "Index", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Run the file's language indexer at its project root, writing its index.scip.", "text": "Run the file's language indexer at its project root, writing its index.scip.\nThe language words ask the nearest index.scip above a file first, and its language server only when the index has nothing to say; an index older than the file still answers, and says so once."}, - {"name": "Joincol", "leader": "SPC c j", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Fold the keyboard's column into the one on its right, keeping its panes.", "text": "Fold the keyboard's column into the one on its right, keeping its panes.\nRefused for the last column, and where the joined column could not give each pane its tag and 2 rows."}, + {"name": "Joincol", "leader": "SPC c j", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Fold the keyboard's column into the one on its right, keeping its panes.", "text": "Fold the keyboard's column into the one on its right, keeping its panes.\nRefused for the last column, and where the joined column could not give each pane its tag and 2 rows."}, {"name": "JumpTrail", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A jump of the cursor leaves a short trail that fades, on or off.", "text": "A jump of the cursor leaves a short trail that fades, on or off."}, {"name": "Jumplist", "leader": "SPC j l", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the places jumped from in a +Jumps, each a place to go.", "text": "List the places jumped from in a +Jumps, each a place to go."}, {"name": "Jumps", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "walk, new-pane", "doc": "A jump steps its pane or that pane's reader (walk), or opens a pane for each file (new-pane).", "text": "A jump steps its pane or that pane's reader (walk), or opens a pane for each file (new-pane)."}, @@ -107,10 +107,10 @@ {"name": "Term", "leader": "SPC n t", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Open a terminal below this pane, in its directory, raw: its keys the shell's at once.", "text": "Open a terminal below this pane, in its directory, raw: its keys the shell's at once.\n`Term fish` runs that shell instead of the Shell setting's, as a terminal's own tag word `Term+fish` says; a shell that is not there is said. A directory that is not there makes no terminal."}, {"name": "Theme", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Switch to the theme named: `Theme atelier`.", "text": "Switch to the theme named: `Theme atelier`. Themes lists them, NextColor steps through them."}, {"name": "ThemeFile", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Load a theme from a .zon file: `ThemeFile ~/themes/mine.zon`.", "text": "Load a theme from a .zon file: `ThemeFile ~/themes/mine.zon`.\nDumpThemes writes the bundled ones out to start from."}, - {"name": "Themes", "leader": "SPC t t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the bundled themes in a +Themes, each a `Theme <name>` line to run.", "text": "List the bundled themes in a +Themes, each a `Theme <name>` line to run."}, + {"name": "Themes", "leader": "SPC t t", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the bundled themes in a +Themes, each a `Theme <name>` line to run.", "text": "List the bundled themes in a +Themes, each a `Theme <name>` line to run."}, {"name": "Togglettymode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Switch this terminal between raw mode, its keys the program's, and normal mode.", "text": "Switch this terminal between raw mode, its keys the program's, and normal mode."}, {"name": "TreeContext", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show, at the pane's head, the declarations its top row is in.", "text": "Show, at the pane's head, the declarations its top row is in.\n`TreeContext on` or `off` sets it; bare, it flips. Only a source file the parser knows has them."}, - {"name": "Tutor", "leader": "SPC h t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through.", "text": "Open the tutor, a document to work through."}, + {"name": "Tutor", "leader": "SPC h t", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through.", "text": "Open the tutor, a document to work through."}, {"name": "Undo", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Step the pane's text back one edit.", "text": "Step the pane's text back one edit.\nWith no step left, it says so and changes nothing (a ctl write of it still succeeds, as acme's Undo is silent there). A file keeps 256 steps."}, {"name": "Undock", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own.", "text": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own.\nThe next search from that pane opens another under it."}, {"name": "Unfollow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Take this pane out of its Follow chain.", "text": "Take this pane out of its Follow chain.\nIt stays, a Zerox twin with the scroll it has, and the chain closes up behind it."}, diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 9d726dc5..67c461bb 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -9,7 +9,7 @@ {"name": "Callers", "leader": "SPC l c", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the functions that call the one under the cursor, one level up; a single one is a jump.", "text": "List the functions that call the one under the cursor, one level up; a single one is a jump."}, {"name": "Callstack", "leader": "SPC l b", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.", "text": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.\nEach caller with its place to open and its signature, the line of each call under it; callers named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many levels (8 by default); a deeper tree says where to go on from. `g c` does the same."}, {"name": "CallstackDepth", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Caller levels collected by Callstack, 1 through 64; default 8.", "text": "Caller levels collected by Callstack, 1 through 64; default 8. Bare, it says the current limit."}, - {"name": "Changelog", "leader": "SPC h c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build's version and what changed to reach it, in a +Changelog.", "text": "Show this build's version and what changed to reach it, in a +Changelog."}, + {"name": "Changelog", "leader": "SPC h c", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build's version and what changed to reach it, in a +Changelog.", "text": "Show this build's version and what changed to reach it, in a +Changelog."}, {"name": "Changes", "leader": "SPC t c", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.", "text": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.\n`Changes <revset>` pins the revset's changes that touched the file on its pane, or a revision's (`notes.md@main`), and shows them in every view of it: `Changes @-::@`, `Changes trunk()..@`. One set a pane: a later Changes or Compare replaces it. Bare: hidden, or shown again; with none pinned yet, `@`.\nEach change gets a lane after the line number. What the file no longer has stands where it stood as lines of the pane's text with no number, read-only: the cursor, a selection, a search, B2 and B3 work there, and an edit that touches one is refused. After a change's last line comes its description, `id title author age`, its lane ending in an arrow at it; a long one wraps. `] g` and `[ g` step through the changes; B3 on a description's id opens that change's patch at that line (`Diff <id> <path>:<line>`)."}, {"name": "Churn", "leader": "SPC t u", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show how many changes touched each declaration of this file, as a heat lane.", "text": "Show how many changes touched each declaration of this file, as a heat lane.\n`Churn <window>`: a revset, or a span of time back from now (`3d`, `2w`, `6m`, `1y`). In this view a cell after the line number, from the line numbers' grey to the theme's red on a log scale, and a strip by the scroll thumb. Bare: hidden in this view or shown again; with none counted yet, the file's whole history."}, {"name": "ClipPaste", "leader": "SPC p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Paste the system clipboard after the selection.", "text": "Paste the system clipboard after the selection."}, @@ -20,8 +20,8 @@ {"name": "CodeAction", "leader": "SPC l a", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the language server's code actions for the cursor, to apply one.", "text": "List the language server's code actions for the cursor, to apply one.\nTyped where jumps walk, they are a picker in the pane's tag, the one under the cursor shown as its edit, applied by Enter or its digit; else a +Lsp lists them."}, {"name": "Collapse", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Fold this pane to its tag, or give it its share of the column again.", "text": "Fold this pane to its tag, or give it its share of the column again."}, {"name": "Compare", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.", "text": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.\n`Compare <rev> <rev> [<rev> ...]`: two points or more in their order, each one revision (a commit or change id, a bookmark, `master@origin`, `@`): `Compare 9ef6312813 ea63317630 master@origin`. A pair is drawn as one change however many lie between its points; after its last line, its row: the two points, how many changes lie between them, their first and last days. One set a pane: a later Changes or Compare replaces it. Bare: as bare Changes."}, - {"name": "Config", "leader": "SPC f c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the startup file, `init` in the configuration directory, in a pane.", "text": "Open the startup file, `init` in the configuration directory, in a pane.\nIts pane when it is open, else the file; not there yet, a pane of that name, which Save makes, its directory too."}, - {"name": "Debug", "leader": "SPC t d", "also": ["topbar"], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A small box of frame statistics at the top right, on or off.", "text": "A small box of frame statistics at the top right, on or off."}, + {"name": "Config", "leader": "SPC f c", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the startup file, `init` in the configuration directory, in a pane.", "text": "Open the startup file, `init` in the configuration directory, in a pane.\nIts pane when it is open, else the file; not there yet, a pane of that name, which Save makes, its directory too."}, + {"name": "Debug", "leader": "SPC t d", "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A small box of frame statistics at the top right, on or off.", "text": "A small box of frame statistics at the top right, on or off."}, {"name": "Def", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Go to the definition of the symbol under the cursor.", "text": "Go to the definition of the symbol under the cursor.\nWith an argument (a 2-1 chord's selection), of that symbol, asked at its occurrence nearest the cursor. One answer is a jump; several open a list, the keyboard on its current row; none says so. `g d` does the same."}, {"name": "Del", "leader": "SPC d", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane.", "text": "Close the pane.\n`Del k` gives its rows to the pane above it, `Del j` to the one below, each falling back to the other side; bare, from the keyboard between two panes, it asks k or j on the pane's notice band. A docked pane's rows go back to the pane it answers for. Refused once while the pane holds unsaved text (listed in +Unsaved); Del again, nothing edited since, closes it."}, {"name": "DelAbove", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane above it, as `Del k` does.", "text": "Close the pane, giving its rows to the pane above it, as `Del k` does."}, @@ -31,7 +31,7 @@ {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List this file's diagnostics in a +Search.", "text": "List this file's diagnostics in a +Search.\n`] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first."}, {"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.", "text": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.\nBare, on a diff (a .diff, a .patch, a +Pager holding one): its hunks stacked; on a +Diff: the diff itself, as text. `Diff <file>`: that .diff's or .patch's hunks. `Diff <hash>` (7 to 40 hex digits): `git show` of that commit, in its own `+Diff-<hash>`. `Diff <change> [path[:line]]` (a jj change id): its patch, its header and whole message on top, the cursor at that place. `Diff <from>..<to> [path[:line]]`: the difference between two points, the changes between them on top.\nEach hunk stands under its `path:line` and the declarations around it, a + or - before each line, the words a changed line changed tinted. `SPC j n` and `SPC j p` step through the hunks; B3 on a place opens it."}, {"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, or off a tag onto the pane under it.", "text": "Move the keyboard to the pane below, or off a tag onto the pane under it."}, - {"name": "Dump", "leader": "SPC s d", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore <path>` word that brings them back."}, + {"name": "Dump", "leader": "SPC s d", "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore <path>` word that brings them back."}, {"name": "DumpConfig", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the settings in effect in a +DumpConfig, as lines the startup file takes.", "text": "Show the settings in effect in a +DumpConfig, as lines the startup file takes.\nThe startup file's path with them; a line run there is that setting."}, {"name": "DumpDir", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The directory of the state file, where Dump writes and Recent is kept.", "text": "The directory of the state file, where Dump writes and Recent is kept. A relative Restore name is looked for there too; bare, the default."}, {"name": "DumpThemes", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Write the bundled themes into the configuration directory's themes, to edit.", "text": "Write the bundled themes into the configuration directory's themes, to edit.\nThemeFile loads one back."}, @@ -45,12 +45,12 @@ {"name": "Get", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.", "text": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.\n`Get <file>` loads that file into the pane instead, the pane taking its name. In a directory's pane, it reads the directory again."}, {"name": "Grep", "leader": "SPC f g", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the lines of the files below this pane's directory that hold its argument.", "text": "List the lines of the files below this pane's directory that hold its argument.\nThe text is matched as it is, not as a pattern, in a query pane under this pane, its line 1 `Grep <text>`: with a word, listed, the keyboard left where it was; bare (`SPC f g`), typed into. Past 2000 lines it stops, and More goes on. A script's Grep that finds nothing fails, `not found`."}, {"name": "Help", "leader": "SPC ?", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Show every builtin with its keys and documentation, or one builtin's alone.", "text": "Show every builtin with its keys and documentation, or one builtin's alone.\n`Help <name>`: that builtin alone, its keys spelled out, what it acts on and its line for a shell (`Help Diff`); a setting or an addon's word the same. `Help <keys>`: the builtins under SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second Help replaces its text."}, - {"name": "History", "leader": "SPC f h", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left, in a +History: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. B2 on the Restore, or a Look at its line, is that Restore."}, + {"name": "History", "leader": "SPC f h", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left, in a +History: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. B2 on the Restore, or a Look at its line, is that Restore."}, {"name": "Hover", "leader": "SPC l k", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Ask the language server about the symbol under the cursor, its answer in a +Hover.", "text": "Ask the language server about the symbol under the cursor, its answer in a +Hover."}, {"name": "InactiveDim", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off.", "text": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off."}, {"name": "Incl", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).", "text": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).\n`Incl <dir> ...` adds them, each absolute or from `~`; bare, it lists them; `Incl -` empties the list. The list is the session's."}, {"name": "Index", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Run the file's language indexer at its project root, writing its index.scip.", "text": "Run the file's language indexer at its project root, writing its index.scip.\nThe language words ask the nearest index.scip above a file first, and its language server only when the index has nothing to say; an index older than the file still answers, and says so once."}, - {"name": "Joincol", "leader": "SPC c j", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Fold the keyboard's column into the one on its right, keeping its panes.", "text": "Fold the keyboard's column into the one on its right, keeping its panes.\nRefused for the last column, and where the joined column could not give each pane its tag and 2 rows."}, + {"name": "Joincol", "leader": "SPC c j", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Fold the keyboard's column into the one on its right, keeping its panes.", "text": "Fold the keyboard's column into the one on its right, keeping its panes.\nRefused for the last column, and where the joined column could not give each pane its tag and 2 rows."}, {"name": "JumpTrail", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A jump of the cursor leaves a short trail that fades, on or off.", "text": "A jump of the cursor leaves a short trail that fades, on or off."}, {"name": "Jumplist", "leader": "SPC j l", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the places jumped from in a +Jumps, each a place to go.", "text": "List the places jumped from in a +Jumps, each a place to go."}, {"name": "Jumps", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "walk, new-pane", "doc": "A jump steps its pane or that pane's reader (walk), or opens a pane for each file (new-pane).", "text": "A jump steps its pane or that pane's reader (walk), or opens a pane for each file (new-pane)."}, @@ -101,10 +101,10 @@ {"name": "Term", "leader": "SPC n t", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Open a terminal below this pane, in its directory, raw: its keys the shell's at once.", "text": "Open a terminal below this pane, in its directory, raw: its keys the shell's at once.\n`Term fish` runs that shell instead of the Shell setting's, as a terminal's own tag word `Term+fish` says; a shell that is not there is said. A directory that is not there makes no terminal."}, {"name": "Theme", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Switch to the theme named: `Theme atelier`.", "text": "Switch to the theme named: `Theme atelier`. Themes lists them, NextColor steps through them."}, {"name": "ThemeFile", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Load a theme from a .zon file: `ThemeFile ~/themes/mine.zon`.", "text": "Load a theme from a .zon file: `ThemeFile ~/themes/mine.zon`.\nDumpThemes writes the bundled ones out to start from."}, - {"name": "Themes", "leader": "SPC t t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the bundled themes in a +Themes, each a `Theme <name>` line to run.", "text": "List the bundled themes in a +Themes, each a `Theme <name>` line to run."}, + {"name": "Themes", "leader": "SPC t t", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the bundled themes in a +Themes, each a `Theme <name>` line to run.", "text": "List the bundled themes in a +Themes, each a `Theme <name>` line to run."}, {"name": "Togglettymode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Switch this terminal between raw mode, its keys the program's, and normal mode.", "text": "Switch this terminal between raw mode, its keys the program's, and normal mode."}, {"name": "TreeContext", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show, at the pane's head, the declarations its top row is in.", "text": "Show, at the pane's head, the declarations its top row is in.\n`TreeContext on` or `off` sets it; bare, it flips. Only a source file the parser knows has them."}, - {"name": "Tutor", "leader": "SPC h t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through.", "text": "Open the tutor, a document to work through."}, + {"name": "Tutor", "leader": "SPC h t", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through.", "text": "Open the tutor, a document to work through."}, {"name": "Undo", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Step the pane's text back one edit.", "text": "Step the pane's text back one edit.\nWith no step left, it says so and changes nothing (a ctl write of it still succeeds, as acme's Undo is silent there). A file keeps 256 steps."}, {"name": "Undock", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own.", "text": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own.\nThe next search from that pane opens another under it."}, {"name": "Unfollow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Take this pane out of its Follow chain.", "text": "Take this pane out of its Follow chain.\nIt stays, a Zerox twin with the scroll it has, and the chain closes up behind it."}, diff --git a/test/behaviour/columns_and_tags.zig b/test/behaviour/columns_and_tags.zig index e1257897..4ca6f7b3 100644 --- a/test/behaviour/columns_and_tags.zig +++ b/test/behaviour/columns_and_tags.zig @@ -129,9 +129,12 @@ test "columns-and-tags: Delcol on the last column leaves the window, drawn and t try s.write(s.at("/col/{d}/ctl", .{try s.column(0)}), "Delcol\n"); try expectEqualStrings("", try s.columns()); try s.expect("/index", ""); - // Drawn, and keys go to the workspace tag. + // Drawn, its words at the window row's right end (UX K'2), and keys go + // to the workspace tag. try s.keys("x\n"); - try std.testing.expect(std.mem.startsWith(u8, try s.screen(), " Newcol ")); + const screen = try s.screen(); + const first = std.mem.trimEnd(u8, screen[0..std.mem.indexOfScalar(u8, screen, '\n').?], " "); + try std.testing.expect(std.mem.endsWith(u8, first, "Find Grep Newcol Help Exit")); try s.write("/ctl", "Newcol\n"); try s.write(s.at("/col/{d}/ctl", .{try s.column(0)}), "New\n"); try expectEqualStrings(s.at("{d}:{d}", .{ try s.column(0), try s.focused() }), try s.columns()); @@ -162,7 +165,8 @@ test "columns-and-tags: New is a column tag's word, in no pane's tag nor the wor var words = std.mem.tokenizeScalar(u8, tag, ' '); while (words.next()) |word| try std.testing.expect(!std.mem.eql(u8, word, "New")); } - try expectEqualStrings("New Term Find Grep Joincol Delcol", try s.read(s.at("/col/{d}/tag", .{try s.column(0)}))); + // A lone column's words (UX K'2), and no text of the user's. + try expectEqualStrings("New Term ", try s.read(s.at("/col/{d}/tag", .{try s.column(0)}))); } test "columns-and-tags: a click past a column tag's text types after it, a newline typed there a space, and a long tag scrolls to its caret" { @@ -171,18 +175,20 @@ test "columns-and-tags: a click past a column tag's text types after it, a newli // 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 tag = s.at("/col/{d}/tag", .{try s.column(0)}); - // Its row, then the pane's tag: the column's stays one row. - const rows = " New Term Find Grep Joincol Delcol"; - try std.testing.expect(std.mem.indexOf(u8, try s.screen(), rows ++ " ") != null); - try s.click("Delcol", 20, 1); - // A clicked tag is in normal mode: `i` types where it was clicked. + // A lone column's tag is at the window row's left (UX K'2). + try std.testing.expect(std.mem.startsWith(u8, try s.screen(), " New Term ")); + // Past its text, on its caret's cell. A clicked tag is in normal mode: + // `i` types where it was clicked, after its computed words. + try s.click("Term", 5, 1); try s.keys("i\nSnarf"); - 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 expectEqualStrings("New Term Snarf", try s.read(tag)); + // The user's text brings the column row, one row under the window's, + // and the pane's tag on the row right under it. + const rows = " New Term Snarf"; + try std.testing.expectEqual(@as(usize, 1), (try s.where(rows ++ " "))[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(" 界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界"); + try s.keys(" 界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界界"); const col, const row = (try s.cursor()).?; try std.testing.expectEqual(@as(usize, 1), row); try std.testing.expect(col < 80); @@ -204,9 +210,9 @@ test "columns-and-tags: Enter in a tag in normal mode runs the word under its cu try s.expect("/focus", ""); try s.keys("iMine\x1b"); try std.testing.expect(std.mem.indexOf(u8, try s.read(s.at("/col/{d}/tag", .{try s.column(1)})), "Mine") != null); - try s.click("Tutor", 1, 1); + try s.click("Help", 1, 1); try s.keys("\t"); - try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/name", .{try s.focused()})), "/+Tutor\n")); + try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/name", .{try s.focused()})), "/+Help\n")); } test "columns-and-tags: a tag write refuses NUL and the other control characters, the workspace's, a column's and a pane's" { @@ -279,14 +285,18 @@ test "columns-and-tags: a column tag lights the word under the mouse, is clicked try s.write("/mousein", s.at("m {d} 1 1\nm {d} 1 0\n", .{ x + 3, x + 3 })); for (0..4) |k| try expectEqualStrings(lit, try s.bg(x + k, 1)); try std.testing.expect(!std.mem.eql(u8, lit, try s.bg(x + 4, 1))); - // A clicked tag is in normal mode: `i` types at its caret. - try s.keys("\u{F00D}iHelp "); - try std.testing.expect(std.mem.startsWith(u8, try s.read(tag), "Help New Term")); - try std.testing.expectEqual(x + 5, (try s.cursor()).?[0]); + // A clicked tag is in normal mode: `i` types at its caret, after its + // computed words (UX K'1). + const lead = "New Term Joincol Delcol ".len; + try s.keys("\u{F00D}"); + try s.write("/mousein", s.at("m {d} 1 1\nm {d} 1 0\n", .{ x + lead, x + lead })); + try s.keys("iHelp "); + try expectEqualStrings("New Term Joincol Delcol Help ", try s.read(tag)); + try std.testing.expectEqual(x + lead + 5, (try s.cursor()).?[0]); // A tag one short of its room: its caret at the end is drawn on the // last cell, and one more letter scrolls the text, never the caret. const as: [80]u8 = @splat('a'); - const row = as[0 .. width - 1]; + const row = as[0 .. width - 1 - lead]; try s.replace(tag, row); try s.keys("\u{F018}"); try std.testing.expectEqual(x + width - 1, (try s.cursor()).?[0]); diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig index 9eb33ac2..2274e73a 100644 --- a/test/behaviour/keys.zig +++ b/test/behaviour/keys.zig @@ -414,11 +414,12 @@ test "keys: zz and zc put the cursor's line in the middle row of an odd view, as for (&lines, 0..) |*l, i| _ = try std.fmt.bufPrint(l, "l{d:0>2}\n", .{i}); var s = try Session.initFile(std.testing.allocator, std.mem.asBytes(&lines)); defer s.deinit(); - s.resize(80, 25); + s.resize(80, 24); for ([_][]const u8{ "15jzz", "ztzc" }) |keys| { try s.keys(keys); - // 80x25 gives the pane 21 rows (the notice row under it): l05 to - // l25, l15 the eleventh + // 80x24 gives the pane 21 rows (the window row and its tag above + // them, the notice row under them; one column, no column row): + // l05 to l25, l15 the eleventh const top = (try s.where("l05"))[1]; try std.testing.expectEqual(top + 10, (try s.where("l15"))[1]); try std.testing.expectEqual(top + 20, (try s.where("l25"))[1]); diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig index 47f2ccd2..39bb66c8 100644 --- a/test/behaviour/modes.zig +++ b/test/behaviour/modes.zig @@ -249,10 +249,12 @@ test "modes: window keys walk from a pane up through its column's tag and the wo try std.testing.expect(x0 < right); const tag = s.at("/col/{d}/tag", .{try s.column(0)}); const words = try s.read(tag); - try s.keys("w"); + // On its user's text, after its computed words (UX K'1): `b` moves + // back onto them. + try s.keys("b"); try s.expect(tag, words); const remembered = (try s.cursor()).?; - try std.testing.expect(remembered[0] > x0); + try std.testing.expect(remembered[0] < x0); // Across to the right column's tag, and back to where the caret was. try s.keys("\x17l"); try std.testing.expect((try s.cursor()).?[0] >= right); diff --git a/test/behaviour/tags.zig b/test/behaviour/tags.zig index e7779b86..fcef9fd3 100644 --- a/test/behaviour/tags.zig +++ b/test/behaviour/tags.zig @@ -255,12 +255,13 @@ test "tags: a tag with more lines than rows scrolls to keep its caret in view" { try s.keys("\x1bgg"); try std.testing.expectEqual(.{ x, y }, try s.where("/test.txt")); try std.testing.expectEqual(y, (try s.cursor()).?[1]); - // A column tag is one row, as acme's: its lines are joined. + // A column tag is one row, as acme's: its lines are joined. Its user's + // text brings the column row (UX K'2): the pane one row lower, no more. var layout = std.mem.tokenizeScalar(u8, try s.read("/layout"), ' '); const col_tag = s.at("/col/{s}/tag", .{layout.next().?}); try s.replace(col_tag, "New\nC1\nC2"); try std.testing.expect(std.mem.indexOfScalar(u8, try s.read(col_tag), '\n') == null); - try std.testing.expectEqual(y, (try s.where("/test.txt"))[1]); + try std.testing.expectEqual(y + 1, (try s.where("/test.txt"))[1]); } test "tags: a long pane tag wraps onto rows, and a click on a wrapped row maps to the whole tag's address" { diff --git a/test/column_drag.zig b/test/column_drag.zig index a12ca16f..31d4366d 100644 --- a/test/column_drag.zig +++ b/test/column_drag.zig @@ -38,7 +38,7 @@ fn expectOrder(p: *Pardes, before: []const Snapshot, order: []const usize) !void try std.testing.expectEqual(saved.serial, v.cols[column].serial); try std.testing.expectEqual(saved.count, v.cols[column].n); try std.testing.expectEqualSlices(usize, saved.panes[0..saved.count], v.cols[column].panes[0..p.view().cols[column].n]); - try std.testing.expectEqualStrings(saved.tag, pardes.tagline.columnTag(p, column)); + try std.testing.expectEqualStrings(saved.tag, p.view().col_tags[column].own.?); } } @@ -66,7 +66,7 @@ test "column grip drag moves only its interval and keeps tag caret with the colu _ = try p.render(frame.allocator()); var before: [4]Snapshot = undefined; for (&before, 0..) |*saved, column| { - saved.* = .{ .weight = p.view().cols[column].weight, .serial = p.view().cols[column].serial, .count = p.view().cols[column].n, .tag = pardes.tagline.columnTag(p, column) }; + saved.* = .{ .weight = p.view().cols[column].weight, .serial = p.view().cols[column].serial, .count = p.view().cols[column].n, .tag = p.view().col_tags[column].own.? }; @memcpy(saved.panes[0..saved.count], p.view().cols[column].panes[0..saved.count]); } const layer = try tagLayer(p, 1); diff --git a/test/hxdiff.zig b/test/hxdiff.zig index 67b4e777..2409cbb7 100644 --- a/test/hxdiff.zig +++ b/test/hxdiff.zig @@ -327,11 +327,11 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); defer core.deinit(); // helix's harness runs at 80x24, a view of 22 text rows under its - // status and command lines; pardes's chrome (the workspace and column - // tags, the pane's tag and the notice row) takes two rows more, so 26 - // rows give its pane the same 22 that every page, half page and gb - // counts in - core.update(.{ .resize = .{ .cols = 80, .rows = 26 } }); + // status and command lines; pardes's chrome (the window row, the pane's + // tag and the notice row; a lone column has no column row, UX K'2) + // takes one row more, so 25 rows give its pane the same 22 that every + // page, half page and gb counts in + core.update(.{ .resize = .{ .cols = 80, .rows = 25 } }); pump(core); if (std.mem.eql(u8, pane_kind, "file")) { diff --git a/test/panes.zig b/test/panes.zig index f780a0cf..8b173ef4 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -117,10 +117,13 @@ const TagLayerTests = struct { for ([_]Kind{ .workspace, .column }) |kind| { const id: usize = if (kind == .column) 1 else 0; const header = try findLayer(p, kind, id); - const x = @as(f32, @floatFromInt(header.viewport.x)) * 10 + 62.5 * 5; + // The own text after the header's computed words and a blank + // (UX K'2). + const lead: f32 = @floatFromInt(pardes.tagline.headerWords(p, if (kind == .column) .column else .workspace).len + 1); + const x = @as(f32, @floatFromInt(header.viewport.x)) * 10 + (lead + 62.5) * 5; p.update(.{ .mouse = mouse(header, x, .press) }); p.update(.{ .mouse = mouse(header, x, .release) }); - try std.testing.expectEqual(@as(i32, 63), pardes.tagline.focusedHeader(p).?.cur_col); + try std.testing.expectEqual(@as(i32, @intFromFloat(lead + 63)), pardes.tagline.focusedHeader(p).?.cur_col); if (kind == .column) try std.testing.expectEqual(@as(?usize, 1), p.headerColumn()) else try std.testing.expect(p.headerColumn() == null); p.update(.{ .key = .{ .cp = Key.escape } }); } diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig index 2680a499..2a4fea00 100644 --- a/test/process/tty_boot.zig +++ b/test/process/tty_boot.zig @@ -45,7 +45,7 @@ fn argv(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 10000); try t.snap("noargs"); try t.start(31, 100, &.{"notes.txt:3"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "line 3"); try t.stable(700, 20000); try t.snap("filearg"); @@ -53,14 +53,14 @@ fn argv(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // `-n 3` boots the very same single pane (it always did — the file arm never // looked at the count; before this it merely also stapled a shell to the right) try t.start(31, 100, &.{ "-n", "3", "notes.txt" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "line 1"); try t.stable(700, 20000); try t.snap("filearg-n3"); try t.dir("sub"); try t.file("sub/inside.txt", "marker"); try t.start(31, 100, &.{"sub"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "inside.txt"); try t.stable(700, 20000); try t.snap("dirarg"); @@ -77,14 +77,14 @@ fn badutf(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.file("bad.txt", "hello \xff\xfe world\nlatin-1 caf\xe9 tail\ntruncated \xe6\x97 here\nend\n"); try t.file("wide.txt", "日本語 日本語 日本語 日本語 日本語 日本語 日本語 tail\nsecond line\n"); try t.start(31, 100, &.{"bad.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.snap("badbytes"); // 50 columns, not 100: a FILE boots alone and fills the window, and at 100 the // whole line fits, so `$` scrolls nowhere. This is // the width the left column used to be, i.e. the pane this case was written for try t.start(31, 50, &.{"wide.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); // SPC t w turns soft wrap OFF: hscroll is the other half of this case and a // wrapped body has nothing to scroll sideways. The unwrapped view must keep the @@ -103,7 +103,7 @@ fn boot(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.file("hello.txt", "marker-content"); try t.start(31, 100, &.{ "-n", "1" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "hello.txt"); try t.stable(700, 20000); try t.snap("boot"); @@ -144,20 +144,20 @@ fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("space j n space j n space j n"); try t.wait(10000, "Look enter, right-click"); try t.wait(10000, "Look at its argument as B3 does"); - try sweepHelp(&t, "@Help#1", 4); + try sweepHelp(&t, "@Help#1", 3); try t.wait(10000, "under SPC c"); try t.wait(10000, "Joincol"); try t.stable(700, 15000); try t.snap("column-group"); - try sweepHelp(&t, "@Help#2", 4); + try sweepHelp(&t, "@Help#2", 3); try t.wait(10000, "Tutor"); try t.stable(700, 15000); try t.snap("docs-group"); // Tutor's row, under the documentation of the four before it (Keys, // describe-key, is SPC h k; Messages' runs to three rows) - try t.press("middle", "@Tutor", 32); - try t.release("middle", "@Tutor", 32); + try t.press("middle", "@Tutor", 31); + try t.release("middle", "@Tutor", 31); try t.wait(10000, "PARDES TUTOR"); try t.stable(700, 15000); try t.snap("tutor-from-index"); @@ -182,6 +182,14 @@ fn dump(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("esc"); try t.settle(100); try t.stable(400, 5000); + // Dump left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Dump"); + try t.key("esc"); + try t.settle(100); try t.press("middle", "@Dump", 1); try t.release("middle", "@Dump", 1); try t.stable(600, 8000); @@ -213,6 +221,14 @@ fn load(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wheel("up", "10", 8); try t.wheel("up", "10", 8); try t.stable(500, 8000); + // Dump left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Dump"); + try t.key("esc"); + try t.settle(100); try t.press("middle", "@Dump", 1); try t.release("middle", "@Dump", 1); try t.stable(600, 8000); @@ -233,7 +249,7 @@ fn restore(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); t.privateDaemon(); try t.start(31, 100, &.{ "-n", "1" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.key("c-b"); try t.stable(600, 8000); @@ -241,6 +257,14 @@ fn restore(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("enter"); try t.wait(8000, "KEEPME"); try t.stable(700, 10000); + // Dump left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Dump"); + try t.key("esc"); + try t.settle(100); try t.press("middle", "@Dump", 1); try t.release("middle", "@Dump", 1); try t.stable(700, 10000); @@ -288,10 +312,11 @@ fn headersweep(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "EPT-COL) exit 0"); try t.stable(700, 15000); try t.snap("col-swept"); - // the workspace tag, the same - try t.press("left", "110", 1); - try t.release("left", "110", 1); - try t.key("i"); + // the workspace tag, the same: its own text after its words (UX K'1; + // A appends at the line's end) + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); try t.key("space"); try t.send("echo SW''EPT-WS"); try t.key("esc"); @@ -304,9 +329,9 @@ fn headersweep(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("ws-swept"); // a right sweep over part of a word looks for the part: `hay.txt` opens, // where a click would look for all of `xxhay.txtxx` - try t.press("left", "118", 1); - try t.release("left", "118", 1); - try t.key("i"); + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); try t.key("space"); try t.send("xxhay.txtxx"); try t.key("esc"); @@ -327,9 +352,9 @@ fn headersweep(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("cancelled"); // for comparison, a select sweep over the second column's tag selects, in // the tag's selection colours, and runs nothing - try t.press("left", "@Find#2", 2); - try t.drag("left", "@Grep#2+4", 2); - try t.release("left", "@Grep#2+4", 2); + try t.press("left", "@New#2", 2); + try t.drag("left", "@Term#2+4", 2); + try t.release("left", "@Term#2+4", 2); try t.stable(700, 15000); try t.style("selected"); try t.done(); @@ -345,6 +370,14 @@ fn headersweep_restored(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(21, 120, &.{ "-n", "3" }); try t.wait(8000, "Newcol"); try t.stable(700, 20000); + // Dump left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Dump"); + try t.key("esc"); + try t.settle(100); try t.press("middle", "@Dump", 1); try t.release("middle", "@Dump", 1); try t.stable(700, 10000); @@ -367,9 +400,9 @@ fn headersweep_restored(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "-COL) exit 0"); try t.stable(700, 15000); try t.snap("col-swept"); - try t.press("left", "118", 1); - try t.release("left", "118", 1); - try t.key("i"); + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); try t.key("space"); try t.send("echo RE''STORED-WS"); try t.key("esc"); @@ -397,7 +430,7 @@ fn logquiet(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "logquiet"); defer t.deinit(); try t.start(31, 100, &.{ "-n", "1" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.key("c-b"); try t.stable(600, 8000); @@ -413,8 +446,16 @@ fn tutor(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "tutor"); defer t.deinit(); try t.start(31, 150, &.{ "-n", "3" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); + // Tutor left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Tutor"); + try t.key("esc"); + try t.settle(100); try t.press("middle", "@Tutor", 1); try t.release("middle", "@Tutor", 1); try t.stable(700, 15000); @@ -446,6 +487,15 @@ fn topbarexec(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(21, 90, &.{ "-n", "3" }); try t.wait(8000, "zmarkfile.txt"); try t.stable(700, 20000); + // Debug left the window row (UX K'4): typed into its own text, after its + // words (A appends at the line's end), and run there by B2 + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Debug"); + try t.key("esc"); + try t.settle(100); + try t.stable(400, 8000); // sweep `zmarkfile.txt` out of the shell's own greeting: an ordinary left drag, // and the kind of stale highlight that is simply lying around in real use try t.press("left", "3", 6); @@ -482,7 +532,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // §4.5): the +Help index for a group is the word's, `Help h` swept here. try t.file("cmds.txt", "Help Help h Help t Help c Help l"); try t.start(41, 100, &.{"cmds.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "cmds.txt"); try t.stable(700, 20000); @@ -510,11 +560,11 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); // Executing Help as text opens the full index, not a filtered group. - try t.press("middle", "@Help", 4); - try t.release("middle", "@Help", 4); + try t.press("middle", "@Help", 3); + try t.release("middle", "@Help", 3); try t.wait(10000, "pardes builtins: each one's keys and its name"); try t.wait(10000, "ClipPasteBefore"); - try sweepHelp(&t, "@Help#2", 4); + try sweepHelp(&t, "@Help#2", 3); try t.wait(10000, "under SPC h"); try t.stable(700, 15000); try t.snap("help-group"); @@ -534,24 +584,24 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("space d"); try t.stable(700, 15000); - try t.press("middle", "@Help", 4); - try t.release("middle", "@Help", 4); + try t.press("middle", "@Help", 3); + try t.release("middle", "@Help", 3); try t.wait(10000, "pardes builtins: each one's keys and its name"); try t.wait(10000, "ClipPasteBefore"); // PDF commands depend on the build; these toggles do not. - try sweepHelp(&t, "@Help#3", 4); + try sweepHelp(&t, "@Help#3", 3); try t.wait(10000, "under SPC t"); // its first rows: each word's documentation under it, the rest below try t.wait(10000, "SPC t a Ascii"); try t.wait(10000, "SPC t c Changes"); // SPC w is Window itself now, not a group; the column group stands in - try sweepHelp(&t, "@Help#4", 4); + try sweepHelp(&t, "@Help#4", 3); try t.wait(10000, "under SPC c"); try t.wait(10000, "Joincol"); try t.stable(700, 15000); try t.snap("help-column"); - try sweepHelp(&t, "@Help#5", 4); + try sweepHelp(&t, "@Help#5", 3); try t.wait(10000, "WsDiagnostics"); try t.stable(700, 15000); try t.snap("help-language"); @@ -579,8 +629,8 @@ fn mini(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(23, 90, &.{"commands.txt"}); try t.wait(8000, "Mini demo.zig"); try t.stable(400, 10000); - try t.press("middle", "@Mini", 4); - try t.release("middle", "@Mini", 4); + try t.press("middle", "@Mini", 3); + try t.release("middle", "@Mini", 3); try t.wait(8000, "/Mini demo.zig"); try t.stable(500, 10000); try t.snap("opened"); @@ -754,7 +804,7 @@ fn msg(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.lines("a.txt", 6, ""); try t.start(15, 70, &.{"a.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "a.txt"); try t.stable(700, 20000); try t.snap("opened"); @@ -885,7 +935,7 @@ fn savepane(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "savepane"); defer t.deinit(); try t.start(31, 100, &.{ "-n", "1" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); // a scratch of our own, with something in it to save try t.key("space f n"); @@ -944,26 +994,26 @@ fn filewatch(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "w.txt"); try t.stable(700, 20000); // open w.txt as a file pane: type the name into the shell, right-click it - try t.press("left", "5", 9); - try t.release("left", "5", 9); + try t.press("left", "5", 8); + try t.release("left", "5", 8); try t.stable(400, 5000); try t.key("i"); try t.send("w.txt"); try t.key("esc"); try t.settle(100); - try t.press("right", "6", 9); - try t.release("right", "6", 9); + try t.press("right", "6", 8); + try t.release("right", "6", 8); try t.wait(10000, "line 4"); try t.stable(700, 15000); // ...and open sub/s.txt from the path sitting on line 3 of that pane, so the // second watched pane is in a DIFFERENT directory from the first - try t.press("right", "20", 10); - try t.release("right", "20", 10); + try t.press("right", "20", 9); + try t.release("right", "20", 9); try t.wait(10000, "line 8"); try t.stable(700, 15000); // an UNSAVED edit on line 1 of w.txt - try t.press("left", "10", 8); - try t.release("left", "10", 8); + try t.press("left", "10", 7); + try t.release("left", "10", 7); try t.stable(400, 5000); try t.key("i"); try t.send("MYEDIT"); diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index bdd84dc5..862897e7 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -300,12 +300,12 @@ fn yankpaste(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.lines("f.txt", 5, ""); try t.start(31, 100, &.{"f.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "line 5"); try t.stable(700, 20000); // linewise: x-select line 2, yank, move down, paste below line 3 - try t.press("left", "8", 5); - try t.release("left", "8", 5); + try t.press("left", "8", 4); + try t.release("left", "8", 4); try t.stable(400, 5000); try t.key("x y j p"); try t.stable(400, 5000); @@ -315,8 +315,8 @@ fn yankpaste(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("linewise-above"); // charwise: v-select two chars of line 1, yank, paste splices after them - try t.press("left", "8", 4); - try t.release("left", "8", 4); + try t.press("left", "8", 3); + try t.release("left", "8", 3); try t.stable(400, 5000); try t.key("v l y p"); try t.stable(400, 5000); @@ -637,8 +637,8 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 15000); try t.snap("promoted"); // a second Find from here.txt reuses its query pane; nothing found is 0 - try t.press("left", "8", 4); - try t.release("left", "8", 4); + try t.press("left", "8", 3); + try t.release("left", "8", 3); try t.stable(400, 5000); try t.key("space"); try t.key("f"); @@ -653,9 +653,9 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("cancel"); // B2 on Find with `zqm` selected in here.txt: the query pane under it, the // keyboard still in here.txt - try t.press("left", "13", 4); - try t.drag("left", "15", 4); - try t.release("left", "15", 4); + try t.press("left", "13", 3); + try t.drag("left", "15", 3); + try t.release("left", "15", 3); try t.stable(400, 5000); try t.press("middle", "@Find", 1); try t.release("middle", "@Find", 1); @@ -1151,30 +1151,30 @@ fn lookrange(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("opened"); // --- form 1: whole lines. r.txt opens BELOW look.txt (an ordinary look) with // lines 3, 4 and 5 selected whole, terminators included — helix's own `x`. - try t.press("right", "10", 4); - try t.release("right", "10", 4); + try t.press("right", "10", 3); + try t.release("right", "10", 3); try t.wait(10000, "cccc dccc"); try t.stable(700, 15000); try t.snap("wholelines"); try t.style("wholelines"); // --- form 2: one line, a column span. r.txt is open now, so this re-uses that // pane (focusPaneByPath) — the same route a `/` result row takes. - try t.press("right", "12", 5); - try t.release("right", "12", 5); + try t.press("right", "12", 4); + try t.release("right", "12", 4); try t.stable(700, 15000); try t.snap("onelinespan"); try t.style("onelinespan"); // --- form 3: the general one, across both lines and columns - try t.press("right", "12", 6); - try t.release("right", "12", 6); + try t.press("right", "12", 5); + try t.release("right", "12", 5); try t.stable(700, 15000); try t.snap("fullspan"); try t.style("fullspan"); // --- a STALE range: line 99 of a nine-line file, which is what a result row // looks like once the file has changed underneath it. It must CLAMP — no crash, // no garbage highlight — landing on the last cell that really exists. - try t.press("right", "12", 7); - try t.release("right", "12", 7); + try t.press("right", "12", 6); + try t.release("right", "12", 6); try t.stable(700, 15000); try t.snap("stale"); try t.style("stale"); @@ -1358,29 +1358,29 @@ fn cmdword(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // verbs are what is under test here, not the announcement. try t.config("Verbose off"); try t.start(31, 120, &.{"cmds.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "cmds.txt"); try t.stable(700, 20000); try t.snap("opened"); // a single middle CLICK inside the run (col 11 is inside `echo`) expands to the // whole `@`echo ZZ''E`` and runs it as a command pane; focus stays on the file - try t.press("middle", "11", 4); - try t.release("middle", "11", 4); + try t.press("middle", "11", 3); + try t.release("middle", "11", 3); try t.wait(10000, "ZZE"); try t.stable(700, 15000); try t.snap("atexec"); // LOOK on the second one (col 24, inside its `echo`) runs it too, in the same // command pane now its first is done, below it, AND focuses it — that is the // whole difference between the two verbs - try t.press("right", "24", 4); - try t.release("right", "24", 4); + try t.press("right", "24", 3); + try t.release("right", "24", 3); try t.wait(10000, "ZZL"); try t.stable(700, 15000); try t.snap("atlook"); // `Look p.txt` middle-dragged: the builtin by NAME, with an argument - try t.press("middle", "36", 4); - try t.drag("middle", "45", 4); - try t.release("middle", "45", 4); + try t.press("middle", "36", 3); + try t.drag("middle", "45", 3); + try t.release("middle", "45", 3); try t.wait(10000, "just text"); try t.stable(700, 15000); try t.snap("lookword"); @@ -1388,8 +1388,8 @@ fn cmdword(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // Look builtin with an argument, and Look opens the directory: a pane named // for it with a trailing /, listing it (zzmark.txt is only ever in that // listing: no pane here shows it otherwise), which takes the keyboard - try t.press("middle", "49", 4); - try t.release("middle", "49", 4); + try t.press("middle", "49", 3); + try t.release("middle", "49", 3); try t.wait(10000, "zzmark.txt"); try t.stable(700, 15000); try t.snap("nested"); @@ -1449,8 +1449,8 @@ fn lsp(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 20000); try t.snap("opened"); // park the cursor inside the CALL `helper(41)` (file line 8, grid row 9) - try t.press("left", "18", 11); - try t.release("left", "18", 11); + try t.press("left", "18", 10); + try t.release("left", "18", 10); try t.stable(400, 5000); try t.snap("cursor"); // gd on a call: exactly one location comes back, so it JUMPS rather than @@ -1482,8 +1482,8 @@ fn lsp(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("step"); // gd on something with no declaration behind it (a keyword) answers nothing, // and nothing is a legal answer: no buffer opens, no error is rendered. - try t.press("left", "8", 6); - try t.release("left", "8", 6); + try t.press("left", "8", 5); + try t.release("left", "8", 5); try t.key("g"); try t.key("d"); try t.stable(700, 10000); @@ -1511,8 +1511,8 @@ fn lsp_client(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "add(1, 2)"); try t.stable(700, 20000); // cursor into the first `add` call, then helix's goto-definition - try t.press("left", "13", 6); - try t.release("left", "13", 6); + try t.press("left", "13", 5); + try t.release("left", "13", 5); try t.key("g"); try t.key("d"); try t.wait(10000, "pub fn add"); @@ -1669,8 +1669,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("opened"); // Tab with no dot before it is still Tab: line 10 is the closing `}`, and this // is the plain insert_tab path putting spaces in front of it. - try t.press("left", "8", 13); - try t.release("left", "8", 13); + try t.press("left", "8", 12); + try t.release("left", "8", 12); try t.key("i"); try t.key("tab"); try t.stable(400, 5000); @@ -1683,8 +1683,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // retroactively when the empty answer arrives (lspResponse), on the condition // that the cursor has not moved meanwhile. Four spaces go in after `// note.` // and the keystroke is not eaten, which is the whole contract. - try t.press("left", "16", 15); - try t.release("left", "16", 15); + try t.press("left", "16", 14); + try t.release("left", "16", 14); try t.stable(400, 5000); try t.key("i"); try t.key("tab"); @@ -1694,8 +1694,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.settle(100); // Line 8 (grid row 9, 1-based click row 10) is the switch's empty body. End // puts the cursor past its indent, and then the dot is typed. - try t.press("left", "8", 11); - try t.release("left", "8", 11); + try t.press("left", "8", 10); + try t.release("left", "8", 10); try t.stable(400, 5000); try t.key("i"); try t.key("end"); @@ -1744,8 +1744,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(41, 120, &.{"notes.txt"}); try t.wait(8000, "abc.def"); try t.stable(700, 20000); - try t.press("left", "12", 4); - try t.release("left", "12", 4); + try t.press("left", "12", 3); + try t.release("left", "12", 3); try t.key("i"); try t.key("tab"); try t.stable(400, 5000); @@ -1763,8 +1763,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(19, 100, &.{"c.zig"}); try t.wait(8000, "nosemi"); try t.stable(700, 20000); - try t.press("left", "8", 10); - try t.release("left", "8", 10); + try t.press("left", "8", 9); + try t.release("left", "8", 9); try t.stable(400, 5000); try t.key("i"); try t.key("end"); @@ -1784,8 +1784,8 @@ fn lspcomplete(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(19, 100, &.{"d.zig"}); try t.wait(8000, "nobrace"); try t.stable(700, 20000); - try t.press("left", "8", 11); - try t.release("left", "8", 11); + try t.press("left", "8", 10); + try t.release("left", "8", 10); try t.stable(400, 5000); try t.key("i"); try t.key("end"); @@ -1821,8 +1821,8 @@ fn lspcompletemoved(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(21, 120, &.{"a.zig"}); try t.wait(8000, "verdigris"); try t.stable(700, 20000); - try t.press("left", "16", 15); - try t.release("left", "16", 15); + try t.press("left", "16", 14); + try t.release("left", "16", 14); try t.stable(400, 5000); try t.key("i"); try t.key("tab"); @@ -1851,12 +1851,12 @@ fn lspdebug(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("opened"); // Ctrl-click jumps to the definition; plain click only moves the cursor. - try t.press("ctrl-left", "22", 11); - try t.release("ctrl-left", "22", 11); + try t.press("ctrl-left", "22", 10); + try t.release("ctrl-left", "22", 10); try t.stable(700, 15000); try t.snap("ctrlclick"); - try t.press("left", "22", 11); - try t.release("left", "22", 11); + try t.press("left", "22", 10); + try t.release("left", "22", 10); try t.stable(700, 15000); try t.snap("plainclick"); @@ -1927,8 +1927,8 @@ fn lsprelpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(35, 100, &.{"sub/parent.zig"}); try t.wait(8000, "fn pick"); try t.stable(700, 20000); - try t.press("left", "31", 6); - try t.release("left", "31", 6); + try t.press("left", "31", 5); + try t.release("left", "31", 5); try t.stable(400, 5000); try t.key("g"); try t.key("r"); @@ -1950,8 +1950,8 @@ fn lsprelpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(35, 100, &.{"sub/subdir.zig"}); try t.wait(8000, "fn hue"); try t.stable(700, 20000); - try t.press("left", "29", 6); - try t.release("left", "29", 6); + try t.press("left", "29", 5); + try t.release("left", "29", 5); try t.stable(400, 5000); try t.key("g"); try t.key("r"); @@ -1965,8 +1965,8 @@ fn lsprelpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 15000); try t.snap("sublook"); try t.style("sublook"); - try t.press("right", "12", 13); - try t.release("right", "12", 13); + try t.press("right", "12", 12); + try t.release("right", "12", 12); try t.stable(700, 15000); try t.snap("clicked"); try t.done(); @@ -1983,8 +1983,8 @@ fn lsp_rename(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "helper(41)"); try t.stable(700, 20000); // Put the cursor inside the top-level call, then use the helix rename binding. - try t.press("left", "18", 11); - try t.release("left", "18", 11); + try t.press("left", "18", 10); + try t.release("left", "18", 10); try t.key("space"); try t.key("l"); try t.key("r"); @@ -2023,14 +2023,14 @@ fn lsp_rename_files(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(25, 100, &.{"lib.rs"}); try t.wait(8000, "pub fn add"); try t.stable(700, 20000); - try t.press("right", "@main.rs", 4); - try t.release("right", "@main.rs", 4); + try t.press("right", "@main.rs", 3); + try t.release("right", "@main.rs", 3); try t.wait(8000, "let x = add"); try t.stable(700, 15000); try t.snap("opened"); // into lib.rs's `add`, and rename it from there - try t.press("left", "@add", 5); - try t.release("left", "@add", 5); + try t.press("left", "@add", 4); + try t.release("left", "@add", 4); try t.stable(400, 5000); try t.key("space"); try t.key("l"); @@ -2085,12 +2085,12 @@ fn diffview(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.file("src/shape.zig", "const std = @import(\"std\");\n\npub const Shape = union(enum) {\n circle: f32,\n square: f32,\n triangle: struct { base: f32, height: f32 },\n\n const note =\n \\\\areas, defer\n \\\\summed\n ;\n};\n"); try t.file("change.diff", "diff --git a/src/shape.zig b/src/shape.zig\nindex 1111111..2222222 100644\n--- a/src/shape.zig\n+++ b/src/shape.zig\n@@ -1,10 +1,12 @@\n const std = @import(\"std\");\n \n pub const Shape = union(enum) {\n circle: f32,\n- square: u8 = 7,\n+ square: f32,\n+ triangle: struct { base: f32, height: f32 },\n \n const note =\n- \\\\areas\n+ \\\\areas, defer\n+ \\\\summed\n ;\n };\n"); try t.start(31, 100, &.{"change.diff"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.snap("diff-pane"); try t.style("diff-colours"); - try t.press("right", "8", 15); - try t.release("right", "8", 15); + try t.press("right", "8", 14); + try t.release("right", "8", 14); try t.stable(700, 15000); try t.snap("look-added-line"); // The same diff printed by a command (`git diff`, here `cat`) into a command @@ -2100,9 +2100,9 @@ fn diffview(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(31, 100, &.{"cmds.txt"}); try t.wait(8000, "cmds.txt"); try t.stable(700, 20000); - try t.press("middle", "7", 4); - try t.drag("middle", "22", 4); - try t.release("middle", "22", 4); + try t.press("middle", "7", 3); + try t.drag("middle", "22", 3); + try t.release("middle", "22", 3); try t.wait(10000, "exit 0"); try t.stable(700, 15000); try t.snap("command-pane"); @@ -2156,14 +2156,14 @@ fn dirpane(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.start(24, 80, &.{"top.txt"}); try t.wait(8000, "top.txt"); try t.stable(700, 20000); - try t.press("right", "@sub", 4); - try t.release("right", "@sub", 4); + try t.press("right", "@sub", 3); + try t.release("right", "@sub", 3); try t.wait(8000, "inner.txt"); try t.stable(700, 20000); try t.snap("dir-open"); // an entry, by its name alone: sub's inner.txt - try t.press("right", "@inner.txt", 7); - try t.release("right", "@inner.txt", 7); + try t.press("right", "@inner.txt", 6); + try t.release("right", "@inner.txt", 6); try t.wait(8000, "inner-marker"); try t.stable(700, 20000); try t.snap("entry-open"); @@ -2183,12 +2183,12 @@ fn scrolloff(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 20000); // right-click the g.txt name in the greeting ls -> file pane under the shell's // text, 9 body rows - try t.press("right", "4", 5); - try t.release("right", "4", 5); + try t.press("right", "4", 4); + try t.release("right", "4", 4); try t.wait(10000, "line 3"); try t.stable(700, 15000); - try t.press("left", "10", 9); - try t.release("left", "10", 9); + try t.press("left", "10", 8); + try t.release("left", "10", 8); try t.stable(400, 5000); // (b) gg: cursor CAN sit on the top body row, no forced scroll try t.key("g g"); @@ -2245,7 +2245,7 @@ fn wrap(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // 48 columns: the 2-column chrome gutter, the 5-column line-number gutter and // the 1 column the `↩` sits in leave 40 for content. try t.start(15, 48, &.{"long.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); // the default: five rows for line 1 (200 bytes / 40), the four continuations // gutterless and starting at `4` `8` `C` `G` — the columns 40, 80, 120, 160 — @@ -2301,7 +2301,7 @@ fn wrap(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // 128 columns: 120 for content, and the break is at the `C` — column 120, the // window's own width. The old 100-column cap would have broken at the `A`. try t.start(15, 128, &.{"long.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.snap("on-wide"); try t.done(); @@ -2403,7 +2403,7 @@ fn tagcmd(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.lines("c.txt", 6, ""); try t.start(31, 100, &.{"c.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "c.txt"); try t.stable(700, 20000); // edit line 1 so Save has something to write @@ -2458,7 +2458,7 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.config("Jumps new-pane"); try t.file("w.txt", "alpha\nbeta\ngamma"); try t.start(31, 100, &.{"w.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "w.txt"); try t.stable(700, 20000); // A FILE boots alone, so the launch shell is opened here: Alt-n opens it and @@ -2533,21 +2533,29 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-w k"); try t.stable(400, 5000); try t.snap("column-tag"); - try t.key("w"); + // On its own text, after its computed words (UX K'1): b moves back onto + // them as in a body. + try t.key("b"); try t.stable(400, 5000); try t.snap("column-word"); try t.key("c-w k"); try t.stable(400, 5000); try t.snap("workspace-tag"); - // `$` is the last cell; five long-word steps back land on `Dump`, and the - // execute key runs it and gives the keyboard back to the body FIRST -- `Exit` - // lives up here too, so a builtin that frees the session must never return - // into a focused header. Dump grows a `Restore <path>` word, which is also the - // case where the line gets longer than the column you were parked on. + // Dump left the window's words (UX K'4): typed into its own text, where + // the keyboard starts (K'1), a word like any other. `$` is the last cell; + // a long-word step back lands on `Dump`, and the execute key runs it and + // gives the keyboard back to the body FIRST -- `Exit` lives up here too, + // so a builtin that frees the session must never return into a focused + // header. Dump grows a `Restore <path>` word, which is also the case where + // the line gets longer than the column you were parked on. + try t.key("i"); + try t.send("Dump"); + try t.key("esc"); + try t.settle(100); try t.key("g l"); try t.stable(400, 5000); try t.snap("topbar-dollar"); - try t.key("B B B B B"); + try t.key("B"); try t.stable(400, 5000); try t.snap("topbar-dump-word"); try t.key("tab"); @@ -2555,12 +2563,13 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("topbar-exec"); // THE DELETION HAZARD, from the bar itself: `Restore` frees every pane and // swaps the core out from under the caller. Walk back up onto the word the - // Dump just grew -- B twice off the tail, because the LONG word motions are the - // ones that step over a path in one go -- and run it. + // Dump just grew -- B three times off the tail (`Dump`, the path, `Restore`), + // because the LONG word motions are the ones that step over a path in one + // go -- and run it. try t.key("c-w k"); try t.key("c-w k"); try t.stable(400, 5000); - try t.key("g l B B"); + try t.key("g l B B B"); try t.stable(400, 5000); try t.snap("topbar-restore-word"); try t.key("tab"); @@ -2578,7 +2587,7 @@ fn tagpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.lines("c.txt", 4, ""); try t.start(31, 100, &.{"c.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "c.txt"); try t.stable(700, 20000); try t.snap("start"); @@ -2599,10 +2608,10 @@ fn tagpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("yanked-path"); // Sweep across the path / command boundary without injected padding. - try t.press("left", "12", 3); - try t.drag("left", "30", 3); - try t.drag("left", "42", 3); - try t.release("left", "42", 3); + try t.press("left", "12", 2); + try t.drag("left", "30", 2); + try t.drag("left", "42", 2); + try t.release("left", "42", 2); try t.stable(400, 5000); try t.snap("drag-cross"); try t.style("drag-cross"); diff --git a/test/process/tty_layout.zig b/test/process/tty_layout.zig index 76bed736..77acd71e 100644 --- a/test/process/tty_layout.zig +++ b/test/process/tty_layout.zig @@ -25,7 +25,7 @@ fn colgrip(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.file("w.txt", "x"); try t.start(24, 100, &.{"w.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "w.txt"); try t.stable(700, 20000); try t.key("a-n"); @@ -75,28 +75,28 @@ fn collapse(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key(":"); try t.stable(400, 5000); try t.snap("before"); - try t.press("middle", "@Collapse", 3); - try t.release("middle", "@Collapse", 3); + try t.press("middle", "@Collapse", 2); + try t.release("middle", "@Collapse", 2); try t.stable(500, 8000); try t.snap("middle-collapsed"); // The terminal remembers its last cursor position even when hidden. The core // screen explicitly reports null, guarding against a leaked body caret. try t.snap9p("middle-collapsed-cursor"); - try t.press("middle", "@Collapse", 3); - try t.release("middle", "@Collapse", 3); + try t.press("middle", "@Collapse", 2); + try t.release("middle", "@Collapse", 2); try t.wait(8000, "KEEP-THIRD"); try t.stable(500, 8000); try t.snap("middle-restored"); - try t.press("left", "@Collapse", 3); - try t.release("left", "@Collapse", 3); + try t.press("left", "@Collapse", 2); + try t.release("left", "@Collapse", 2); try t.key("esc"); try t.settle(100); try t.key("tab"); try t.stable(500, 8000); try t.snap("tab-collapsed"); try t.snap9p("tab-collapsed-cursor"); - try t.press("left", "@Collapse", 3); - try t.release("left", "@Collapse", 3); + try t.press("left", "@Collapse", 2); + try t.release("left", "@Collapse", 2); try t.key("esc"); try t.settle(100); try t.key("tab"); @@ -104,8 +104,8 @@ fn collapse(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(500, 8000); try t.snap("tab-restored"); // Save via the visible tag; the original bytes must survive all four toggles. - try t.press("middle", "@Save", 3); - try t.release("middle", "@Save", 3); + try t.press("middle", "@Save", 2); + try t.release("middle", "@Save", 2); try t.stable(500, 8000); try t.snapFile("unchanged", "kept.txt"); try t.done(); @@ -171,22 +171,22 @@ fn delask(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.settle(100); try t.stable(400, 5000); try t.snap("typed"); - try t.press("middle", "@DelBelow", 21); - try t.release("middle", "@DelBelow", 21); + try t.press("middle", "@DelBelow", 20); + try t.release("middle", "@DelBelow", 20); try t.stable(700, 10000); try t.snap("below-took-click"); // a fresh pane at the foot of the column (acme's New takes the bottom half of // the last pane), and the third one, now between the file and it, closed by a // middle click on its tag's Del: no question, and the rows go up as they // always have - 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(400, 5000); try t.key("space f n"); try t.stable(400, 5000); try t.snap("four"); - try t.press("middle", "@Del", 20); - try t.release("middle", "@Del", 20); + try t.press("middle", "@Del", 19); + try t.release("middle", "@Del", 19); try t.stable(700, 10000); try t.snap("mouse-del"); try t.done(); @@ -419,7 +419,7 @@ fn tagalign(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.dir("deep/nested-project-directory"); try t.file("deep/nested-project-directory/document.txt", "alpha\nbeta\ngamma"); try t.start(31, 100, &.{"deep/nested-project-directory/document.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "document.txt"); try t.stable(700, 20000); try t.key("a-n"); @@ -434,8 +434,8 @@ fn tagalign(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("overby1"); try t.resize(31, 100); try t.stable(700, 15000); - try t.press("left", "12", 3); - try t.release("left", "12", 3); + try t.press("left", "12", 2); + try t.release("left", "12", 2); try t.stable(400, 5000); try t.snap("clicked"); // The click was on the path, so it drafted a name; Esc keeps it pending and @@ -451,8 +451,8 @@ fn tagalign(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("A"); try t.stable(400, 5000); try t.snap("revealed"); - try t.press("middle", "@Del", 4); - try t.release("middle", "@Del", 4); + try t.press("middle", "@Del", 3); + try t.release("middle", "@Del", 3); try t.stable(700, 15000); try t.snap("alone"); try t.done(); @@ -466,7 +466,7 @@ fn tagalign2col(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.dir("deep/proj"); try t.file("deep/proj/document.txt", "alpha\nbeta\ngamma"); try t.start(31, 160, &.{"deep/proj/document.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "document.txt"); try t.stable(700, 20000); // A shell in a separate right-hand column. @@ -505,7 +505,7 @@ fn windownav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); try t.file("w.txt", "alpha\nbeta\ngamma"); try t.start(31, 100, &.{"w.txt"}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.wait(8000, "w.txt"); try t.stable(700, 20000); // A FILE boots alone now, so the terminal every hop below needs is opened here: @@ -612,7 +612,15 @@ fn windowops(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("c-w l enter"); try t.stable(400, 5000); try t.snap("focus-right"); - // Debug overlay on (topbar middle-click on Debug), then off + // Debug overlay on, then off: B2 on Debug, a word that left the window + // row (UX K'4), typed into its own text after its words (A appends at + // the line's end) + try t.press("left", "@Find", 1); + try t.release("left", "@Find", 1); + try t.key("A"); + try t.send("Debug"); + try t.key("esc"); + try t.stable(400, 8000); try t.press("middle", "@Debug", 1); try t.release("middle", "@Debug", 1); try t.stable(400, 8000); diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index 86eab7b7..1b14a72f 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -214,7 +214,7 @@ fn ttyhelp(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "ttyhelp"); defer t.deinit(); try t.start(31, 100, &.{}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); try t.snap("boot"); try t.press("middle", "@Help", 1); @@ -483,7 +483,7 @@ fn psearch(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "psearch"); defer t.deinit(); try t.start(31, 140, &.{}); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); try t.stable(700, 20000); // print something to search (a bare boot starts in tty mode; the marker is // split so the echoed command line, which normal mode hides anyway, can never @@ -539,20 +539,20 @@ fn psearch(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // The left click first is the price of the step above: it left the cursor in // the results buffer, and c-b is read by the ACTIVE pane — there is no tty // behind a +Search to toggle. - try t.press("left", "5", 5); - try t.release("left", "5", 5); + try t.press("left", "5", 4); + try t.release("left", "5", 4); try t.stable(400, 5000); try t.key("c-b"); try t.stable(600, 8000); - try t.press("right", "5", 5); - try t.release("right", "5", 5); + try t.press("right", "5", 4); + try t.release("right", "5", 4); try t.stable(700, 10000); try t.snap("ttyinert"); // back in normal mode the same click searches for MARK try t.key("c-b"); try t.stable(600, 8000); - try t.press("right", "5", 5); - try t.release("right", "5", 5); + try t.press("right", "5", 4); + try t.release("right", "5", 4); try t.wait(10000, "@p1:2:3"); try t.stable(700, 15000); try t.snap("rightsearch"); @@ -593,7 +593,7 @@ fn respawn(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer t.deinit(); // A row more than its panes take: the notice row under them. try t.start(32, 140, &.{ "-n", "3" }); - try t.wait(8000, "Newcol Joincol"); + try t.wait(8000, "Newcol Help Exit"); 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 @@ -665,9 +665,9 @@ fn cmdexit(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(700, 20000); try t.snap("opened"); // line 1: `sleep 30` keeps the pty, and the pane says exit 0 regardless - try t.press("middle", "7", 4); - try t.drag("middle", "34", 4); - try t.release("middle", "34", 4); + try t.press("middle", "7", 3); + try t.drag("middle", "34", 3); + try t.release("middle", "34", 3); try t.wait(10000, "exit 0"); try t.stable(700, 15000); try t.snap("background"); @@ -675,9 +675,9 @@ fn cmdexit(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // `sleep 30` lives on (job control gives it its own group) and still holds // that pane's pty; here the end of file comes at once, and the exit a second // later, from `false` - try t.press("middle", "7", 5); - try t.drag("middle", "54", 5); - try t.release("middle", "54", 5); + try t.press("middle", "7", 4); + try t.drag("middle", "54", 4); + try t.release("middle", "54", 4); try t.wait(10000, "exit 1"); try t.stable(700, 15000); try t.snap("letgo"); @@ -710,14 +710,14 @@ fn look_fd_deep(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "cwd/a Del Term"); try t.stable(700, 20000); try t.snap("listed"); - try t.press("right", "6", 8); - try t.release("right", "6", 8); + try t.press("right", "6", 7); + try t.release("right", "6", 7); try t.wait(10000, "deep-marker"); try t.stable(700, 15000); try t.snap("fd-path-looked"); // the ls name, from the shell's directory - try t.press("right", "8", 6); - try t.release("right", "8", 6); + try t.press("right", "8", 5); + try t.release("right", "8", 5); try t.wait(10000, "top-marker"); try t.stable(700, 15000); try t.snap("ls-name-looked"); diff --git a/test/snapshots/argv.golden b/test/snapshots/argv.golden index ec676f82..3c6e8515 100644 --- a/test/snapshots/argv.golden +++ b/test/snapshots/argv.golden @@ -1,6 +1,5 @@ -== 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 +== snap noargs grid=100x31 cursor=4,4 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/argv/cwd Del Term+bash | $ echo ARGV''TTY | ARGVTTY @@ -29,10 +28,10 @@ | | | +| | /tmp/pardes-snap/argv/cwd -== snap filearg grid=100x31 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap filearg grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/argv/cwd/notes.txt Keep Del | 3 line 3 | 4 line 4 @@ -61,10 +60,10 @@ | | | +| | /tmp/pardes-snap/argv/cwd/notes.txt:3 -== snap filearg-n3 grid=100x31 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap filearg-n3 grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/argv/cwd/notes.txt Keep Del | 1 line 1 | 2 line 2 @@ -93,10 +92,10 @@ | | | +| | /tmp/pardes-snap/argv/cwd/notes.txt:1 -== snap dirarg grid=100x31 cursor=4,5 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap dirarg grid=100x31 cursor=4,4 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/argv/cwd/sub Del Term+bash | ls | inside.txt @@ -125,4 +124,5 @@ | | | +| | /tmp/pardes-snap/argv/cwd/sub diff --git a/test/snapshots/badutf.golden b/test/snapshots/badutf.golden index 7f009942..95992dcc 100644 --- a/test/snapshots/badutf.golden +++ b/test/snapshots/badutf.golden @@ -1,6 +1,5 @@ -== 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 +== snap badbytes grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/badutf/cwd/bad.txt Keep Del | 1 hello �� world | 2 latin-1 caf� tail @@ -29,10 +28,10 @@ | | | +| | /tmp/pardes-snap/badutf/cwd/bad.txt:1 -== snap hscroll-midglyph grid=50x31 cursor=46,3 -| Newcol Joincol Find Grep Help Changelog Tutor Du -| New Term Find Grep Joincol Delcol +== snap hscroll-midglyph grid=50x31 cursor=46,2 +| New Term Find Grep Newcol Help Exit | /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 29986650..2b87a935 100644 --- a/test/snapshots/boot.golden +++ b/test/snapshots/boot.golden @@ -1,6 +1,5 @@ -== 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 +== snap boot grid=100x31 cursor=4,4 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/boot/cwd Del Term+bash | ls | hello.txt @@ -29,13 +28,14 @@ | | | +| | /tmp/pardes-snap/boot/cwd == style boot grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-99 #dfbce5,#314738, +|1: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-99 #dfbce5,#314738, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |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, +|4: 0-0 d,#608269, 1-99 d,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, |7: 0-0 d,#608269, 1-99 d,#0d1410, diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index d707f1e3..357acd11 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -1,6 +1,5 @@ -== 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 +== snap boot grid=120x67 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/builtins/cwd/notes.txt Keep Del | 1 Help c Help h | 2 line 2 @@ -65,87 +64,89 @@ | | | +| | /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 Del -|10: 1 pardes builtins under SPC c -|11: 2 -|12: 3 SPC c d Delcol -|13: 4 Close this column and its panes. -|14: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in it holds unsaved text↩ -|15: , the notice saying how many; Delcol again, nothing edited since, closes them. -|16: 6 -|17: 7 SPC c f Follow -|18: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. -|19: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the tex↩ -|20: t, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow. -|21: 10 -|22: 11 SPC c j Joincol topbar -|23: 12 Fold the keyboard's column into the one on its right, keeping its panes. -|24: 13 Refused for the last column, and where the joined column could not give each pane its tag and 2 rows. -|25: 14 -|26: 15 SPC c n Newcol topbar -|27: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. -|28: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. -|29: 18 -|30: ~ +== snap column-group grid=120x67 cursor=7,9 +|8: /^ +Look / –/0 › /tmp/pardes-snap/builtins/cwd/+Help Del +|9: 1 pardes builtins under SPC c +|10: 2 +|11: 3 SPC c d Delcol +|12: 4 Close this column and its panes. +|13: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in it holds unsaved text↩ +|14: , the notice saying how many; Delcol again, nothing edited since, closes them. +|15: 6 +|16: 7 SPC c f Follow +|17: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. +|18: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the tex↩ +|19: t, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow. +|20: 10 +|21: 11 SPC c j Joincol +|22: 12 Fold the keyboard's column into the one on its right, keeping its panes. +|23: 13 Refused for the last column, and where the joined column could not give each pane its tag and 2 rows. +|24: 14 +|25: 15 SPC c n Newcol topbar +|26: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. +|27: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. +|28: 18 +|29: ~ |66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 3 messages · SPC h m -== snap docs-group grid=120x67 cursor=7,10 -|10: 1 pardes builtins under SPC h -|12: 3 SPC h b Build -|13: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|14: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too, its platform, its g↩ -|15: rammars, and whether the addons are compiled in. -|17: 7 SPC h c Changelog topbar -|18: 8 Show this build's version and what changed to reach it, in a +Changelog. -|19: 9 -|20: 10 SPC h k Keys -|21: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. -|22: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls its level under the ↩ -|23: tag with the leaf on the cursor and its documentation beside it, and Enter runs it. Every root answers: SPC, g, ↩ -|24: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it. -|25: 13 -|26: 14 SPC h m Messages -|27: 15 Show the messages said so far, the newest first, an error's places under it. -|28: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), C-q keeps it as a +M↩ -|29: essages; else the +Messages. -|30: 17 -|31: 18 SPC h t Tutor topbar -|32: 19 Open the tutor, a document to work through. -|33: 20 -|34: ~ +== snap docs-group grid=120x67 cursor=7,9 +|9: 1 pardes builtins under SPC h +|11: 3 SPC h b Build +|12: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|13: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too, its platform, its g↩ +|14: rammars, and whether the addons are compiled in. +|16: 7 SPC h c Changelog +|17: 8 Show this build's version and what changed to reach it, in a +Changelog. +|18: 9 +|19: 10 SPC h k Keys +|20: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|21: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls its level under the ↩ +|22: tag with the leaf on the cursor and its documentation beside it, and Enter runs it. Every root answers: SPC, g, ↩ +|23: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it. +|24: 13 +|25: 14 SPC h m Messages +|26: 15 Show the messages said so far, the newest first, an error's places under it. +|27: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), C-q keeps it as a +M↩ +|28: essages; else the +Messages. +|29: 17 +|30: 18 SPC h t Tutor +|31: 19 Open the tutor, a document to work through. +|32: 20 +|33: ~ |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 Del -|35: 1 -|36: 2 PARDES TUTOR -|37: 3 -|38: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|39: 5 Save it (a bare Save asks for a path to write a copy to). -|40: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|41: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|42: 8 fresh copy. -|43: 9 -|44: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|45: 11 Each lesson is a few things to do, then names its guide section. -|46: 12 Words in backticks, like `Save`, are builtins. -|47: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|48: 14 shell line; `Look` (B3) opens what the text names, or else finds -|49: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|50: 16 "| " are tags. -|51: 17 -|52: 18 Press j until you reach part 1. -|53: 19 -|54: 20 -|55: 21 ================================================================= -|56: 22 = PART 1 — MODES = -|57: 23 ================================================================= -|58: 24 -|59: 25 1. The box left of this pane's tag is blank, so you are in -|60: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then -|61: 27 Esc: blank again. -|62: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the -|63: 29 pane you were in before (not what helix does). Come back with -|64: 30 Esc again. -|65: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types +== snap tutor-from-index grid=120x67 cursor=7,34 +|33: /tmp/pardes-snap/builtins/cwd/+Tutor Keep Del +|34: 1 +|35: 2 PARDES TUTOR +|36: 3 +|37: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|38: 5 Save it (a bare Save asks for a path to write a copy to). +|39: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|40: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|41: 8 fresh copy. +|42: 9 +|43: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|44: 11 Each lesson is a few things to do, then names its guide section. +|45: 12 Words in backticks, like `Save`, are builtins. +|46: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|47: 14 shell line; `Look` (B3) opens what the text names, or else finds +|48: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|49: 16 "| " are tags. +|50: 17 +|51: 18 Press j until you reach part 1. +|52: 19 +|53: 20 +|54: 21 ================================================================= +|55: 22 = PART 1 — MODES = +|56: 23 ================================================================= +|57: 24 +|58: 25 1. The box left of this pane's tag is blank, so you are in +|59: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then +|60: 27 Esc: blank again. +|61: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the +|62: 29 pane you were in before (not what helix does). Come back with +|63: 30 Esc again. +|64: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types +|65: 32 ls at its first prompt. Press Ctrl-b: its box shows $ (RAW), and |66: ✓ /tmp/pardes-snap/builtins/cwd/+Help Tutor 7 messages · SPC h m diff --git a/test/snapshots/callstack.golden b/test/snapshots/callstack.golden index ddcf7b28..453b4383 100644 --- a/test/snapshots/callstack.golden +++ b/test/snapshots/callstack.golden @@ -1,6 +1,5 @@ -== 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 +== snap hierarchy grid=110x40 cursor=7,10 +| New Term Find Grep Newcol Help Exit ⋯ lsp rust-analyzer: ready | /tmp/pardes-snap/callstack/cwd/main.rs Keep Del | 1 mod lib; | 2 @@ -38,32 +37,33 @@ | | | +| | ✓ /tmp/pardes-snap/callstack/cwd/main.rs Callstack 1 message · SPC h m == style hierarchy grid=110x40 -|0: 0-1 d,#1d2824, 2-109 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-109 #becfc4,#314738, -|2: 0-1 d,#496656, 2-32 #b2c3b8,#2c2c0f, 33-40 #d3b0d9,#2c2c0f, 41-109 #b2c3b8,#2c2c0f, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #c9a7ed,#0d1410, 11-109 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-109 #59675c,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-109 #e5eee5,#0d1410, +|0: 0-1 d,#1d2824, 2-82 #b2c3b8,#1d2824, 83-109 #b7cb98,#1d2824, +|1: 0-1 d,#496656, 2-32 #b2c3b8,#2c2c0f, 33-40 #d3b0d9,#2c2c0f, 41-109 #b2c3b8,#2c2c0f, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #c9a7ed,#0d1410, 11-109 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-109 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-109 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, |6: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, -|9: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-109 #e5eee5,#0d1410, -|10: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-43 #dfbce5,#314738, 44-109 #becfc4,#314738, -|11: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #92d1de,#0d1410, 12-109 #59675c,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-11 #92d1de,#0d1410, 12-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, -|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-109 #59675c,#0d1410, -|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-16 #c9a7ed,#0d1410, 17-109 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-109 #59675c,#0d1410, -|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-16 #c9a7ed,#0d1410, 17-109 #e5eee5,#0d1410, -|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-14 #92d1de,#0d1410, 15-109 #59675c,#0d1410, -|18: 0-0 d,#608269, 1-4 d,#0d1410, 5-12 #59675c,#0d1410, 13-14 #92d1de,#0d1410, 15-17 #c9a7ed,#0d1410, 18-109 #e5eee5,#0d1410, -|19: 0-0 d,#608269, 1-4 d,#0d1410, 5-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-109 #59675c,#0d1410, -|20: 0-0 d,#608269, 1-3 d,#0d1410, 4-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-19 #c9a7ed,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #f7e4a5,#5e4923, 27-109 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-3 d,#0d1410, 4-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-109 #59675c,#0d1410, -|22: 0-0 d,#608269, 1-3 d,#0d1410, 4-15 #59675c,#0d1410, 16-19 #c9a7ed,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #f7e4a5,#5e4923, 27-109 #e5eee5,#0d1410, -|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-109 #59675c,#0d1410, +|8: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-109 #e5eee5,#0d1410, +|9: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-43 #dfbce5,#314738, 44-109 #becfc4,#314738, +|10: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #92d1de,#0d1410, 12-109 #59675c,#0d1410, +|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-11 #92d1de,#0d1410, 12-14 #c9a7ed,#0d1410, 15-109 #e5eee5,#0d1410, +|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-109 #59675c,#0d1410, +|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-16 #c9a7ed,#0d1410, 17-109 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-109 #59675c,#0d1410, +|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-12 #92d1de,#0d1410, 13-16 #c9a7ed,#0d1410, 17-109 #e5eee5,#0d1410, +|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-9 #59675c,#0d1410, 10-14 #92d1de,#0d1410, 15-109 #59675c,#0d1410, +|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-12 #59675c,#0d1410, 13-14 #92d1de,#0d1410, 15-17 #c9a7ed,#0d1410, 18-109 #e5eee5,#0d1410, +|18: 0-0 d,#608269, 1-4 d,#0d1410, 5-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-109 #59675c,#0d1410, +|19: 0-0 d,#608269, 1-3 d,#0d1410, 4-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-19 #c9a7ed,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #f7e4a5,#5e4923, 27-109 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-3 d,#0d1410, 4-12 #59675c,#0d1410, 13-15 #92d1de,#0d1410, 16-109 #59675c,#0d1410, +|21: 0-0 d,#608269, 1-3 d,#0d1410, 4-15 #59675c,#0d1410, 16-19 #c9a7ed,#0d1410, 20-23 #e5eee5,#0d1410, 24-26 #f7e4a5,#5e4923, 27-109 #e5eee5,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-109 #59675c,#0d1410, +|23: 0-0 d,#608269, 1-109 d,#0d1410, |24: 0-0 d,#608269, 1-109 d,#0d1410, |25: 0-0 d,#608269, 1-109 d,#0d1410, |26: 0-0 d,#608269, 1-109 d,#0d1410, diff --git a/test/snapshots/chordcut.golden b/test/snapshots/chordcut.golden index 7c812990..f1092d1d 100644 --- a/test/snapshots/chordcut.golden +++ b/test/snapshots/chordcut.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 @@ -54,7 +54,7 @@ |23: 2 line 2 |24: ~ == style chordsel grid=120x32 -|0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, +|0: 0-91 d,#1d2824, 92-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-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, diff --git a/test/snapshots/cmdexit.golden b/test/snapshots/cmdexit.golden index 5f7e67c9..8f1e9b53 100644 --- a/test/snapshots/cmdexit.golden +++ b/test/snapshots/cmdexit.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=120x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /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 @@ -29,13 +28,14 @@ | | | +| | /tmp/pardes-snap/cmdexit/cwd/cmds.txt:1 -== snap background grid=120x31 cursor=7,3 +== snap background grid=120x31 cursor=7,2 |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 +== snap letgo grid=120x31 cursor=7,2 |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 0fdd1f76..3c44e0b1 100644 --- a/test/snapshots/cmdword.golden +++ b/test/snapshots/cmdword.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=120x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/cmdword/cwd/cmds.txt Del | 1 @`echo ZZ''E` @`echo ZZ''L` Look p.txt @`Look .` | @@ -29,8 +28,9 @@ | | | +| | /tmp/pardes-snap/cmdword/cwd/cmds.txt:1 -== snap atexec grid=120x31 cursor=7,3 +== snap atexec grid=120x31 cursor=7,2 |16: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 Del |17: % echo ZZ''E |18: ZZE @@ -41,19 +41,19 @@ |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 Del -|6: 1 just text +== snap lookword grid=120x31 cursor=7,5 +|4: /tmp/pardes-snap/cmdword/cwd/p.txt Del +|5: 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 Del -|9: 1 cmds.txt p.txt zzmark.txt -|10: ~ +== snap nested grid=120x31 cursor=7,8 +|7: /tmp/pardes-snap/cmdword/cwd/ Get Del +|8: 1 cmds.txt p.txt zzmark.txt +|9: ~ |30: /tmp/pardes-snap/cmdword/cwd/:1 -== snap execword grid=120x31 cursor=7,9 -|8: /tmp/pardes-snap/cmdword/cwd/ Get Del Exec -== snap tagcmd grid=120x31 cursor=7,9 -|8: /tmp/pardes-snap/cmdword/cwd/ Get Del Exec @`echo ZZ''T` +== snap execword grid=120x31 cursor=7,8 +|7: /tmp/pardes-snap/cmdword/cwd/ Get Del Exec +== snap tagcmd grid=120x31 cursor=7,8 +|7: /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 diff --git a/test/snapshots/colgrip.golden b/test/snapshots/colgrip.golden index e66de34b..c731328e 100644 --- a/test/snapshots/colgrip.golden +++ b/test/snapshots/colgrip.golden @@ -1,5 +1,5 @@ == style rest grid=100x24 -|0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, +|0: 0-71 d,#1d2824, 72-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-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, @@ -26,8 +26,8 @@ == 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,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/colgrip/cwd/w.txt Keep Del /tmp/pardes-snap/colgrip/cwd Del Term+bash | 1 x ls | w.txt @@ -52,7 +52,7 @@ | /tmp/pardes-snap/colgrip/cwd == style resize-drag grid=100x24 == snap resize-done grid=100x24 cursor=44,5 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|1: New Term Joincol Delcol New Term Joincol Delcol |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 @@ -81,7 +81,7 @@ |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,5 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|1: New Term Joincol Delcol New Term Joincol Delcol |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 ab7d2489..f90bcd5a 100644 --- a/test/snapshots/collapse.golden +++ b/test/snapshots/collapse.golden @@ -1,6 +1,5 @@ -== 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 +== snap before grid=160x25 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/collapse/cwd/kept.txt Keep Del Collapse Save | 1 KEEP-FIRST | 2 KEEP-SECOND @@ -23,19 +22,20 @@ | | | +| | /tmp/pardes-snap/collapse/cwd/kept.txt:1 == snap middle-collapsed grid=160x25 cursor=hidden +|2: |3: |4: -|5: |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 2 messages · SPC h m == 9p middle-collapsed-cursor grid=160x25 cursor=none -|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -@0: 0-84 #b2c3b8,#1d2824,,tagline 85-159 d,#1d2824,,tagline -|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 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 +|0: New Term Find Grep Newcol Help Exit +@0: 0-10 #b2c3b8,#1d2824,,tagline 11-11 d,#1d2824,,tagline 12-158 #b2c3b8,#1d2824,,tagline 159-159 d,#1d2824,,tagline +|1: /tmp/pardes-snap/collapse/cwd/kept.txt Keep Del Collapse Save +@1: 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 +|2: +@2: 0-159 d,#486152,,body |3: @3: 0-159 d,#486152,,body |4: @@ -81,24 +81,24 @@ |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 2 messages · SPC h m +24: 2="✓" 150="·" @24: 0-1 d,#1d2824,,tagline 2-50 #6f7d75,#1d2824,,tagline 51-138 #b2c3b8,#1d2824,,tagline 139-158 #6f7d75,#1d2824,,tagline 159-159 d,#1d2824,,tagline -== snap middle-restored grid=160x25 cursor=7,3 -|3: 1 KEEP-FIRST -|4: 2 KEEP-SECOND -|5: 3 KEEP-THIRD +== snap middle-restored grid=160x25 cursor=7,2 +|2: 1 KEEP-FIRST +|3: 2 KEEP-SECOND +|4: 3 KEEP-THIRD |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 4 messages · SPC h m == snap tab-collapsed grid=160x25 cursor=hidden +|2: |3: |4: -|5: |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 7 messages · SPC h m == 9p tab-collapsed-cursor grid=160x25 cursor=none |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 7 messages · SPC h m +24: 2="✓" 150="·" @24: 0-1 d,#1d2824,,tagline 2-50 #6f7d75,#1d2824,,tagline 51-138 #b2c3b8,#1d2824,,tagline 139-158 #6f7d75,#1d2824,,tagline 159-159 d,#1d2824,,tagline -== snap tab-restored grid=160x25 cursor=7,3 -|3: 1 KEEP-FIRST -|4: 2 KEEP-SECOND -|5: 3 KEEP-THIRD +== snap tab-restored grid=160x25 cursor=7,2 +|2: 1 KEEP-FIRST +|3: 2 KEEP-SECOND +|4: 3 KEEP-THIRD |24: ✓ /tmp/pardes-snap/collapse/cwd/kept.txt Collapse 10 messages · SPC h m == file unchanged KEEP-FIRST diff --git a/test/snapshots/cursorline.golden b/test/snapshots/cursorline.golden index 6e5cc175..62713256 100644 --- a/test/snapshots/cursorline.golden +++ b/test/snapshots/cursorline.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/cursorline/cwd Del Term+bash /tmp/pardes-snap/cursorline/cwd Del Term+bash | ls ls | cur.txt cur.txt @@ -31,7 +31,7 @@ | 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, +|0: 0-121 d,#1d2824, 122-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-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, diff --git a/test/snapshots/delask.golden b/test/snapshots/delask.golden index 1bcb5a3a..b4ab5a76 100644 --- a/test/snapshots/delask.golden +++ b/test/snapshots/delask.golden @@ -1,6 +1,5 @@ -== 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 +== snap three grid=100x36 cursor=18,19 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/delask/cwd/top.txt Keep Del | 1 top-marker | @@ -26,6 +25,7 @@ | | | +| | */tmp/pardes-snap/delask/cwd/+New Undo Del | 1 bottom-pane | @@ -35,23 +35,23 @@ | | | ✓ /tmp/pardes-snap/delask/cwd/+New Window 3 messages · SPC h m -== snap asked grid=100x36 cursor=18,20 -|20: 1 middle-pane Del: give space to k above j below +== snap asked grid=100x36 cursor=18,19 +|19: 1 middle-pane Del: give space to k above j below |35: /tmp/pardes-snap/delask/cwd/+New:1 4 messages · SPC h m -== snap kept grid=100x36 cursor=18,20 -|20: 1 middle-pane -== snap below-took grid=100x36 cursor=18,20 -|20: 1 bottom-pane +== snap kept grid=100x36 cursor=18,19 +|19: 1 middle-pane +== snap below-took grid=100x36 cursor=18,19 +|19: 1 bottom-pane |27: |28: |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 +== snap typed grid=100x36 cursor=27,19 +|19: 1 bottom-pane DelBelow |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 -|20: 1 third-pane +== snap below-took-click grid=100x36 cursor=17,19 +|19: 1 third-pane |27: |28: |35: ✓ /tmp/pardes-snap/delask/cwd/+New DelBelow 8 messages · SPC h m @@ -60,6 +60,6 @@ |28: 1 |35: ✓ /tmp/pardes-snap/delask/cwd/top.txt New 9 messages · SPC h m == snap mouse-del grid=100x36 cursor=7,28 +|18: |19: -|20: |35: ✓ /tmp/pardes-snap/delask/cwd/+New Del 11 messages · SPC h m diff --git a/test/snapshots/diffstack.golden b/test/snapshots/diffstack.golden index a71d0b03..2c17dc91 100644 --- a/test/snapshots/diffstack.golden +++ b/test/snapshots/diffstack.golden @@ -1,6 +1,5 @@ -== 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 +== snap diff-stack grid=100x31 cursor=4,3 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/diffstack/cwd Del Term+bash | $ cat change.patch | $(readlink /proc/$PPID/exe) - | $ @@ -29,13 +28,14 @@ | + a(); | b(); | + log(); +| } | /tmp/pardes-snap/diffstack/cwd == style diff-stack-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-36 #becfc4,#314738, 37-99 #dfbce5,#314738, +|1: 0-1 #000000,#add38a, 2-36 #becfc4,#314738, 37-99 #dfbce5,#314738, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |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, +|4: 0-0 d,#608269, 1-99 d,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, |7: 0-0 d,#608269, 1-99 d,#0d1410, @@ -51,14 +51,14 @@ |17: 0-0 d,#608269, 1-99 d,#0d1410, |18: 0-0 d,#608269, 1-99 d,#0d1410, |19: 0-0 d,#608269, 1-99 d,#0d1410, -|20: 0-0 d,#608269, 1-99 d,#0d1410, -|21: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, -|22: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, -|23: 0-0 d,#608269, 1-2 d,#0d1410, 3-99 #59675c,#0d1410, -|24: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, -|25: 0-0 d,#608269, 1-6 d,#0d1410, 7-9 #c9a7ed,#0d1410, 10-99 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #f1a39b,#0d1410,b 3-10 #f1a39b,#0d1410, 11-11 #e5eee5,#453832, 12-99 #e5eee5,#0d1410, -|27: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#0d1410,b 3-10 #b6ce94,#0d1410, 11-11 #e5eee5,#364131, 12-99 #e5eee5,#0d1410, -|28: 0-0 d,#152019, 1-10 d,#0d1410, 11-99 #e5eee5,#0d1410, -|29: 0-0 d,#152019, 1-1 d,#0d1410, 2-2 #b6ce94,#171f18,b 3-10 #b6ce94,#171f18, 11-99 #e5eee5,#171f18, +|20: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-38 #d3b0d9,#1d2824, 39-99 #b2c3b8,#1d2824, +|21: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, +|22: 0-0 d,#608269, 1-2 d,#0d1410, 3-99 #59675c,#0d1410, +|23: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, +|24: 0-0 d,#608269, 1-6 d,#0d1410, 7-9 #c9a7ed,#0d1410, 10-99 #e5eee5,#0d1410, +|25: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #f1a39b,#0d1410,b 3-10 #f1a39b,#0d1410, 11-11 #e5eee5,#453832, 12-99 #e5eee5,#0d1410, +|26: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#0d1410,b 3-10 #b6ce94,#0d1410, 11-11 #e5eee5,#364131, 12-99 #e5eee5,#0d1410, +|27: 0-0 d,#608269, 1-10 d,#0d1410, 11-99 #e5eee5,#0d1410, +|28: 0-0 d,#608269, 1-1 d,#0d1410, 2-2 #b6ce94,#171f18,b 3-10 #b6ce94,#171f18, 11-99 #e5eee5,#171f18, +|29: 0-0 d,#152019, 1-6 d,#0d1410, 7-99 #e5eee5,#0d1410, |30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, diff --git a/test/snapshots/diffview.golden b/test/snapshots/diffview.golden index 12dfbf3d..d29c9559 100644 --- a/test/snapshots/diffview.golden +++ b/test/snapshots/diffview.golden @@ -1,6 +1,5 @@ -== 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 +== snap diff-pane grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /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 @@ -29,31 +28,32 @@ | | | +| | /tmp/pardes-snap/diffview/cwd/change.diff:1 == style diff-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-31 #becfc4,#2c2c0f, 32-43 #dfbce5,#2c2c0f, 44-99 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #b9f480,#0d1410, +|1: 0-1 d,#add38a, 2-31 #becfc4,#2c2c0f, 32-43 #dfbce5,#2c2c0f, 44-99 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #b9f480,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #b9f480,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #b9f480,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #b9f480,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #b9f480,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #c9a7ed,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-7 #59675c,#0d1410, 8-19 #e5eee5,#0d1410, 20-26 #c9a7ed,#0d1410, 27-27 #e5eee5,#0d1410, 28-32 #b8d88a,#0d1410, 33-99 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-7 #59675c,#0d1410, 8-25 #e5eee5,#0d1410, 26-30 #c9a7ed,#0d1410, 31-31 #e5eee5,#0d1410, 32-35 #c9a7ed,#0d1410, 36-99 #e5eee5,#0d1410, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #f1a39b,#302b25,b 8-11 #f1a39b,#302b25, 12-24 #e5eee5,#302b25, 25-25 #f8c082,#302b25, 26-99 #e5eee5,#302b25, -|13: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-11 #b6ce94,#263025, 12-99 #e5eee5,#263025, -|14: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-11 #b6ce94,#263025, 12-21 #e5eee5,#263025, 22-28 #c9a7ed,#263025, 29-99 #e5eee5,#263025, -|15: 0-0 d,#608269, 1-3 d,#0d1410, 4-99 #59675c,#0d1410, -|16: 0-0 d,#608269, 1-3 d,#0d1410, 4-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, -|17: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #f1a39b,#302b25,b 8-15 #f1a39b,#302b25, 16-99 #b8d88a,#302b25, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #c9a7ed,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-7 #59675c,#0d1410, 8-19 #e5eee5,#0d1410, 20-26 #c9a7ed,#0d1410, 27-27 #e5eee5,#0d1410, 28-32 #b8d88a,#0d1410, 33-99 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-7 #59675c,#0d1410, 8-25 #e5eee5,#0d1410, 26-30 #c9a7ed,#0d1410, 31-31 #e5eee5,#0d1410, 32-35 #c9a7ed,#0d1410, 36-99 #e5eee5,#0d1410, +|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, +|11: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #f1a39b,#302b25,b 8-11 #f1a39b,#302b25, 12-24 #e5eee5,#302b25, 25-25 #f8c082,#302b25, 26-99 #e5eee5,#302b25, +|12: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-11 #b6ce94,#263025, 12-99 #e5eee5,#263025, +|13: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-11 #b6ce94,#263025, 12-21 #e5eee5,#263025, 22-28 #c9a7ed,#263025, 29-99 #e5eee5,#263025, +|14: 0-0 d,#608269, 1-3 d,#0d1410, 4-99 #59675c,#0d1410, +|15: 0-0 d,#608269, 1-3 d,#0d1410, 4-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, +|16: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #f1a39b,#302b25,b 8-15 #f1a39b,#302b25, 16-99 #b8d88a,#302b25, +|17: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-15 #b6ce94,#263025, 16-99 #b8d88a,#263025, |18: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-15 #b6ce94,#263025, 16-99 #b8d88a,#263025, -|19: 0-0 d,#608269, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-7 #b6ce94,#263025,b 8-15 #b6ce94,#263025, 16-99 #b8d88a,#263025, -|20: 0-0 d,#608269, 1-3 d,#0d1410, 4-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, -|21: 0-0 d,#608269, 1-3 d,#0d1410, 4-7 #59675c,#0d1410, 8-99 #e5eee5,#0d1410, -|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|19: 0-0 d,#608269, 1-3 d,#0d1410, 4-11 #59675c,#0d1410, 12-99 #e5eee5,#0d1410, +|20: 0-0 d,#608269, 1-3 d,#0d1410, 4-7 #59675c,#0d1410, 8-99 #e5eee5,#0d1410, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|22: 0-0 d,#608269, 1-99 d,#0d1410, |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#0d1410, |25: 0-0 d,#608269, 1-99 d,#0d1410, @@ -62,31 +62,30 @@ |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,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: ~ +== snap look-added-line grid=100x31 cursor=55,7 +|1: change.diff:12 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Del +|2: 1 const std = @import("std"); +|3: 2 +|4: 3 pub const Shape = union(enum) { +|5: 4 circle: f32, +|6: 5 square: f32, +|7: 6 triangle: struct { base: f32, height: f32 }, +|9: 8 const note = +|10: 9 \\areas, defer +|11: 10 \\summed +|12: 11 ; +|13: 12 }; +|14: ~ +|15: |16: |17: |18: |19: |20: |21: -|22: |30: /tmp/pardes-snap/diffview/cwd/src/shape.zig:6 -== snap command-pane grid=100x31 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap command-pane grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/diffview/cwd/cmds.txt Keep Del | 1 cat change.diff | ~ @@ -101,6 +100,7 @@ | | | +| | /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Del | circle: f32, | - square: u8 = 7, @@ -118,10 +118,10 @@ | ✓ /tmp/pardes-snap/diffview/cwd/cmds.txt Exec 1 message · SPC h m == style command-colours grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-31 #becfc4,#2c2c0f, 32-40 #dfbce5,#2c2c0f, 41-99 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|1: 0-1 d,#add38a, 2-31 #becfc4,#2c2c0f, 32-40 #dfbce5,#2c2c0f, 41-99 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-99 d,#0d1410, |5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, |7: 0-0 d,#608269, 1-99 d,#0d1410, diff --git a/test/snapshots/dirpane.golden b/test/snapshots/dirpane.golden index 76d40546..de1a16ed 100644 --- a/test/snapshots/dirpane.golden +++ b/test/snapshots/dirpane.golden @@ -1,6 +1,5 @@ -== 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 +== snap dir-open grid=80x24 cursor=7,5 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/dirpane/cwd/top.txt Keep Del | 1 sub | @@ -22,8 +21,9 @@ | | | +| | /tmp/pardes-snap/dirpane/cwd/sub/:1 -== snap entry-open grid=80x24 cursor=7,15 -|14: ‹@p2 › /tmp/pardes-snap/dirpane/cwd/sub/inner.txt Keep Del -|15: 1 inner-marker +== snap entry-open grid=80x24 cursor=7,14 +|13: ‹@p2 › /tmp/pardes-snap/dirpane/cwd/sub/inner.txt Keep Del +|14: 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 419a12d5..2399900f 100644 --- a/test/snapshots/dump.golden +++ b/test/snapshots/dump.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit Dump +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/dump/cwd Del Term+bash /tmp/pardes-snap/dump/cwd Del Term+bash | ls ls | d.txt d.txt diff --git a/test/snapshots/edit.golden b/test/snapshots/edit.golden index 5dc6fe28..84f00366 100644 --- a/test/snapshots/edit.golden +++ b/test/snapshots/edit.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/edit/cwd Del Term+bash /tmp/pardes-snap/edit/cwd Del Term+bash | ls ls | e.txt e.txt @@ -31,7 +31,7 @@ | | · @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, +|0: 0-71 d,#1d2824, 72-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-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, diff --git a/test/snapshots/emptycol.golden b/test/snapshots/emptycol.golden index 32a7a896..04fd8aa8 100644 --- a/test/snapshots/emptycol.golden +++ b/test/snapshots/emptycol.golden @@ -1,6 +1,6 @@ -== 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 +== snap newcol grid=100x24 cursor=76,1 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Del | | 1 one @@ -28,7 +28,7 @@ |3: ls |4: 1 one notes.txt |23: /tmp/pardes-snap/emptycol/cwd -== snap emptied grid=100x24 cursor=52,1 +== snap emptied grid=100x24 cursor=76,1 |2: /tmp/pardes-snap/emptycol/cwd/notes.txt Keep Del |3: |4: 1 one diff --git a/test/snapshots/exec-bigdrag.golden b/test/snapshots/exec-bigdrag.golden index c6fc181f..21e85720 100644 --- a/test/snapshots/exec-bigdrag.golden +++ b/test/snapshots/exec-bigdrag.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 diff --git a/test/snapshots/exec.golden b/test/snapshots/exec.golden index a3cf195b..b65c6611 100644 --- a/test/snapshots/exec.golden +++ b/test/snapshots/exec.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/exec/cwd Del Term+bash /tmp/pardes-snap/exec/cwd Del Term+bash | ls ls | e.txt e.txt diff --git a/test/snapshots/fileedit.golden b/test/snapshots/fileedit.golden index 6b77cba3..81f0655b 100644 --- a/test/snapshots/fileedit.golden +++ b/test/snapshots/fileedit.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/fileedit/cwd Del Term+bash /tmp/pardes-snap/fileedit/cwd Del Term+bash | ls ls | f.txt f.txt diff --git a/test/snapshots/filewatch.golden b/test/snapshots/filewatch.golden index cea74424..b3d92e05 100644 --- a/test/snapshots/filewatch.golden +++ b/test/snapshots/filewatch.golden @@ -1,6 +1,5 @@ -== 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 +== snap edited grid=210x31 cursor=15,6 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/filewatch/cwd Del Term+bash | ls | sub w.txt @@ -17,6 +16,7 @@ | 9 line 9 | 10 line 10 | 11 line 11 +| 12 line 12 | /tmp/pardes-snap/filewatch/cwd/sub/s.txt Del | 1 line 1 | 2 line 2 @@ -30,10 +30,10 @@ | | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m -== snap kept grid=210x31 cursor=15,7 -|6: ?/tmp/pardes-snap/filewatch/cwd/w.txt changed on disk ▸ r Reload k Keep mine d Diff · SPC e to answer +== snap kept grid=210x31 cursor=15,6 +|5: ?/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 +== snap reloaded_sub grid=210x31 cursor=15,6 |18: /tmp/pardes-snap/filewatch/cwd/sub/s.txt Undo Del |19: 1 RENAMED |20: ~ diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 44ccfaed..c40de296 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -1,6 +1,5 @@ -== snap group grid=120x41 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap group grid=120x41 cursor=7,2 +| New Term Find Grep Newcol Help Exit | ␣ f ▸ c Config f Find g Grep h History n New r Recent s Save ↓ unroll · ? help | 1 Find zqm | @@ -39,61 +38,62 @@ | | | +| | /tmp/pardes-snap/find/cwd/here.txt:1 -== snap armed grid=120x41 cursor=11,2 -|2: ^ ␣ f Find 1/5 -|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|4: │ │ ▶ here.txt -|5: │ │ other.txt -|6: │ │ sub/ZQMARK-beta.txt -|7: │ │ sub/nest/zqmark-gamma.txt -|8: │ │ zqmark-alpha.txt -|9: 1▸Find zqm -|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m -== snap typing grid=120x41 cursor=14,2 -|2: ^ ␣ f Find zqm 1/3 -|4: │ │ ▶ zqmark-alpha.txt +== snap armed grid=120x41 cursor=11,1 +|1: ^ ␣ f Find 1/5 +|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|3: │ │ ▶ here.txt +|4: │ │ other.txt |5: │ │ sub/ZQMARK-beta.txt |6: │ │ sub/nest/zqmark-gamma.txt +|7: │ │ zqmark-alpha.txt +|8: 1▸Find zqm +|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m +== snap typing grid=120x41 cursor=14,1 +|1: ^ ␣ f Find zqm 1/3 +|3: │ │ ▶ zqmark-alpha.txt +|4: │ │ sub/ZQMARK-beta.txt +|5: │ │ sub/nest/zqmark-gamma.txt +|6: │ │ |7: │ │ -|8: │ │ -|9: 1▸alpha body -== snap next grid=120x41 cursor=14,2 -|2: ^ ␣ f Find zqm 2/3 -|4: │ │ zqmark-alpha.txt -|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 Del -|3: 1 beta body +|8: 1▸alpha body +== snap next grid=120x41 cursor=14,1 +|1: ^ ␣ f Find zqm 2/3 +|3: │ │ zqmark-alpha.txt +|4: │ │ ▶ sub/ZQMARK-beta.txt +|8: 1▸beta body +== snap promoted grid=120x41 cursor=7,2 +|1: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del +|2: 1 beta body +|3: |4: |5: |6: |7: |8: -|9: |40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find 1 message · SPC h m -== snap nomatch grid=120x41 cursor=30,2 -|2: ^ Find zqm 2/3 › ␣ f Find zzqq 0 -|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|4: │ │ nothing matches +== snap nomatch grid=120x41 cursor=30,1 +|1: ^ Find zqm 2/3 › ␣ f Find zzqq 0 +|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|3: │ │ nothing matches +|4: │ │ |5: │ │ |6: │ │ -|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 Del -|3: 1 beta body +== snap cancel grid=120x41 cursor=7,2 +|1: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del +|2: 1 beta body +|3: |4: |5: |6: -|7: |40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find 1 message · SPC h m -== snap topbar grid=120x41 cursor=29,2 -|2: ^ Find zqm 2/3 › ␣ f Find bod 0 -|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|4: │ │ nothing matches +== snap topbar grid=120x41 cursor=29,1 +|1: ^ Find zqm 2/3 › ␣ f Find bod 0 +|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|3: │ │ nothing matches +|4: │ │ |5: │ │ |6: │ │ -|7: │ │ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m diff --git a/test/snapshots/follow.golden b/test/snapshots/follow.golden index 91bcdd3d..7dd9ceaf 100644 --- a/test/snapshots/follow.golden +++ b/test/snapshots/follow.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol New Term Joincol Delcol | /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 diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 91b72044..b6974a03 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/fsearch/cwd Del Term+bash /tmp/pardes-snap/fsearch/cwd Del Term+bash | ls ls | g.txt g.txt @@ -36,7 +36,7 @@ |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, +|0: 0-151 d,#1d2824, 152-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-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, diff --git a/test/snapshots/ghostty-mid.golden b/test/snapshots/ghostty-mid.golden index e4363140..aebaeb30 100644 --- a/test/snapshots/ghostty-mid.golden +++ b/test/snapshots/ghostty-mid.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/ghostty-mid/cwd Del Term+bash /tmp/pardes-snap/ghostty-mid/cwd Del Term+bash | ZZPAD ls | ./g.sh g.txt diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden index 70115a38..87a61cf1 100644 --- a/test/snapshots/grep.golden +++ b/test/snapshots/grep.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 diff --git a/test/snapshots/headersweep-restored.golden b/test/snapshots/headersweep-restored.golden index 1ee32f21..e8650cc5 100644 --- a/test/snapshots/headersweep-restored.golden +++ b/test/snapshots/headersweep-restored.golden @@ -1,6 +1,6 @@ == 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, +|0: 0-32 d,#1d2824, 33-119 #b2c3b8,#1d2824, +|1: 0-1 d,#887455, 2-26 #becfc4,#314738, 27-34 #f5f7ee,#5b7e5a, 35-59 #becfc4,#314738, 60-61 #becfc4,#887455, 62-119 #b2c3b8,#1d2824, |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, @@ -21,8 +21,8 @@ |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,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 +| Find Grep Newcol Help Exit Restore /tmp/pardes-snap/headersweep-restored/dump.zon Dump +| New Term Joincol Delcol echo RE''STORED-COL New Term Joincol Delcol | /tmp/pardes-snap/headersweep-restored/cwd Del Term+bash /tmp/pardes-snap/headersweep-restored/cwd Del Term+bash | ls ls | @@ -43,11 +43,11 @@ | | ✓ @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, +|0: 0-13 d,#1d2824, 14-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, |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,6 -|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit Restore /tmp/pardes-snap/header ec +|0: Find Grep Newcol Help Exit Restore /tmp/pardes-snap/headersweep-restored/dump.zon Dump echo RE''STORED-WS |17: -WS) exit 0 Del diff --git a/test/snapshots/headersweep.golden b/test/snapshots/headersweep.golden index 034c0dc8..0d1f27be 100644 --- a/test/snapshots/headersweep.golden +++ b/test/snapshots/headersweep.golden @@ -1,6 +1,6 @@ == 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, +|0: 0-91 d,#1d2824, 92-119 #b2c3b8,#1d2824, +|1: 0-1 d,#887455, 2-26 #becfc4,#314738, 27-34 #f5f7ee,#5b7e5a, 35-59 #becfc4,#314738, 60-61 #becfc4,#887455, 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, @@ -21,8 +21,8 @@ |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,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol echo SW''EPT-COL New Term Joincol Delcol | /tmp/pardes-snap/headersweep/cwd Del Term+bash /tmp/pardes-snap/headersweep/cwd Del Term+bash | ls ls | hay.txt hay.txt @@ -43,18 +43,19 @@ | | /tmp/pardes-snap/headersweep/cwd == 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 +|0: Find Grep Newcol Help Exit echo SW''EPT-WS |16: /tmp/pardes-snap/headersweep/cwd (echo SW''EPT-WS) exit 0 |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 +|0: Find Grep Newcol Help Exit echo SW''EPT-WS xxhay.txtxx |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,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, +|0: 0-63 d,#1d2824, 64-119 #b2c3b8,#1d2824, +|1: 0-1 d,#887455, 2-59 #b2c3b8,#1d2824, 60-61 #b2c3b8,#887455, 62-70 #f5f7ee,#3c614a, 71-119 #becfc4,#314738, |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, diff --git a/test/snapshots/hscroll.golden b/test/snapshots/hscroll.golden index 0fd7c5a5..848740b5 100644 --- a/test/snapshots/hscroll.golden +++ b/test/snapshots/hscroll.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/hscroll/cwd Del Term+bash /tmp/pardes-snap/hscroll/cwd Del Term+bash | ls ls | wide.txt wide.txt diff --git a/test/snapshots/images.golden b/test/snapshots/images.golden index 78beceaf..6a597da8 100644 --- a/test/snapshots/images.golden +++ b/test/snapshots/images.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/images/cwd Del Term+bash /tmp/pardes-snap/images/cwd Del Term+bash | ls ls | pic.ppm pic.ppm @@ -32,7 +32,7 @@ | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == style img-open grid=150x32 -|0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, +|0: 0-121 d,#1d2824, 122-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-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, @@ -89,8 +89,8 @@ |16: 🬝▄ |31: ✓ /tmp/pardes-snap/images/cwd/pic.ppm Ascii 3 messages · SPC h m == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/images/cwd Del Term+bash /tmp/pardes-snap/images/cwd Del Term+bash | ls ls | pic.ppm pic.ppm diff --git a/test/snapshots/jumps.golden b/test/snapshots/jumps.golden index 00725183..f158c02f 100644 --- a/test/snapshots/jumps.golden +++ b/test/snapshots/jumps.golden @@ -1,6 +1,5 @@ -== 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 +== snap start grid=150x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/jumps/cwd/big.txt Del | 1 line 1 | 2 line 2 @@ -29,12 +28,39 @@ | 25 line 25 | 26 line 26 | 27 line 27 +| 28 line 28 | /tmp/pardes-snap/jumps/cwd/big.txt:1 == snap to-shell grid=150x31 cursor=79,5 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|0: Find Grep Newcol Help Exit +|1: New Term Joincol Delcol New Term Joincol Delcol |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 +|5: 3 line 3 +|6: 4 line 4 +|7: 5 line 5 +|8: 6 line 6 +|9: 7 line 7 +|10: 8 line 8 +|11: 9 line 9 +|12: 10 line 10 +|13: 11 line 11 +|14: 12 line 12 +|15: 13 line 13 +|16: 14 line 14 +|17: 15 line 15 +|18: 16 line 16 +|19: 17 line 17 +|20: 18 line 18 +|21: 19 line 19 +|22: 20 line 20 +|23: 21 line 21 +|24: 22 line 22 +|25: 23 line 23 +|26: 24 line 24 +|27: 25 line 25 +|28: 26 line 26 +|29: 27 line 27 |30: /tmp/pardes-snap/jumps/cwd == snap to-file grid=150x31 cursor=7,3 |30: ✓ @p2 Window 1 message · SPC h m @@ -150,7 +176,7 @@ |30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Jumplist 7 messages · SPC h m == snap step1-shell grid=150x31 cursor=79,5 == style step1-shell grid=150x31 -|0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, +|0: 0-121 d,#1d2824, 122-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-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, diff --git a/test/snapshots/layout-close.golden b/test/snapshots/layout-close.golden index 30318987..583179a1 100644 --- a/test/snapshots/layout-close.golden +++ b/test/snapshots/layout-close.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/layout-close/cwd Del Term+bash /tmp/pardes-snap/layout-close/cwd Del Term+bash | ls ls | marker.txt marker.txt @@ -41,7 +41,7 @@ | | /tmp/pardes-snap/layout-close/cwd == 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 +|1: New Term Joincol Delcol New Term Joincol Delcol New Term Joincol Delcol |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 @@ -71,7 +71,7 @@ |21: |22: |23: -== snap colclose grid=140x41 cursor=37,1 +== snap colclose grid=140x41 cursor=61,1 |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 diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index 1a9d869f..19500b97 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/layout-open/cwd Del Term+bash /tmp/pardes-snap/layout-open/cwd Del Term+bash | ls ls | sub sub diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 6b8bc8fd..02cacea2 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -1,6 +1,5 @@ == snap spc grid=100x41 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 Newcol Help Exit | ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume | │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace | │ w Window y ClipYank Y ClipYankMain ↓ unroll · ? help @@ -39,48 +38,49 @@ | | | +| | /tmp/pardes-snap/leader/cwd/cmds.txt:1 -== snap spc-h grid=100x41 cursor=7,3 -|2: ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ unroll · ? help -|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 Del +== snap spc-h grid=100x41 cursor=7,2 +|1: ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ unroll · ? help +|2: 1 Help Help h Help t Help c Help l +|3: +== snap abandoned grid=100x41 cursor=7,2 +|1: /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 Del -|3: 1 Help Help h Help t Help c Help l -|4: -|5: /tmp/pardes-snap/leader/cwd/+Help Del -|6: 1 pardes builtins under SPC h -|7: 2 -|8: 3 SPC h b Build -|9: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|10: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ -|11: its platform, its grammars, and whether the addons are compiled in. -|12: 6 -|13: 7 SPC h c Changelog topbar -|14: 8 Show this build's version and what changed to reach it, in a +Changelog. -|15: 9 -|16: 10 SPC h k Keys -|17: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. -|18: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ -|19: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ -|20: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ -|21: is bound to is shown struck, `runs nothing`. Esc leaves it. -|22: 13 -|23: 14 SPC h m Messages -|24: 15 Show the messages said so far, the newest first, an error's places under it. -|25: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), ↩ -|26: C-q keeps it as a +Messages; else the +Messages. -|27: 17 -|28: 18 SPC h t Tutor topbar -|29: 19 Open the tutor, a document to work through. -|30: 20 -|31: ~ +|1: ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume +|2: │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace +|3: │ w Window y ClipYank Y ClipYankMain x ↓ unroll · ? help +== snap help-group grid=100x41 cursor=7,5 +|1: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del +|2: 1 Help Help h Help t Help c Help l +|3: +|4: /tmp/pardes-snap/leader/cwd/+Help Del +|5: 1 pardes builtins under SPC h +|6: 2 +|7: 3 SPC h b Build +|8: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|9: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|10: its platform, its grammars, and whether the addons are compiled in. +|11: 6 +|12: 7 SPC h c Changelog +|13: 8 Show this build's version and what changed to reach it, in a +Changelog. +|14: 9 +|15: 10 SPC h k Keys +|16: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|17: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ +|18: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ +|19: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ +|20: is bound to is shown struck, `runs nothing`. Esc leaves it. +|21: 13 +|22: 14 SPC h m Messages +|23: 15 Show the messages said so far, the newest first, an error's places under it. +|24: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), ↩ +|25: C-q keeps it as a +Messages; else the +Messages. +|26: 17 +|27: 18 SPC h t Tutor +|28: 19 Open the tutor, a document to work through. +|29: 20 +|30: ~ |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 Del @@ -102,7 +102,8 @@ |38: 16 "| " are tags. |39: 17 |40: ✓ /tmp/pardes-snap/leader/cwd/+Help Tutor 5 messages · SPC h m -== snap deleted grid=100x41 cursor=7,3 +== snap deleted grid=100x41 cursor=7,2 +|4: |5: |6: |7: @@ -120,51 +121,52 @@ |19: |20: |21: -|22: -|23: /tmp/pardes-snap/leader/cwd/+Help Del -|24: 1 pardes builtins under SPC h -|25: 2 -|26: 3 SPC h b Build -|27: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|28: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ -|29: its platform, its grammars, and whether the addons are compiled in. -|30: 6 -|31: 7 SPC h c Changelog topbar -|32: 8 Show this build's version and what changed to reach it, in a +Changelog. -|33: 9 -|34: 10 SPC h k Keys -|35: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. -|36: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ -|37: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ -|38: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ -|39: is bound to is shown struck, `runs nothing`. Esc leaves it. +|22: /tmp/pardes-snap/leader/cwd/+Help Del +|23: 1 pardes builtins under SPC h +|24: 2 +|25: 3 SPC h b Build +|26: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|27: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|28: its platform, its grammars, and whether the addons are compiled in. +|29: 6 +|30: 7 SPC h c Changelog +|31: 8 Show this build's version and what changed to reach it, in a +Changelog. +|32: 9 +|33: 10 SPC h k Keys +|34: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|35: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls ↩ +|36: its level under the tag with the leaf on the cursor and its documentation beside it, and Ent↩ +|37: er runs it. Every root answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing↩ +|38: is bound to is shown struck, `runs nothing`. Esc leaves it. +|39: 13 |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 Del -|6: 1 pardes builtins under SPC c -|7: 2 -|8: 3 SPC c d Delcol -|9: 4 Close this column and its panes. -|10: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in i↩ -|11: t holds unsaved text, the notice saying how many; Delcol again, nothing edited since, closes↩ -|12: them. -|13: 6 -|14: 7 SPC c f Follow -|15: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. -|16: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page↩ -|17: , a Zerox of the text, at the end of the column right of the chain's last, or in a new colum↩ -|18: n there; its tag has Unfollow. -|19: 10 -|20: 11 SPC c j Joincol topbar -|21: 12 Fold the keyboard's column into the one on its right, keeping its panes. -|22: 13 Refused for the last column, and where the joined column could not give each pane its tag an↩ -|23: d 2 rows. -|24: 14 -|25: 15 SPC c n Newcol topbar -|26: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. -|27: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. -|28: 18 -|29: ~ +== snap help-column grid=100x41 cursor=7,5 +|4: /tmp/pardes-snap/leader/cwd/+Help Del +|5: 1 pardes builtins under SPC c +|6: 2 +|7: 3 SPC c d Delcol +|8: 4 Close this column and its panes. +|9: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in i↩ +|10: t holds unsaved text, the notice saying how many; Delcol again, nothing edited since, closes↩ +|11: them. +|12: 6 +|13: 7 SPC c f Follow +|14: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. +|15: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page↩ +|16: , a Zerox of the text, at the end of the column right of the chain's last, or in a new colum↩ +|17: n there; its tag has Unfollow. +|18: 10 +|19: 11 SPC c j Joincol +|20: 12 Fold the keyboard's column into the one on its right, keeping its panes. +|21: 13 Refused for the last column, and where the joined column could not give each pane its tag an↩ +|22: d 2 rows. +|23: 14 +|24: 15 SPC c n Newcol topbar +|25: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. +|26: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. +|27: 18 +|28: ~ +|29: |30: |31: |32: @@ -176,42 +178,44 @@ |38: |39: |40: ✓ /tmp/pardes-snap/leader/cwd/cmds.txt Help 14 messages · SPC h m -== snap help-language grid=100x41 cursor=7,6 -|6: 1 pardes builtins under SPC l -|8: 3 SPC l C Callees -|9: 4 List the functions the one under the cursor calls, one level down; a single one is a jump. -|10: 5 -|11: 6 SPC l D WsDiagnostics -|12: 7 List the diagnostics of the whole workspace in a +Search. -|13: 8 -|14: 9 SPC l S WsSymbols -|15: 10 Search the workspace's symbols for its argument, in a +Search; bare, it asks for the name. -|16: 11 -|17: 12 SPC l T Subtypes -|18: 13 List the subtypes of the type under the cursor in a +Search; a single one is a jump. -|19: 14 -|20: 15 SPC l a CodeAction -|21: 16 List the language server's code actions for the cursor, to apply one. -|22: 17 Typed where jumps walk, they are a picker in the pane's tag, the one under the cursor shown ↩ -|23: as its edit, applied by Enter or its digit; else a +Lsp lists them. -|24: 18 -|25: 19 SPC l b Callstack -|26: 20 Show the callers of the function under the cursor as a tree, outermost first, in a +Callstac↩ -|27: k. -|28: 21 Each caller with its place to open and its signature, the line of each call under it; caller↩ -|29: s named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many level↩ -|30: s (8 by default); a deeper tree says where to go on from. `g c` does the same. -|31: 22 -|32: 23 SPC l c Callers -|33: 24 List the functions that call the one under the cursor, one level up; a single one is a jump. -|34: 25 -|35: 26 SPC l d Diagnostics -|36: 27 List this file's diagnostics in a +Search. -|37: 28 `] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first. -|38: 29 -|39: 30 SPC l h SelectRefs +== snap help-language grid=100x41 cursor=7,5 +|5: 1 pardes builtins under SPC l +|7: 3 SPC l C Callees +|8: 4 List the functions the one under the cursor calls, one level down; a single one is a jump. +|9: 5 +|10: 6 SPC l D WsDiagnostics +|11: 7 List the diagnostics of the whole workspace in a +Search. +|12: 8 +|13: 9 SPC l S WsSymbols +|14: 10 Search the workspace's symbols for its argument, in a +Search; bare, it asks for the name. +|15: 11 +|16: 12 SPC l T Subtypes +|17: 13 List the subtypes of the type under the cursor in a +Search; a single one is a jump. +|18: 14 +|19: 15 SPC l a CodeAction +|20: 16 List the language server's code actions for the cursor, to apply one. +|21: 17 Typed where jumps walk, they are a picker in the pane's tag, the one under the cursor shown ↩ +|22: as its edit, applied by Enter or its digit; else a +Lsp lists them. +|23: 18 +|24: 19 SPC l b Callstack +|25: 20 Show the callers of the function under the cursor as a tree, outermost first, in a +Callstac↩ +|26: k. +|27: 21 Each caller with its place to open and its signature, the line of each call under it; caller↩ +|28: s named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many level↩ +|29: s (8 by default); a deeper tree says where to go on from. `g c` does the same. +|30: 22 +|31: 23 SPC l c Callers +|32: 24 List the functions that call the one under the cursor, one level up; a single one is a jump. +|33: 25 +|34: 26 SPC l d Diagnostics +|35: 27 List this file's diagnostics in a +Search. +|36: 28 `] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first. +|37: 29 +|38: 30 SPC l h SelectRefs +|39: 31 Select every reference to the symbol under the cursor. |40: ✓ /tmp/pardes-snap/leader/cwd/cmds.txt Help 16 messages · SPC h m -== snap del-output grid=100x41 cursor=7,3 +== snap del-output grid=100x41 cursor=7,2 +|4: |5: |6: |7: diff --git a/test/snapshots/load.golden b/test/snapshots/load.golden index 87366d0a..ebbc565c 100644 --- a/test/snapshots/load.golden +++ b/test/snapshots/load.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit Dump +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/load/cwd Del Term+bash /tmp/pardes-snap/load/cwd Del Term+bash | 28 ls | 29 d.txt @@ -31,7 +31,7 @@ | | ✓ @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, +|0: 0-67 d,#1d2824, 68-94 #b2c3b8,#1d2824, 95-98 #f5f7ee,#3c614a, 99-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-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, diff --git a/test/snapshots/logquiet.golden b/test/snapshots/logquiet.golden index 37c889a4..ea9de55e 100644 --- a/test/snapshots/logquiet.golden +++ b/test/snapshots/logquiet.golden @@ -1,6 +1,5 @@ -== 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 +== snap quiet grid=100x31 cursor=62,4 +| New Term Find Grep Newcol Help Exit |$ /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' @@ -29,4 +28,5 @@ | | | +| | /tmp/pardes-snap/logquiet/cwd diff --git a/test/snapshots/look-center.golden b/test/snapshots/look-center.golden index 08ab1146..7ad52aa9 100644 --- a/test/snapshots/look-center.golden +++ b/test/snapshots/look-center.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/look-center/cwd Del Term+bash /tmp/pardes-snap/look-center/cwd Del Term+bash | ls ls | big.txt big.txt diff --git a/test/snapshots/look-fd-deep.golden b/test/snapshots/look-fd-deep.golden index 1673c345..9b80b1c2 100644 --- a/test/snapshots/look-fd-deep.golden +++ b/test/snapshots/look-fd-deep.golden @@ -1,6 +1,5 @@ -== 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 +== snap listed grid=100x31 cursor=4,8 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/look-fd-deep/cwd/a Del Term+bash | $ exec timeout --foreground 600 bash -i | $ cd a && ls && fd @@ -29,12 +28,13 @@ | | | +| | /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 Del -|22: 1 deep-marker +== snap fd-path-looked grid=100x31 cursor=7,21 +|20: ‹@p1 › /tmp/pardes-snap/look-fd-deep/cwd/a/b/c.txt Keep Del +|21: 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 Del -|22: 1 top-marker +== snap ls-name-looked grid=100x31 cursor=7,21 +|20: ‹@p1 › c.txt:1 › /tmp/pardes-snap/look-fd-deep/cwd/a/top.txt Keep Del +|21: 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 a3c44f8d..a5821054 100644 --- a/test/snapshots/look-file-1col.golden +++ b/test/snapshots/look-file-1col.golden @@ -1,14 +1,13 @@ == 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 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/look-file-1col/cwd Del Term+bash | ls | big.txt | | | -| big.txt:40 | +| big.txt:40 | | | @@ -16,6 +15,7 @@ | | | ‹@p1 › /tmp/pardes-snap/look-file-1col/cwd/big.txt Keep Del +| 33 line 33 | 34 line 34 | 35 line 35 | 36 line 36 diff --git a/test/snapshots/look-file.golden b/test/snapshots/look-file.golden index a8eae029..462445be 100644 --- a/test/snapshots/look-file.golden +++ b/test/snapshots/look-file.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/look-file/cwd Del Term+bash /tmp/pardes-snap/look-file/cwd Del Term+bash | ls ls | big.txt big.txt @@ -31,7 +31,7 @@ | 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, +|0: 0-121 d,#1d2824, 122-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-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, diff --git a/test/snapshots/lookloaded.golden b/test/snapshots/lookloaded.golden index 8be48db1..05cfe77b 100644 --- a/test/snapshots/lookloaded.golden +++ b/test/snapshots/lookloaded.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/lookloaded/cwd Del Term+bash /tmp/pardes-snap/lookloaded/cwd Del Term+bash | ls ls | big.txt big.txt diff --git a/test/snapshots/lookpanes.golden b/test/snapshots/lookpanes.golden index 194d473e..0bbabb2e 100644 --- a/test/snapshots/lookpanes.golden +++ b/test/snapshots/lookpanes.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 @@ -66,7 +66,7 @@ |27: in.txt Keep Del |28: 1 TWIN-FROM-BETA == style mru-beta grid=130x51 -|0: 0-1 d,#1d2824, 2-129 #b2c3b8,#1d2824, +|0: 0-101 d,#1d2824, 102-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-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, diff --git a/test/snapshots/lookrange.golden b/test/snapshots/lookrange.golden index 1eadcfc7..080bfa05 100644 --- a/test/snapshots/lookrange.golden +++ b/test/snapshots/lookrange.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=150x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/lookrange/cwd/look.txt Del | 1 r.txt:3-5 | 2 r.txt:7:4-9 @@ -29,37 +28,38 @@ | | | +| | /tmp/pardes-snap/lookrange/cwd/look.txt:1 -== snap wholelines grid=150x31 cursor=11,12 -|7: /tmp/pardes-snap/lookrange/cwd/r.txt Del -|8: 1 aaaa -|9: 2 bbbb -|10: 3 cccc dccc -|11: 4 dddd -|12: 5 eeee -|13: 6 ffff -|14: 7 gg NEEDLE gg -|15: 8 hhhh NEEDLE -|16: 9 iiii +== snap wholelines grid=150x31 cursor=11,11 +|6: /tmp/pardes-snap/lookrange/cwd/r.txt Del +|7: 1 aaaa +|8: 2 bbbb +|9: 3 cccc dccc +|10: 4 dddd +|11: 5 eeee +|12: 6 ffff +|13: 7 gg NEEDLE gg +|14: 8 hhhh NEEDLE +|15: 9 iiii |30: /tmp/pardes-snap/lookrange/cwd/r.txt:5 == style wholelines grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-149 #becfc4,#314738, -|2: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-41 #d3b0d9,#1d2824, 42-149 #b2c3b8,#1d2824, +|1: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-41 #d3b0d9,#1d2824, 42-149 #b2c3b8,#1d2824, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|7: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-38 #dfbce5,#314738, 39-149 #becfc4,#314738, +|6: 0-1 d,#add38a, 2-32 #becfc4,#314738, 33-38 #dfbce5,#314738, 39-149 #becfc4,#314738, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, -|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-149 #f5f7ee,#0d1410, +|11: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-149 #f5f7ee,#0d1410, +|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, +|16: 0-0 d,#608269, 1-149 d,#0d1410, |17: 0-0 d,#608269, 1-149 d,#0d1410, |18: 0-0 d,#608269, 1-149 d,#0d1410, |19: 0-0 d,#608269, 1-149 d,#0d1410, @@ -74,53 +74,53 @@ |28: 0-0 d,#608269, 1-149 d,#0d1410, |29: 0-0 d,#608269, 1-149 d,#0d1410, |30: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, -== snap onelinespan grid=150x31 cursor=15,14 +== snap onelinespan grid=150x31 cursor=15,13 |30: /tmp/pardes-snap/lookrange/cwd/r.txt:7 == style onelinespan grid=150x31 +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, -== snap fullspan grid=150x31 cursor=9,12 +|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, +== snap fullspan grid=150x31 cursor=9,11 |30: /tmp/pardes-snap/lookrange/cwd/r.txt:5 == style fullspan grid=150x31 -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #e5eee5,#0d1410, 8-149 #f5f7ee,#3c614a, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, -|12: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #f5f7ee,#3c614a, 10-149 #e5eee5,#0d1410, -|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -== snap stale grid=150x31 cursor=10,16 +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-7 #e5eee5,#0d1410, 8-149 #f5f7ee,#3c614a, +|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #f5f7ee,#3c614a, +|11: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #f5f7ee,#3c614a, 10-149 #e5eee5,#0d1410, +|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, +== snap stale grid=150x31 cursor=10,15 |30: /tmp/pardes-snap/lookrange/cwd/r.txt:9 == style stale grid=150x31 +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |11: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|12: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|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 Del +|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-149 #f5f7ee,#3c614a, +|15: 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,14 +|6: /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, -|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, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, -|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, +|6: 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, +|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #e5eee5,#0d1410, 10-15 #e5eee5,#5e4923, 16-149 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, +|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |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 Del +|24: 0-0 d,#e5eee5, 1-149 d,#0d1410, +== snap hit2 grid=150x31 cursor=15,13 +|6: /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, -|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, -|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-17 #e5eee5,#5e4923, 18-149 #e5eee5,#0d1410, +|6: 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, +|13: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-9 #e5eee5,#0d1410, 10-15 #f5f7ee,#3c614a, 16-16 #f5f7ee,#0d1410, 17-149 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-17 #e5eee5,#5e4923, 18-149 #e5eee5,#0d1410, |22: 0-0 d,#e5eee5, 1-149 d,#0d1410, -|25: 0-0 d,#5e4923, 1-149 d,#0d1410, +|24: 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 Del +== snap back grid=150x31 cursor=17,14 +|6: /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, -|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, +|13: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #e5eee5,#0d1410, 10-15 #e5eee5,#5e4923, 16-149 #e5eee5,#0d1410, +|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #e5eee5,#0d1410, 12-17 #f5f7ee,#3c614a, 18-149 #f5f7ee,#0d1410, |22: 0-0 d,#5e4923, 1-149 d,#0d1410, -|25: 0-0 d,#e5eee5, 1-149 d,#0d1410, +|24: 0-0 d,#e5eee5, 1-149 d,#0d1410, diff --git a/test/snapshots/lsp-client-edit.golden b/test/snapshots/lsp-client-edit.golden index 1e277de5..7943c40e 100644 --- a/test/snapshots/lsp-client-edit.golden +++ b/test/snapshots/lsp-client-edit.golden @@ -1,6 +1,5 @@ -== 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 +== snap formatted grid=100x25 cursor=7,3 +| New Term Find Grep Newcol Help Exit ⋯ lsp rust-analyzer: ready | */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del | 1 // formatted by mock | 2 mod lib; @@ -23,24 +22,25 @@ | | | +| | · /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 Redo Del -|3: 1 mod lib; -|4: 2 -|5: 3 fn main() { -|6: 4 let x = add(1, 2); -|7: 5 let y = add(3, 4); -|8: 6 let _ = x + y; -|9: 7 } -|10: ~ -|11: +== snap unformatted grid=100x25 cursor=7,2 +|1: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del +|2: 1 mod lib; +|3: 2 +|4: 3 fn main() { +|5: 4 let x = add(1, 2); +|6: 5 let y = add(3, 4); +|7: 6 let _ = x + y; +|8: 7 } +|9: ~ +|10: == snap renamed grid=100x25 cursor=12,5 -|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); +|1: */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del +|5: 4 let x = sum(1, 2); +|6: 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 Redo Del -|6: 4 let x = add(1, 2); -|7: 5 let y = add(3, 4); +|1: /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del +|5: 4 let x = add(1, 2); +|6: 5 let y = add(3, 4); diff --git a/test/snapshots/lsp-client.golden b/test/snapshots/lsp-client.golden index 701f53f3..59186c0b 100644 --- a/test/snapshots/lsp-client.golden +++ b/test/snapshots/lsp-client.golden @@ -1,6 +1,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 +== snap gd-jumped grid=100x25 cursor=16,3 +| New Term Find Grep Newcol Help Exit ⋯ lsp rust-analyzer: ready | 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 { @@ -23,6 +22,7 @@ | | | +| | /tmp/pardes-snap/lsp-client/cwd/lib.rs:2 == snap gr-list grid=100x25 cursor=2,8 |5: +Search 1/3 Del diff --git a/test/snapshots/lsp-rename-files.golden b/test/snapshots/lsp-rename-files.golden index f25decf5..034ec2c4 100644 --- a/test/snapshots/lsp-rename-files.golden +++ b/test/snapshots/lsp-rename-files.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=100x25 cursor=7,7 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/lsp-rename-files/cwd/lib.rs Del | 1 // main.rs | 2 pub fn add(a: i32, b: i32) -> i32 { @@ -23,14 +22,16 @@ | | | +| | /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 Del -|16: 1 lib.rs:2:8-10 -|17: 2 sum -|18: 3 main.rs:4:13-15 -|19: 4 sum -|20: 5 main.rs:5:13-15 -|21: 6 sum -|22: ~ +== snap previewed grid=100x25 cursor=14,3 +|0: New Term Find Grep Newcol Help Exit ⋯ lsp rust-analyzer: ready +|14: /tmp/pardes-snap/lsp-rename-files/cwd/+Search Del +|15: 1 lib.rs:2:8-10 +|16: 2 sum +|17: 3 main.rs:4:13-15 +|18: 4 sum +|19: 5 main.rs:5:13-15 +|20: 6 sum +|21: ~ |24: · …-files/cwd/lib.rs Rename: 3 edit(s) across files, previewed, not applied 2 messages · SPC h m diff --git a/test/snapshots/lsp-rename.golden b/test/snapshots/lsp-rename.golden index 96112a30..c64ba29c 100644 --- a/test/snapshots/lsp-rename.golden +++ b/test/snapshots/lsp-rename.golden @@ -1,6 +1,5 @@ -== 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 +== snap renamed grid=110x25 cursor=17,9 +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lsp-rename/cwd | */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Undo Del | 1 const std = @import("std"); | 2 @@ -23,12 +22,13 @@ | | | +| | · /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 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 Undo Del -|5: 3 fn renamed_helper(x: u32) u32 { -|10: 8 _ = renamed_helper(41); +== snap undone grid=110x25 cursor=17,9 +|1: /tmp/pardes-snap/lsp-rename/cwd/rename.zig Redo Del +|4: 3 fn helper(x: u32) u32 { +|9: 8 _ = helper(41); +== snap redone grid=110x25 cursor=17,9 +|1: */tmp/pardes-snap/lsp-rename/cwd/rename.zig Save Undo Del +|4: 3 fn renamed_helper(x: u32) u32 { +|9: 8 _ = renamed_helper(41); diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index 92cd2009..26d35880 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=120x41 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/lsp/cwd/a.zig Keep Del | 1 const std = @import("std"); | 2 @@ -39,48 +38,50 @@ | | | +| | /tmp/pardes-snap/lsp/cwd/a.zig:1 -== snap cursor grid=120x41 cursor=17,10 +== snap cursor grid=120x41 cursor=17,9 |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 Del +== snap definition grid=120x41 cursor=15,4 +|0: New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lsp/cwd +|1: 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 -|7: (fn (u32) u32) -|8: 4 return x + 1; -|9: 5 } -|10: 6 -|11: 7 pub fn main() void { -|12: 8 _ = helper(41); -|13: 9 } -|14: ~ +== snap hover grid=120x41 cursor=15,4 +|5: fn helper(x: u32) u32 +|6: (fn (u32) u32) +|7: 4 return x + 1; +|8: 5 } +|9: 6 +|10: 7 pub fn main() void { +|11: 8 _ = helper(41); +|12: 9 } +|13: ~ |40: ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover 1 message · SPC h m -== snap symbols grid=120x41 cursor=24,2 -|2: ^ a.zig:8 › ␣ l Symbols 1/3 -|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist -|4: │ │ ▶ a.zig:1:7-9 std -|5: │ │ a.zig:3:4-9 helper -|6: │ │ a.zig:7:8-11 main -|7: │ │ -|8: 1▸const std = @import("std"); -|9: 2 -|10: 3 fn helper(x: u32) u32 { -|11: fn helper(x: u32) u32 -|12: (fn (u32) u32) -|13: 4 return x + 1; -|14: 5 } -|15: 6 -|16: 7 pub fn main() void { -|17: 8 _ = helper(41); -|18: 9 } -|19: ~ +== snap symbols grid=120x41 cursor=24,1 +|1: ^ a.zig:8 › ␣ l Symbols 1/3 +|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist +|3: │ │ ▶ a.zig:1:7-9 std +|4: │ │ a.zig:3:4-9 helper +|5: │ │ a.zig:7:8-11 main +|6: │ │ +|7: 1▸const std = @import("std"); +|8: 2 +|9: 3 fn helper(x: u32) u32 { +|10: fn helper(x: u32) u32 +|11: (fn (u32) u32) +|12: 4 return x + 1; +|13: 5 } +|14: 6 +|15: 7 pub fn main() void { +|16: 8 _ = helper(41); +|17: 9 } +|18: ~ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 2 messages · SPC h m -== snap step grid=120x41 cursor=27,2 -|2: ^ a.zig:8 › ␣ l Symbols jn 0 -|4: │ │ nothing matches +== snap step grid=120x41 cursor=27,1 +|1: ^ a.zig:8 › ␣ l Symbols jn 0 +|3: │ │ nothing matches +|4: │ │ |5: │ │ -|6: │ │ -|8: 1 const std = @import("std"); -== snap nothing grid=120x41 cursor=29,2 -|2: ^ a.zig:8 › ␣ l Symbols jngd 0 +|7: 1 const std = @import("std"); +== snap nothing grid=120x41 cursor=29,1 +|1: ^ a.zig:8 › ␣ l Symbols jngd 0 diff --git a/test/snapshots/lspcomplete.golden b/test/snapshots/lspcomplete.golden index d4a9c4e6..888d7d51 100644 --- a/test/snapshots/lspcomplete.golden +++ b/test/snapshots/lspcomplete.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=120x41 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/lspcomplete/cwd/a.zig Keep Del | 1 const Shade = enum { | 2 verdigris, @@ -39,28 +38,29 @@ | | | +| | /tmp/pardes-snap/lspcomplete/cwd/a.zig:1 -== snap indent grid=120x41 cursor=11,12 -|2: ^*/tmp/pardes-snap/lspcomplete/cwd/a.zig Save Undo Del -|12: 10 } +== snap indent grid=120x41 cursor=11,11 +|1: ^*/tmp/pardes-snap/lspcomplete/cwd/a.zig Save Undo Del +|11: 10 } |40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:10 -== snap commentindent grid=120x41 cursor=19,14 -|14: 12 // note. see below +== snap commentindent grid=120x41 cursor=19,13 +|0: New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd +|13: 12 // note. see below |40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:12 -== snap athedot grid=120x41 cursor=16,10 -|10: 8 . +== snap athedot grid=120x41 cursor=16,9 +|9: 8 . |40: /tmp/pardes-snap/lspcomplete/cwd/a.zig:8 -== snap completion grid=120x41 cursor=16,10 -|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 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 +== snap completion grid=120x41 cursor=16,9 +|14: /tmp/pardes-snap/lspcomplete/cwd/+Search Del +|15: 1 a.zig:8:10 verdigris +|16: 2 a.zig:8:10 cinnabar +|17: ~ +== snap refill grid=120x41 cursor=16,9 +== snap step grid=120x41 cursor=16,9 +|1: */tmp/pardes-snap/lspcomplete/cwd/a.zig Save Undo Del +== snap txtindent grid=120x41 cursor=15,2 +| New Term Find Grep Newcol Help Exit |^*/tmp/pardes-snap/lspcomplete/cwd/notes.txt Save Undo Del | 1 abc. def ghi | ~ @@ -99,10 +99,10 @@ | | | +| | /tmp/pardes-snap/lspcomplete/cwd/notes.txt:1 -== snap nosemi grid=100x19 cursor=29,9 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap nosemi grid=100x19 cursor=29,8 +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd |^*/tmp/pardes-snap/lspcomplete/cwd/c.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, @@ -111,6 +111,7 @@ | 5 | 6 pub fn nosemi() void { | 7 const z: Shade = . +| 8 } | /tmp/pardes-snap/lspcomplete/cwd/+Search Del | 1 c.zig:7:23 verdigris Shade | 2 c.zig:7:23 cinnabar Shade @@ -121,8 +122,7 @@ | | /tmp/pardes-snap/lspcomplete/cwd/c.zig:7 == snap nobrace grid=100x19 cursor=hidden -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lspcomplete/cwd |^*/tmp/pardes-snap/lspcomplete/cwd/d.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, @@ -139,4 +139,5 @@ | | | +| | /tmp/pardes-snap/lspcomplete/cwd/d.zig:8 diff --git a/test/snapshots/lspcompletemoved.golden b/test/snapshots/lspcompletemoved.golden index 0b41ede4..f23de0b3 100644 --- a/test/snapshots/lspcompletemoved.golden +++ b/test/snapshots/lspcompletemoved.golden @@ -1,6 +1,5 @@ -== 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 +== snap typedthrough grid=120x21 cursor=16,13 +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lspcompletemoved/cwd |^*/tmp/pardes-snap/lspcompletemoved/cwd/a.zig Save Undo Del | 1 const Shade = enum { | 2 verdigris, @@ -19,6 +18,7 @@ | | | +| | /tmp/pardes-snap/lspcompletemoved/cwd/a.zig:12 == file buffer const Shade = enum { diff --git a/test/snapshots/lspdebug.golden b/test/snapshots/lspdebug.golden index 1c7106cb..d338f98e 100644 --- a/test/snapshots/lspdebug.golden +++ b/test/snapshots/lspdebug.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=120x45 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/lspdebug/cwd/z.zig Keep Del | 1 const std = @import("std"); | 2 @@ -43,12 +42,14 @@ | | | +| | /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 Del +== snap ctrlclick grid=120x45 cursor=15,4 +|0: New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lspdebug/cwd +|1: 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 +== snap plainclick grid=120x45 cursor=21,9 |44: /tmp/pardes-snap/lspdebug/cwd/z.zig:8 -== snap why-closed grid=120x45 cursor=7,5 +== snap why-closed grid=120x45 cursor=7,4 |44: /tmp/pardes-snap/lspdebug/cwd/z.zig:3 -== snap report-closed grid=120x45 cursor=7,5 +== snap report-closed grid=120x45 cursor=7,4 diff --git a/test/snapshots/lsprelpath.golden b/test/snapshots/lsprelpath.golden index e297c0ec..36399d3b 100644 --- a/test/snapshots/lsprelpath.golden +++ b/test/snapshots/lsprelpath.golden @@ -1,6 +1,5 @@ == 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 +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lsprelpath/cwd/sub | /tmp/pardes-snap/lsprelpath/cwd/sub/parent.zig Del | 1 const shade = @import("../shade.zig"); | 2 @@ -14,6 +13,7 @@ | | | +| | +Search 2/2 Del | Refs | ../shade.zig @@ -44,17 +44,17 @@ |30: ~ |34: /tmp/pardes-snap/lsprelpath/cwd/shade.zig:1 == style abslook grid=100x35 -|0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-48 #d3b0d9,#1d2824, 49-99 #b2c3b8,#1d2824, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-20 #e5eee5,#0d1410, 21-27 #c9a7ed,#0d1410, 28-28 #e5eee5,#0d1410, 29-42 #b8d88a,#0d1410, 43-99 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-27 #e5eee5,#0d1410, 28-32 #f5f7ee,#3c614a, 33-99 #e5eee5,#0d1410, -|6: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-24 #c9a7ed,#0d1410, 25-99 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|0: 0-1 d,#1d2824, 2-45 #b2c3b8,#1d2824, 46-99 #b7cb98,#1d2824, +|1: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-48 #d3b0d9,#1d2824, 49-99 #b2c3b8,#1d2824, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-20 #e5eee5,#0d1410, 21-27 #c9a7ed,#0d1410, 28-28 #e5eee5,#0d1410, 29-42 #b8d88a,#0d1410, 43-99 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-27 #e5eee5,#0d1410, 28-32 #f5f7ee,#3c614a, 33-99 #e5eee5,#0d1410, +|5: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-24 #c9a7ed,#0d1410, 25-99 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-99 d,#0d1410, |11: 0-0 d,#608269, 1-99 d,#0d1410, |12: 0-0 d,#608269, 1-99 d,#0d1410, |13: 0-0 d,#608269, 1-99 d,#0d1410, @@ -80,8 +80,7 @@ |33: 0-0 d,#608269, 1-99 d,#0d1410, |34: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, == snap subrow grid=100x35 cursor=2,20 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +| New Term Find Grep Newcol Help Exit ⋯ lsp zls ready — /tmp/pardes-snap/lsprelpath/cwd/sub | /tmp/pardes-snap/lsprelpath/cwd/sub/subdir.zig Del | 1 const tint = @import("inner/tint.zig"); | 2 @@ -95,6 +94,7 @@ | | | +| | +Search 2/2 Del | Refs | inner/tint.zig @@ -125,17 +125,17 @@ |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, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-48 #d3b0d9,#1d2824, 49-99 #b2c3b8,#1d2824, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-19 #e5eee5,#0d1410, 20-26 #c9a7ed,#0d1410, 27-27 #e5eee5,#0d1410, 28-43 #b8d88a,#0d1410, 44-99 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-25 #e5eee5,#0d1410, 26-29 #f5f7ee,#3c614a, 30-99 #e5eee5,#0d1410, -|6: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-24 #c9a7ed,#0d1410, 25-99 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|0: 0-1 d,#1d2824, 2-45 #b2c3b8,#1d2824, 46-99 #b7cb98,#1d2824, +|1: 0-1 d,#496656, 2-37 #b2c3b8,#1d2824, 38-48 #d3b0d9,#1d2824, 49-99 #b2c3b8,#1d2824, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-19 #e5eee5,#0d1410, 20-26 #c9a7ed,#0d1410, 27-27 #e5eee5,#0d1410, 28-43 #b8d88a,#0d1410, 44-99 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-25 #e5eee5,#0d1410, 26-29 #f5f7ee,#3c614a, 30-99 #e5eee5,#0d1410, +|5: 0-0 d,#e5eee5, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-24 #c9a7ed,#0d1410, 25-99 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-99 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-99 d,#0d1410, |11: 0-0 d,#608269, 1-99 d,#0d1410, |12: 0-0 d,#608269, 1-99 d,#0d1410, |13: 0-0 d,#608269, 1-99 d,#0d1410, @@ -160,5 +160,5 @@ |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, -== snap clicked grid=100x35 cursor=29,5 +== snap clicked grid=100x35 cursor=29,4 |34: /tmp/pardes-snap/lsprelpath/cwd/sub/subdir.zig:3 diff --git a/test/snapshots/markup.golden b/test/snapshots/markup.golden index 567a03a5..fb4dd8a5 100644 --- a/test/snapshots/markup.golden +++ b/test/snapshots/markup.golden @@ -1,6 +1,5 @@ -== 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 +== snap typst grid=92x25 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/markup/cwd/paper.typ Keep Del | 1 = Typst heading | 2 @@ -23,20 +22,21 @@ | | | +| | /tmp/pardes-snap/markup/cwd/paper.typ:1 == style typst grid=92x25 |0: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-91 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-29 #becfc4,#2c2c0f, 30-39 #dfbce5,#2c2c0f, 40-91 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-91 #c9a7ed,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-24 #b9f480,#0d1410, 25-28 #e5eee5,#0d1410, 29-37 #f8c082,#0d1410, 38-46 #e5eee5,#0d1410, 47-52 #b8d88a,#0d1410, 53-91 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-15 #c9a7ed,#0d1410, 16-27 #e5eee5,#0d1410, 28-32 #c9a7ed,#0d1410, 33-36 #e5eee5,#0d1410, 37-91 #f8c082,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-23 #e5eee5,#0d1410, 24-30 #c9a7ed,#0d1410, 31-32 #f8c082,#0d1410, 33-91 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, -|11: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|1: 0-1 d,#add38a, 2-29 #becfc4,#2c2c0f, 30-39 #dfbce5,#2c2c0f, 40-91 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-91 #c9a7ed,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-24 #b9f480,#0d1410, 25-28 #e5eee5,#0d1410, 29-37 #f8c082,#0d1410, 38-46 #e5eee5,#0d1410, 47-52 #b8d88a,#0d1410, 53-91 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-15 #c9a7ed,#0d1410, 16-27 #e5eee5,#0d1410, 28-32 #c9a7ed,#0d1410, 33-36 #e5eee5,#0d1410, 37-91 #f8c082,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-23 #e5eee5,#0d1410, 24-30 #c9a7ed,#0d1410, 31-32 #f8c082,#0d1410, 33-91 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, +|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|11: 0-0 d,#608269, 1-91 d,#0d1410, |12: 0-0 d,#608269, 1-91 d,#0d1410, |13: 0-0 d,#608269, 1-91 d,#0d1410, |14: 0-0 d,#608269, 1-91 d,#0d1410, @@ -50,9 +50,8 @@ |22: 0-0 d,#608269, 1-91 d,#0d1410, |23: 0-0 d,#608269, 1-91 d,#0d1410, |24: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, -== snap markdown grid=92x25 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap markdown grid=92x25 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/markup/cwd/notes.md Keep Del | 1 # Markdown heading with *italic* | 2 @@ -75,19 +74,20 @@ | | | +| | /tmp/pardes-snap/markup/cwd/notes.md:1 == style markdown grid=92x25 |0: 0-1 d,#1d2824, 2-91 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-91 #becfc4,#314738, -|2: 0-1 d,#add38a, 2-29 #becfc4,#2c2c0f, 30-38 #dfbce5,#2c2c0f, 39-91 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #e5eee5,#0d1410, 9-30 #c9a7ed,#0d1410, 31-91 #f8c082,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-25 #b9f480,#0d1410, 26-27 #e5eee5,#0d1410, 28-36 #f8c082,#0d1410, 37-43 #e5eee5,#0d1410, 44-52 #b8d88a,#0d1410, 53-91 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-23 #e5eee5,#0d1410, 24-30 #c9a7ed,#0d1410, 31-32 #f8c082,#0d1410, 33-91 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|1: 0-1 d,#add38a, 2-29 #becfc4,#2c2c0f, 30-38 #dfbce5,#2c2c0f, 39-91 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #e5eee5,#0d1410, 9-30 #c9a7ed,#0d1410, 31-91 #f8c082,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-25 #b9f480,#0d1410, 26-27 #e5eee5,#0d1410, 28-36 #f8c082,#0d1410, 37-43 #e5eee5,#0d1410, 44-52 #b8d88a,#0d1410, 53-91 #e5eee5,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-9 #c9a7ed,#0d1410, 10-23 #e5eee5,#0d1410, 24-30 #c9a7ed,#0d1410, 31-32 #f8c082,#0d1410, 33-91 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-91 #b8d88a,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-91 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-91 d,#0d1410, |11: 0-0 d,#608269, 1-91 d,#0d1410, |12: 0-0 d,#608269, 1-91 d,#0d1410, |13: 0-0 d,#608269, 1-91 d,#0d1410, diff --git a/test/snapshots/mini.golden b/test/snapshots/mini.golden index e45793af..5b7bc299 100644 --- a/test/snapshots/mini.golden +++ b/test/snapshots/mini.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=90x23 cursor=7,5 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/mini/cwd/commands.txt Keep Del | 1 @`Mini demo.zig` | @@ -21,18 +20,19 @@ | | | +| | ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m == style opened grid=90x23 |0: 0-1 d,#1d2824, 2-89 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-89 #becfc4,#314738, -|2: 0-1 d,#496656, 2-27 #b2c3b8,#2c2c0f, 28-40 #d3b0d9,#2c2c0f, 41-89 #b2c3b8,#2c2c0f, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-89 d,#0d1410, -|5: 0-1 d,#add38a, 2-27 #becfc4,#314738, 28-41 #dfbce5,#314738, 42-89 #becfc4,#314738, -|6: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #e5eee5,#0d1410, 9-9 #c9a7ed,#0d1410, 10-12 #e5eee5,#0d1410, 13-15 #c9a7ed,#0d1410, 16-21 #b8d88a,#0d1410, 22-89 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #b9f480,#0d1410, 9-11 #c9a7ed,#0d1410, 12-89 #b9f480,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-19 #f8c082,#0d1410, 20-89 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|1: 0-1 d,#496656, 2-27 #b2c3b8,#2c2c0f, 28-40 #d3b0d9,#2c2c0f, 41-89 #b2c3b8,#2c2c0f, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-89 d,#0d1410, +|4: 0-1 d,#add38a, 2-27 #becfc4,#314738, 28-41 #dfbce5,#314738, 42-89 #becfc4,#314738, +|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-8 #e5eee5,#0d1410, 9-9 #c9a7ed,#0d1410, 10-12 #e5eee5,#0d1410, 13-15 #c9a7ed,#0d1410, 16-21 #b8d88a,#0d1410, 22-89 #e5eee5,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #b9f480,#0d1410, 9-11 #c9a7ed,#0d1410, 12-89 #b9f480,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #e5eee5,#0d1410, 18-19 #f8c082,#0d1410, 20-89 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|9: 0-0 d,#608269, 1-89 d,#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, @@ -46,29 +46,29 @@ |20: 0-0 d,#608269, 1-89 d,#0d1410, |21: 0-0 d,#608269, 1-89 d,#0d1410, |22: 0-1 d,#1d2824, 2-89 #6f7d75,#1d2824, -== 9p opened grid=90x23 cursor=7,6,block -|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -@0: 0-84 #b2c3b8,#1d2824,,tagline 85-89 d,#1d2824,,tagline -|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 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 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 -|7: 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ -+7: 7="⣂" 8="⢀" 9="⣉" 10="⣉" 11="⢉" 12="⣈" 13="⢁" 14="⣀" 15="⣀" 16="⢀" 17="⣀" 18="⣀" 19="⣀" 20="⢀" 21="⣀" 22="⣀" 23="⣀" 24="⣀" 25="⣀" -@7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-8 #b9f480,#0d1410,,body 9-11 #c9a7ed,#0d1410,,body 12-25 #b9f480,#0d1410,,body 26-89 d,#0d1410,,body -|8: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ -+8: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉" -@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-89 d,#0d1410,,body -|9: ~ +== 9p opened grid=90x23 cursor=7,5,block +|0: New Term Find Grep Newcol Help Exit +@0: 0-10 #b2c3b8,#1d2824,,tagline 11-11 d,#1d2824,,tagline 12-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline +|1: /tmp/pardes-snap/mini/cwd/commands.txt Keep Del +@1: 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 +|2: 1 @`Mini demo.zig` +@2: 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 +|3: +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|4: /tmp/pardes-snap/mini/cwd/Mini demo.zig Del +@4: 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 +|5: 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁ ++5: 7="⠭" 8="⠍" 9="⣥" 10="⢩" 11="⣭" 12="⡭" 13="⣭" 14="⣬" 15="⣌" 16="⢭" 17="⣭" 18="⠌" 19="⠬" 20="⠅" 21="⠍" 22="⠁" +@5: 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 +|6: 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ ++6: 7="⣂" 8="⢀" 9="⣉" 10="⣉" 11="⢉" 12="⣈" 13="⢁" 14="⣀" 15="⣀" 16="⢀" 17="⣀" 18="⣀" 19="⣀" 20="⢀" 21="⣀" 22="⣀" 23="⣀" 24="⣀" 25="⣀" +@6: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-8 #b9f480,#0d1410,,body 9-11 #c9a7ed,#0d1410,,body 12-25 #b9f480,#0d1410,,body 26-89 d,#0d1410,,body +|7: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ ++7: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉" +@7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-89 d,#0d1410,,body +|8: ~ +@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-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 @@ -97,9 +97,8 @@ |22: ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m +22: 2="✓" 80="·" @22: 0-1 d,#1d2824,,tagline 2-46 #6f7d75,#1d2824,,tagline 47-68 #b2c3b8,#1d2824,,tagline 69-88 #6f7d75,#1d2824,,tagline 89-89 d,#1d2824,,tagline -== snap resized grid=105x27 cursor=7,7 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap resized grid=105x27 cursor=7,6 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/mini/cwd/commands.txt Keep Del | 1 @`Mini demo.zig` | @@ -124,32 +123,33 @@ | | | +| | ✓ /tmp/pardes-snap/mini/cwd/commands.txt Mini 2 messages · SPC h m -== 9p resized grid=105x27 cursor=7,7,block -|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -@0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline -|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 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 +== 9p resized grid=105x27 cursor=7,6,block +|0: New Term Find Grep Newcol Help Exit +@0: 0-10 #b2c3b8,#1d2824,,tagline 11-11 d,#1d2824,,tagline 12-103 #b2c3b8,#1d2824,,tagline 104-104 d,#1d2824,,tagline +|1: /tmp/pardes-snap/mini/cwd/commands.txt Keep Del +@1: 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 +|2: 1 @`Mini demo.zig` +@2: 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 +|3: +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-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 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 -|8: 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ -+8: 7="⣂" 8="⢀" 9="⣉" 10="⣉" 11="⢉" 12="⣈" 13="⢁" 14="⣀" 15="⣀" 16="⢀" 17="⣀" 18="⣀" 19="⣀" 20="⢀" 21="⣀" 22="⣀" 23="⣀" 24="⣀" 25="⣀" -@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-8 #b9f480,#0d1410,,body 9-11 #c9a7ed,#0d1410,,body 12-25 #b9f480,#0d1410,,body 26-104 d,#0d1410,,body -|9: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ -+9: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉" -@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-104 d,#0d1410,,body -|10: ~ +|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-104 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-104 d,#0d1410,,body +|7: 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀ ++7: 7="⣂" 8="⢀" 9="⣉" 10="⣉" 11="⢉" 12="⣈" 13="⢁" 14="⣀" 15="⣀" 16="⢀" 17="⣀" 18="⣀" 19="⣀" 20="⢀" 21="⣀" 22="⣀" 23="⣀" 24="⣀" 25="⣀" +@7: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-8 #b9f480,#0d1410,,body 9-11 #c9a7ed,#0d1410,,body 12-25 #b9f480,#0d1410,,body 26-104 d,#0d1410,,body +|8: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉ ++8: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉" +@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-104 d,#0d1410,,body +|9: ~ +@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body +|10: @10: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |11: @11: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body diff --git a/test/snapshots/modal.golden b/test/snapshots/modal.golden index 081aa7ad..7b5cc87f 100644 --- a/test/snapshots/modal.golden +++ b/test/snapshots/modal.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/modal/cwd Del Term+bash /tmp/pardes-snap/modal/cwd Del Term+bash | ls ls | words.txt words.txt @@ -33,7 +33,7 @@ == 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, +|0: 0-71 d,#1d2824, 72-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-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, diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden index 18126c5f..09249970 100644 --- a/test/snapshots/msg.golden +++ b/test/snapshots/msg.golden @@ -1,6 +1,5 @@ -== snap opened grid=70x15 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His -| New Term Find Grep Joincol Delcol +== snap opened grid=70x15 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/msg/cwd/a.txt Keep Del | 1 line 1 | 2 line 2 @@ -13,12 +12,12 @@ | | | +| | /tmp/pardes-snap/msg/cwd/a.txt:1 -== snap saved grid=70x15 cursor=7,3 +== snap saved grid=70x15 cursor=7,2 |14: · saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m -== snap repainted grid=70x17 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His -| New Term Find Grep Joincol Delcol +== snap repainted grid=70x17 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/msg/cwd/a.txt Keep Del | 1 line 1 | 2 line 2 @@ -33,34 +32,35 @@ | | | +| | · saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m -== snap keycleared grid=70x17 cursor=7,4 -== snap saved-again grid=70x17 cursor=7,4 +== snap keycleared grid=70x17 cursor=7,3 +== snap saved-again grid=70x17 cursor=7,3 |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: ~ +== snap mousecleared grid=70x17 cursor=7,3 +== snap reloaded grid=70x17 cursor=7,3 +|1: /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del +|2: 1 EXTERNAL +|3: ~ +|4: |5: |6: |7: |8: -|9: |16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt 5 messages · SPC h m -== snap prompt grid=70x17 cursor=7,2 -|2: ^ s EXT = Exec Edit x/EXT/ 0 -== snap prompt-wins grid=70x17 cursor=7,2 -|3: 1 AGAIN +== snap prompt grid=70x17 cursor=7,1 +|1: ^ s EXT = Exec Edit x/EXT/ 0 +== snap prompt-wins grid=70x17 cursor=7,1 +|2: 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 Undo Del -== snap msgbuiltin grid=70x17 cursor=29,5 -|2: */tmp/pardes-snap/msg/cwd/a.txt Save Undo Del -|4: 2 -|5: 3 Msg hand-written report +== snap esc grid=70x17 cursor=7,3 +|1: /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del +== snap msgbuiltin grid=70x17 cursor=29,4 +|1: */tmp/pardes-snap/msg/cwd/a.txt Save Undo Del +|3: 2 +|4: 3 Msg hand-written report |16: · …des-snap/msg/cwd/a.txt hand-written report 7 messages · SPC h m -== snap msgtail grid=70x17 cursor=32,7 -|6: 4 Msg 0123456789 0123456789 0123456789 0123456789 0123456789 012↩ -|7: 3456789 0123456789 THE-END +== snap msgtail grid=70x17 cursor=32,6 +|5: 4 Msg 0123456789 0123456789 0123456789 0123456789 0123456789 012↩ +|6: 3456789 0123456789 THE-END |16: · …a.txt 0123456789 0123456789 0123456789 01… 9 messages · SPC h m diff --git a/test/snapshots/multicursor.golden b/test/snapshots/multicursor.golden index dab99241..2a0874af 100644 --- a/test/snapshots/multicursor.golden +++ b/test/snapshots/multicursor.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/multicursor/cwd Del Term+bash /tmp/pardes-snap/multicursor/cwd Del Term+bash | ls ls | f.txt f.txt @@ -31,7 +31,7 @@ | ~ | · @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, +|0: 0-121 d,#1d2824, 122-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-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, diff --git a/test/snapshots/nested-optout.golden b/test/snapshots/nested-optout.golden index 05c8e0a5..dcd37d56 100644 --- a/test/snapshots/nested-optout.golden +++ b/test/snapshots/nested-optout.golden @@ -1,9 +1,7 @@ -== 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 +== snap optout-file grid=100x31 cursor=9,4 +| New Term Find Grep Newcol Help Exit |$ /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 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/nested-optout/cwd/nested.txt Keep Del | 1 optout-marker | 2 second-optout-line @@ -19,6 +17,7 @@ | | | +| | /tmp/pardes-snap/nested-optout/cwd/nested.txt:1 | /tmp/pardes-snap/nested-optout/cwd/+New Del | 1 @@ -29,13 +28,12 @@ | | | +| | /tmp/pardes-snap/nested-optout/cwd -== snap inner-shell grid=100x31 cursor=6,6 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap inner-shell grid=100x31 cursor=6,4 +| New Term Find Grep Newcol Help Exit |$ /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 +| New Term Find Grep Newcol Help Exit | $ /tmp/pardes-snap/nested-optout/cwd/innerdir Del Term+bash | $ | @@ -46,6 +44,7 @@ | | | +| | /tmp/pardes-snap/nested-optout/cwd/innerdir/+New Del | 1 | @@ -61,11 +60,11 @@ | | | +| | /tmp/pardes-snap/nested-optout/cwd -== snap inner-launch grid=100x31 cursor=11,9 -|6: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -|7: New Term Find Grep Joincol Delcol -|8: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt Keep Del -|9: 1 deepest-marker -|10: ~ -|14: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt:1 +== snap inner-launch grid=100x31 cursor=11,6 +|4: New Term Find Grep Newcol Help Exit +|5: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt Keep Del +|6: 1 deepest-marker +|7: ~ +|13: /tmp/pardes-snap/nested-optout/cwd/innerdir/deeper.txt:1 diff --git a/test/snapshots/nested.golden b/test/snapshots/nested.golden index d7875f0b..0e05e6e6 100644 --- a/test/snapshots/nested.golden +++ b/test/snapshots/nested.golden @@ -1,6 +1,5 @@ -== 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 +== snap file-arg grid=100x31 cursor=7,21 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/nested/cwd Del Term+bash | $ $(readlink /proc/$PPID/exe) nested.txt | $ @@ -29,10 +28,10 @@ | | | +| | /tmp/pardes-snap/nested/cwd/nested.txt:1 -== snap no-arg grid=100x31 cursor=4,7 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap no-arg grid=100x31 cursor=4,6 +| New Term Find Grep Newcol Help Exit |$ /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 @@ -61,10 +60,10 @@ | | | +| | /tmp/pardes-snap/nested/cwd -== 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 +== snap dir-arg grid=100x31 cursor=7,21 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/nested/cwd Del Term+bash | $ $(readlink /proc/$PPID/exe) nestdir | $ @@ -93,4 +92,5 @@ | | | +| | /tmp/pardes-snap/nested/cwd/nestdir/:1 diff --git a/test/snapshots/ninep.golden b/test/snapshots/ninep.golden index 0f5f913a..6713d5c3 100644 --- a/test/snapshots/ninep.golden +++ b/test/snapshots/ninep.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=90x15 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/ninep/cwd/demo.zig Keep Del | 1 const greeting = "café λ 界 é"; | 2 @@ -13,44 +12,45 @@ | | | +| | /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-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, +|1: 0-1 d,#add38a, 2-28 #becfc4,#2c2c0f, 29-37 #dfbce5,#2c2c0f, 38-89 #becfc4,#2c2c0f, +|2: 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, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-89 #e5eee5,#0d1410, +|5: 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, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-89 #e5eee5,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-89 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-89 #59675c,#0d1410, +|9: 0-0 d,#608269, 1-89 d,#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,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 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: ~ +== 9p opened grid=90x15 cursor=7,2,block +|0: New Term Find Grep Newcol Help Exit +@0: 0-10 #b2c3b8,#1d2824,,tagline 11-11 d,#1d2824,,tagline 12-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline +|1: /tmp/pardes-snap/ninep/cwd/demo.zig Keep Del +@1: 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 +|2: 1 const greeting = "café λ 界 é"; ++2: 28="é" 30="λ" 32="界" 33="" 35="é" +@2: 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 +|3: 2 +@3: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|4: 3 pub fn choose(ok: bool) u32 { +@4: 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 +|5: 4 if (ok) return 42; +@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-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 +|6: 5 return 7; +@6: 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 +|7: 6 } +@7: 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 +|8: ~ +@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-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 @@ -62,62 +62,62 @@ @13: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body |14: /tmp/pardes-snap/ninep/cwd/demo.zig:1 @14: 0-1 d,#1d2824,,tagline 2-88 #b2c3b8,#1d2824,,tagline 89-89 d,#1d2824,,tagline -== snap edited grid=90x15 cursor=7,4 -|2: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del -|3: 1 // café λ 界 -|4: 2 const greeting = "café λ 界 é"; -|5: 3 -|6: 4 pub fn choose(ok: bool) u32 { -|7: 5 if (ok) return 42; -|8: 6 return 7; -|9: 7 } -|10: ~ +== snap edited grid=90x15 cursor=7,3 +|1: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del +|2: 1 // café λ 界 +|3: 2 const greeting = "café λ 界 é"; +|4: 3 +|5: 4 pub fn choose(ok: bool) u32 { +|6: 5 if (ok) return 42; +|7: 6 return 7; +|8: 7 } +|9: ~ |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 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 -|4: 2 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: 3 -@5: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body -|6: 4 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: 5 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: 6 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: 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 +== 9p edited grid=90x15 cursor=7,3,block +|1: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del +@1: 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 +|2: 1 // café λ 界 ++2: 13="é" 15="λ" 17="界" 18="" +@2: 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 +|3: 2 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: 3 +@4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body +|5: 4 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: 5 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: 6 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: 7 } +@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 |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, +|1: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-28 #becfc4,#314738, 29-37 #dfbce5,#314738, 38-89 #becfc4,#314738, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #b9f480,#0d1410, 18-18 d,d, 19-89 d,#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, == style resized grid=105x20 |0: 0-1 d,#1d2824, 2-104 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-104 #becfc4,#314738, -|2: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-28 #becfc4,#314738, 29-37 #dfbce5,#314738, 38-104 #becfc4,#314738, -|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #b9f480,#0d1410, 18-18 d,d, 19-104 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-104 #e5eee5,#0d1410, -|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-104 #59675c,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-104 #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-104 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-104 #e5eee5,#0d1410, -|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-104 #e5eee5,#0d1410, -|10: 0-0 d,#608269, 1-4 d,#0d1410, 5-104 #59675c,#0d1410, +|1: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-28 #becfc4,#314738, 29-37 #dfbce5,#314738, 38-104 #becfc4,#314738, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-17 #b9f480,#0d1410, 18-18 d,d, 19-104 d,#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-104 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-104 #59675c,#0d1410, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#0d1410, 11-13 #c9a7ed,#0d1410, 14-104 #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-104 #e5eee5,#0d1410, +|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-10 #59675c,#0d1410, 11-17 #c9a7ed,#0d1410, 18-18 #f8c082,#0d1410, 19-104 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-104 #e5eee5,#0d1410, +|9: 0-0 d,#608269, 1-4 d,#0d1410, 5-104 #59675c,#0d1410, +|10: 0-0 d,#608269, 1-104 d,#0d1410, |11: 0-0 d,#608269, 1-104 d,#0d1410, |12: 0-0 d,#608269, 1-104 d,#0d1410, |13: 0-0 d,#608269, 1-104 d,#0d1410, @@ -127,30 +127,30 @@ |17: 0-0 d,#608269, 1-104 d,#0d1410, |18: 0-0 d,#608269, 1-104 d,#0d1410, |19: 0-1 d,#1d2824, 2-104 #b2c3b8,#1d2824, -== 9p resized grid=105x20 cursor=7,4,block -|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -@0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline -|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 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 -|4: 2 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-104 d,#0d1410,,body -|5: 3 -@5: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body -|6: 4 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-104 d,#0d1410,,body -|7: 5 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-104 d,#0d1410,,body -|8: 6 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-104 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-104 d,#0d1410,,body -|10: ~ +== 9p resized grid=105x20 cursor=7,3,block +|0: New Term Find Grep Newcol Help Exit +@0: 0-10 #b2c3b8,#1d2824,,tagline 11-11 d,#1d2824,,tagline 12-103 #b2c3b8,#1d2824,,tagline 104-104 d,#1d2824,,tagline +|1: */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del +@1: 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 +|2: 1 // café λ 界 ++2: 13="é" 15="λ" 17="界" 18="" +@2: 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 +|3: 2 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-104 d,#0d1410,,body +|4: 3 +@4: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body +|5: 4 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-104 d,#0d1410,,body +|6: 5 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-104 d,#0d1410,,body +|7: 6 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-104 d,#0d1410,,body +|8: 7 } +@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-7 #e5eee5,#0d1410,,body 8-104 d,#0d1410,,body +|9: ~ +@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body +|10: @10: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |11: @11: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body @@ -170,9 +170,8 @@ @18: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body |19: /tmp/pardes-snap/ninep/cwd/demo.zig:2 @19: 0-1 d,#1d2824,,tagline 2-103 #b2c3b8,#1d2824,,tagline 104-104 d,#1d2824,,tagline -== snap resized grid=105x20 cursor=7,4 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap resized grid=105x20 cursor=7,3 +| New Term Find Grep Newcol Help Exit | */tmp/pardes-snap/ninep/cwd/demo.zig Save Undo Del | 1 // café λ 界 | 2 const greeting = "café λ 界 é"; @@ -190,5 +189,6 @@ | | | +| | /tmp/pardes-snap/ninep/cwd/demo.zig:2 -== 9p unchanged grid=105x20 cursor=7,4,block +== 9p unchanged grid=105x20 cursor=7,3,block diff --git a/test/snapshots/pagercolor.golden b/test/snapshots/pagercolor.golden index 95ee78bb..5b451599 100644 --- a/test/snapshots/pagercolor.golden +++ b/test/snapshots/pagercolor.golden @@ -1,6 +1,5 @@ -== 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 +== snap pager grid=100x50 cursor=4,4 +| New Term Find Grep Newcol Help Exit |$ /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,6 +31,7 @@ | | | +| | /tmp/pardes-snap/pagercolor/cwd/+New Del | 1 | @@ -51,11 +51,11 @@ | /tmp/pardes-snap/pagercolor/cwd == style pager-colours grid=100x50 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-37 #becfc4,#314738, 38-99 #dfbce5,#314738, +|1: 0-1 #000000,#add38a, 2-37 #becfc4,#314738, 38-99 #dfbce5,#314738, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |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, +|5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, |7: 0-0 d,#608269, 1-99 d,#0d1410, |8: 0-0 d,#608269, 1-99 d,#0d1410, @@ -100,11 +100,11 @@ |47: 0-0 d,#608269, 1-99 d,#0d1410, |48: 0-0 d,#608269, 1-99 d,#0d1410, |49: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -== snap pager-diff grid=100x50 cursor=4,8 -|5: $ printf '\033[33mcommit 0123\033[33mabc\033[m\n\033[1mdiff --git a/x b/x\033[m\n\033[1m--- a/x\03 -|6: 3[m\n\033[1m+++ b/x\033[m\n\033[36m@@ -1 +1 @@\033[m\n\033[31m-old\033[m\n\033[32m+new\033[m\n' | -|7: $(readlink /proc/$PPID/exe) - -|8: $ +== snap pager-diff grid=100x50 cursor=4,7 +|4: $ printf '\033[33mcommit 0123\033[33mabc\033[m\n\033[1mdiff --git a/x b/x\033[m\n\033[1m--- a/x\03 +|5: 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' | +|6: $(readlink /proc/$PPID/exe) - +|7: $ |33: /tmp/pardes-snap/pagercolor/cwd/+Diff-0123abc Diff Del |34: commit 0123abc |35: x:1 @@ -115,9 +115,9 @@ |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 +|5: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |6: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |33: 0-1 d,#496656, 2-33 #b2c3b8,#1d2824, 34-47 #d3b0d9,#1d2824, 48-99 #b2c3b8,#1d2824, |34: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |35: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #59675c,#0d1410, diff --git a/test/snapshots/pipe.golden b/test/snapshots/pipe.golden index 70b4bc95..ff3092d8 100644 --- a/test/snapshots/pipe.golden +++ b/test/snapshots/pipe.golden @@ -1,6 +1,5 @@ -== snap prompt grid=180x13 cursor=14,2 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap prompt grid=180x13 cursor=14,1 +| New Term Find Grep Newcol Help Exit |^ | tr a-z A-Z = Exec Edit |tr a-z A-Z 1 line → 1 · exit 0 ⏎ replace · C-r history · esc | 1 alpha beta | ALPHA BETA @@ -11,12 +10,13 @@ | | | +| | /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 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 Redo Del -|3: 1 alpha beta +== snap filtered grid=180x13 cursor=17,2 +|1: *Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Save Undo Del +|2: 1 ALPHA BETA +|3: 2 gamma delta +|4: +== snap undone grid=180x13 cursor=17,2 +|1: Edit |tr a-z A-Z › /tmp/pardes-snap/pipe/cwd/pipe.txt Redo Del +|2: 1 alpha beta diff --git a/test/snapshots/psearch.golden b/test/snapshots/psearch.golden index 66f58947..60141c16 100644 --- a/test/snapshots/psearch.golden +++ b/test/snapshots/psearch.golden @@ -1,6 +1,5 @@ -== 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 +== snap output grid=140x31 cursor=4,8 +| New Term Find Grep Newcol Help Exit | /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 @@ -29,29 +28,30 @@ | | | +| | /tmp/pardes-snap/psearch/cwd -== snap typing grid=140x31 cursor=139,3 -|3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' /MARK -== snap results grid=140x31 cursor=7,4 -|3: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' -|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 -|25: 4 x MARK b -|26: 5 @p1:6:3-6 -|27: 6 x MARK c -|28: ~ +== snap typing grid=140x31 cursor=139,2 +|2: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' /MARK +== snap results grid=140x31 cursor=7,3 +|2: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' +|20: /tmp/pardes-snap/psearch/cwd/+Search Del +|21: 1 @p1:2:3-6 +|22: 2 x MARK a +|23: 3 @p1:4:3-6 +|24: 4 x MARK b +|25: 5 @p1:6:3-6 +|26: 6 x MARK c +|27: ~ == 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-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, +|1: 0-1 d,#add38a, 2-34 #becfc4,#314738, 35-139 #dfbce5,#314738, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-3 #e5eee5,#0d1410, 4-7 #f5f7ee,#3c614a, 8-8 #f5f7ee,#0d1410, 9-139 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, |6: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, |7: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, -|8: 0-0 d,#608269, 1-1 d,#0d1410, 2-139 #e5eee5,#0d1410, +|8: 0-0 d,#608269, 1-139 d,#0d1410, |9: 0-0 d,#608269, 1-139 d,#0d1410, |10: 0-0 d,#608269, 1-139 d,#0d1410, |11: 0-0 d,#608269, 1-139 d,#0d1410, @@ -63,29 +63,29 @@ |17: 0-0 d,#608269, 1-139 d,#0d1410, |18: 0-0 d,#608269, 1-139 d,#0d1410, |19: 0-0 d,#608269, 1-139 d,#0d1410, -|20: 0-0 d,#608269, 1-139 d,#0d1410, -|21: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-38 #d3b0d9,#1d2824, 39-139 #b2c3b8,#1d2824, -|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, -|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, -|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, -|25: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, -|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, -|27: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, -|28: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, +|20: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-38 #d3b0d9,#1d2824, 39-139 #b2c3b8,#1d2824, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, +|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, +|23: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, +|24: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, +|25: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, +|26: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-8 #e5eee5,#0d1410, 9-12 #f7e4a5,#5e4923, 13-13 #f7e4a5,#0d1410, 14-139 #e5eee5,#0d1410, +|27: 0-0 d,#608269, 1-4 d,#0d1410, 5-139 #59675c,#0d1410, +|28: 0-0 d,#608269, 1-139 d,#0d1410, |29: 0-0 d,#608269, 1-139 d,#0d1410, |30: 0-1 d,#1d2824, 2-139 #b2c3b8,#1d2824, -== snap second grid=140x31 cursor=7,6 -== snap back grid=140x31 cursor=7,4 -== snap nomatch grid=140x31 cursor=7,24 -|10: /tmp/pardes-snap/psearch/cwd/+Search Del -|11: 1 +== snap second grid=140x31 cursor=7,5 +== snap back grid=140x31 cursor=7,3 +== snap nomatch grid=140x31 cursor=7,23 +|9: /tmp/pardes-snap/psearch/cwd/+Search Del +|10: 1 |30: /tmp/pardes-snap/psearch/cwd/+Search:3 -== snap ttyinert grid=140x31 cursor=4,9 -|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: $ +== snap ttyinert grid=140x31 cursor=4,8 +|1: $ /tmp/pardes-snap/psearch/cwd Del Term+bash +|2: $ printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' +|8: $ |30: /tmp/pardes-snap/psearch/cwd -== snap rightsearch grid=140x31 cursor=7,6 -|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: +== snap rightsearch grid=140x31 cursor=7,5 +|1: /tmp/pardes-snap/psearch/cwd Del Term+bash +|2: printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' +|8: diff --git a/test/snapshots/reflow.golden b/test/snapshots/reflow.golden index b5b3d1fa..0c22fa0c 100644 --- a/test/snapshots/reflow.golden +++ b/test/snapshots/reflow.golden @@ -1,6 +1,5 @@ -== 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 +== snap widened grid=200x25 cursor=4,15 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/reflow/cwd Del Term+bash | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy @@ -23,4 +22,5 @@ | | | +| | /tmp/pardes-snap/reflow/cwd diff --git a/test/snapshots/respawn.golden b/test/snapshots/respawn.golden index 7810ac32..7f7f0283 100644 --- a/test/snapshots/respawn.golden +++ b/test/snapshots/respawn.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/respawn/cwd Del Term+bash /tmp/pardes-snap/respawn/cwd Del Term+bash | ls ls | diff --git a/test/snapshots/restore.golden b/test/snapshots/restore.golden index 9a757be9..957ca369 100644 --- a/test/snapshots/restore.golden +++ b/test/snapshots/restore.golden @@ -1,6 +1,5 @@ -== 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 +== snap dumped grid=100x31 cursor=4,5 +| New Term Find Grep Newcol Help Exit Restore /tmp/pardes-snap/restore/dump.zon Dump |$ /tmp/pardes-snap/restore/cwd Del Term+bash | $ ls | $ echo KEEP''ME @@ -29,7 +28,8 @@ | | | +| | ✓ @p1 Dump 1 message · SPC h m -== snap restored grid=100x31 cursor=4,8 -|7: ── restored history ── -|8: $ +== snap restored grid=100x31 cursor=4,7 +|6: ── restored history ── +|7: $ diff --git a/test/snapshots/savepane.golden b/test/snapshots/savepane.golden index 7b0008e4..dd85dd1b 100644 --- a/test/snapshots/savepane.golden +++ b/test/snapshots/savepane.golden @@ -1,6 +1,5 @@ == 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 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/savepane/cwd Del Term+bash | ls | @@ -15,6 +14,7 @@ | | | +| | */tmp/pardes-snap/savepane/cwd/+New Undo Del | 1 scratch bytes | diff --git a/test/snapshots/scroll.golden b/test/snapshots/scroll.golden index c3acb2bc..a67e0cbf 100644 --- a/test/snapshots/scroll.golden +++ b/test/snapshots/scroll.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/scroll/cwd Del Term+bash /tmp/pardes-snap/scroll/cwd Del Term+bash | 189 ls | 190 s.txt @@ -87,7 +87,7 @@ |14: 193 |15: 194 == style wheel-down grid=100x31 -|0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, +|0: 0-71 d,#1d2824, 72-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-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, diff --git a/test/snapshots/scrolloff.golden b/test/snapshots/scrolloff.golden index a4e1a468..1465679b 100644 --- a/test/snapshots/scrolloff.golden +++ b/test/snapshots/scrolloff.golden @@ -1,6 +1,5 @@ -== 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 +== snap top grid=210x16 cursor=7,6 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/scrolloff/cwd Del Term+bash | ls | g.txt @@ -14,18 +13,12 @@ | 6 line 6 | 7 line 7 | 8 line 8 +| 9 line 9 | /tmp/pardes-snap/scrolloff/cwd/g.txt:1 == snap edge grid=210x16 cursor=7,11 -|7: 2 line 2 -|8: 3 line 3 -|9: 4 line 4 -|10: 5 line 5 -|11: 6 line 6 -|12: 7 line 7 -|13: 8 line 8 -|14: 9 line 9 |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:6 == snap scrolled1 grid=210x16 cursor=7,11 +|6: 2 line 2 |7: 3 line 3 |8: 4 line 4 |9: 5 line 5 @@ -36,6 +29,7 @@ |14: 10 line 10 |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:7 == snap jdown grid=210x16 cursor=7,11 +|6: 6 line 6 |7: 7 line 7 |8: 8 line 8 |9: 9 line 9 @@ -46,6 +40,7 @@ |14: 14 line 14 |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:11 == snap end grid=210x16 cursor=7,13 +|6: 33 line 33 |7: 34 line 34 |8: 35 line 35 |9: 36 line 36 @@ -55,23 +50,25 @@ |13: 40 line 40 |14: ~ |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:40 -== snap kup grid=210x16 cursor=7,10 -|7: 29 line 29 -|8: 30 line 30 -|9: 31 line 31 -|10: 32 line 32 -|11: 33 line 33 -|12: 34 line 34 -|13: 35 line 35 -|14: 36 line 36 +== snap kup grid=210x16 cursor=7,9 +|6: 29 line 29 +|7: 30 line 30 +|8: 31 line 31 +|9: 32 line 32 +|10: 33 line 33 +|11: 34 line 34 +|12: 35 line 35 +|13: 36 line 36 +|14: 37 line 37 |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:32 -== snap top2 grid=210x16 cursor=7,7 -|7: 1 line 1 -|8: 2 line 2 -|9: 3 line 3 -|10: 4 line 4 -|11: 5 line 5 -|12: 6 line 6 -|13: 7 line 7 -|14: 8 line 8 +== snap top2 grid=210x16 cursor=7,6 +|6: 1 line 1 +|7: 2 line 2 +|8: 3 line 3 +|9: 4 line 4 +|10: 5 line 5 +|11: 6 line 6 +|12: 7 line 7 +|13: 8 line 8 +|14: 9 line 9 |15: /tmp/pardes-snap/scrolloff/cwd/g.txt:1 diff --git a/test/snapshots/selarg.golden b/test/snapshots/selarg.golden index 96cb061e..9ebacb76 100644 --- a/test/snapshots/selarg.golden +++ b/test/snapshots/selarg.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/selarg/cwd Del Term+bash /tmp/pardes-snap/selarg/cwd Del Term+bash | ZZARG ZZVEE ./c.sh | diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden index e24e512c..89177e4f 100644 --- a/test/snapshots/selregex.golden +++ b/test/snapshots/selregex.golden @@ -1,6 +1,5 @@ -== snap prompt-armed grid=160x25 cursor=4,2 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap prompt-armed grid=160x25 cursor=4,1 +| New Term Find Grep Newcol Help Exit |^ s ⏎ select · M-⏎ as a list · C-r history · esc | 1┃const one = 1; | 2┃const two = 2; @@ -23,18 +22,19 @@ | | | +| | /tmp/pardes-snap/selregex/cwd/m.zig:3 -== snap preview grid=160x25 cursor=9,2 -|2: ^ s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc +== snap preview grid=160x25 cursor=9,1 +|1: ^ s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc |24: /tmp/pardes-snap/selregex/cwd/m.zig:1 == style preview grid=160x25 |0: 0-1 d,#1d2824, 2-159 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-159 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#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-5 #59675c,#0d1410, 6-6 #add38a,#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, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-159 #59675c,#0d1410, +|1: 0-1 #000000,#add38a, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#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, +|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#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, +|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-159 #59675c,#0d1410, +|6: 0-0 d,#608269, 1-159 d,#0d1410, |7: 0-0 d,#608269, 1-159 d,#0d1410, |8: 0-0 d,#608269, 1-159 d,#0d1410, |9: 0-0 d,#608269, 1-159 d,#0d1410, @@ -53,43 +53,43 @@ |22: 0-0 d,#608269, 1-159 d,#0d1410, |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 Del -|3: 1 const one = 1; -|4: 2 const two = 2; -|5: 3 const three = 3; +== snap three-selected grid=160x25 cursor=11,2 +|1: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +|2: 1 const one = 1; +|3: 2 const two = 2; +|4: 3 const three = 3; == style three-selected grid=160x25 -|2: 0-1 d,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #dfbce5,#2c2c0f, 54-159 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, -|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 narrowed grid=160x25 cursor=21,2 -|2: ^ Edit x/const/ › s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc -|3: 1┃const one = 1; -|4: 2┃const two = 2; -|5: 3┃const three = 3; +|1: 0-1 d,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #dfbce5,#2c2c0f, 54-159 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|3: 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, +|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-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, +== snap narrowed grid=160x25 cursor=21,1 +|1: ^ Edit x/const/ › s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc +|2: 1┃const one = 1; +|3: 2┃const two = 2; +|4: 3┃const three = 3; == style narrowed grid=160x25 -|2: 0-1 #000000,#add38a, 2-17 #becfc4,#2c2c0f, 18-18 #bada9d,#2c2c0f,b 19-19 #bada9d,#2c2c0f, 20-22 #becfc4,#2c2c0f, 23-29 #79836f,#2c2c0f, 30-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, -|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 Del -|3: 1 const one = 1; -|4: 2 const two = 2; -|5: 3 const three = 3; +|1: 0-1 #000000,#add38a, 2-17 #becfc4,#2c2c0f, 18-18 #bada9d,#2c2c0f,b 19-19 #bada9d,#2c2c0f, 20-22 #becfc4,#2c2c0f, 23-29 #79836f,#2c2c0f, 30-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|3: 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, +|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-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, +== snap esc-restores grid=160x25 cursor=11,2 +|1: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +|2: 1 const one = 1; +|3: 2 const two = 2; +|4: 3 const three = 3; == style esc-restores grid=160x25 -|2: 0-1 d,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #dfbce5,#2c2c0f, 54-159 #becfc4,#2c2c0f, -|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, -|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 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 Undo Del -|3: 1 const one = 1; -|4: 2 const two = 2; -|5: 3 const three = 3; +|1: 0-1 d,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #dfbce5,#2c2c0f, 54-159 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|3: 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, +|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-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, +== snap commented grid=160x25 cursor=14,2 +|1: *Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Save Undo Del +|2: 1 // const one = 1; +|3: 2 // const two = 2; +|4: 3 // const three = 3; +== snap uncommented grid=160x25 cursor=11,2 +|1: Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Undo Del +|2: 1 const one = 1; +|3: 2 const two = 2; +|4: 3 const three = 3; diff --git a/test/snapshots/shellset.golden b/test/snapshots/shellset.golden index 77e6c7a8..59a75db0 100644 --- a/test/snapshots/shellset.golden +++ b/test/snapshots/shellset.golden @@ -1,6 +1,5 @@ -== 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 +== snap boot grid=90x21 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/shellset/cwd/cmd.txt Keep Del | 1 Shell zznosuchshell | @@ -19,12 +18,14 @@ | | | +| | /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 Del +== snap builtin-ran grid=90x21 cursor=25,2 +|1: ✗/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,5 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|0: Find Grep Newcol Help Exit +|1: New Term Joincol Delcol New Term Joincol Delcol |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 2acc21ce..c1ef222b 100644 --- a/test/snapshots/shrinktag.golden +++ b/test/snapshots/shrinktag.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/shrinktag/cwd Del Term+bash /tmp/pardes-snap/shrinktag/cwd Del Term+bash | ls ls | w.txt w.txt diff --git a/test/snapshots/stepgrain.golden b/test/snapshots/stepgrain.golden index 67d2dfc7..9b99b011 100644 --- a/test/snapshots/stepgrain.golden +++ b/test/snapshots/stepgrain.golden @@ -1,6 +1,5 @@ == 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 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/stepgrain/cwd/a.txt Del | 1 hello ZQMARK one | 2 see also sub/b.txt for ZQMARK two @@ -10,6 +9,7 @@ | | | +| |^ +Search 1/3 Del | Grep ZQMARK | a.txt @@ -34,13 +34,13 @@ |11: ^ +Search 2/3 Del == style step-row2 grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-149 #becfc4,#314738, -|2: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-38 #d3b0d9,#1d2824, 39-149 #b2c3b8,#1d2824, -|3: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-12 #e5eee5,#0d1410, 13-18 #e5eee5,#5e4923, 19-149 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-29 #e5eee5,#0d1410, 30-35 #f5f7ee,#3c614a, 36-36 #f5f7ee,#0d1410, 37-149 #e5eee5,#0d1410, +|1: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-38 #d3b0d9,#1d2824, 39-149 #b2c3b8,#1d2824, +|2: 0-0 d,#5e4923, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-12 #e5eee5,#0d1410, 13-18 #e5eee5,#5e4923, 19-149 #e5eee5,#0d1410, +|3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-29 #e5eee5,#0d1410, 30-35 #f5f7ee,#3c614a, 36-36 #f5f7ee,#0d1410, 37-149 #e5eee5,#0d1410, +|4: 0-0 d,#608269, 1-149 d,#0d1410, |5: 0-0 d,#608269, 1-149 d,#0d1410, -|6: 0-0 d,#608269, 1-149 d,#0d1410, -|7: 0-0 d,#e5eee5, 1-149 d,#0d1410, +|6: 0-0 d,#e5eee5, 1-149 d,#0d1410, +|7: 0-0 d,#608269, 1-149 d,#0d1410, |8: 0-0 d,#608269, 1-149 d,#0d1410, |9: 0-0 d,#608269, 1-149 d,#0d1410, |10: 0-0 d,#608269, 1-149 d,#0d1410, @@ -82,9 +82,9 @@ |22: 1 |30: ✓ /tmp/pardes-snap/stepgrain/cwd/a.txt Find 2 messages · SPC h m == style blank-in-path grid=150x31 +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-149 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-149 d,#0d1410, +|6: 0-0 d,#608269, 1-149 d,#0d1410, |13: 0-0 d,#608269, 1-1 d,#0d1410, 2-5 #e5eee5,#243a2d, 6-10 #f7e4a5,#5e4923,b 11-149 #e5eee5,#243a2d, |14: 0-0 d,#608269, 1-149 d,#0d1410, |15: 0-0 d,#608269, 1-149 d,#0d1410, diff --git a/test/snapshots/syntax.golden b/test/snapshots/syntax.golden index da84342c..73cef4a3 100644 --- a/test/snapshots/syntax.golden +++ b/test/snapshots/syntax.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/syntax/cwd Del Term+bash /tmp/pardes-snap/syntax/cwd Del Term+bash | ls ls | demo.zig demo.zig @@ -31,7 +31,7 @@ | | · @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, +|0: 0-121 d,#1d2824, 122-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-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, diff --git a/test/snapshots/tag.golden b/test/snapshots/tag.golden index e45fa7ac..be511e37 100644 --- a/test/snapshots/tag.golden +++ b/test/snapshots/tag.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/tag/cwd Del Term+bash /tmp/pardes-snap/tag/cwd Del Term+bash | ls ls | t.txt t.txt diff --git a/test/snapshots/tagalign.golden b/test/snapshots/tagalign.golden index 112c745f..21b6a58c 100644 --- a/test/snapshots/tagalign.golden +++ b/test/snapshots/tagalign.golden @@ -1,6 +1,5 @@ -== 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 +== snap aligned grid=100x31 cursor=4,8 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta @@ -29,10 +28,10 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd -== 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 +== snap fits grid=87x31 cursor=4,8 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta @@ -61,10 +60,10 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd -== 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 +== snap overby1 grid=86x31 cursor=4,8 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta @@ -93,10 +92,10 @@ | | | +| | /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 +== snap clicked grid=100x31 cursor=11,1 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt Keep Del | 1 alpha | 2 beta @@ -125,10 +124,10 @@ | | | +| | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document.txt:1 -== snap revealed grid=70x31 cursor=16,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His -| New Term Find Grep Joincol Delcol +== snap revealed grid=70x31 cursor=16,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagalign/cwd/deep/nested-project-directory/document | .txt Keep Del | 1 alpha @@ -157,13 +156,14 @@ | | | +| | · …document.txt name drafted: Enter renames t… 1 message · SPC h m -== snap alone grid=70x31 cursor=4,5 -|2: /tmp/pardes-snap/tagalign/cwd Del Term+bash -|3: ls -|4: deep +== snap alone grid=70x31 cursor=4,4 +|1: /tmp/pardes-snap/tagalign/cwd Del Term+bash +|2: ls +|3: deep +|4: |5: |6: |7: -|8: |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 25ee313c..2857e7b0 100644 --- a/test/snapshots/tagalign2col.golden +++ b/test/snapshots/tagalign2col.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 @@ -35,7 +35,7 @@ |7: ls |8: deep == snap widened grid=160x31 cursor=4,9 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|1: New Term Joincol Delcol New Term Joincol Delcol |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 425a54db..aa14e0e0 100644 --- a/test/snapshots/tagcmd.golden +++ b/test/snapshots/tagcmd.golden @@ -1,6 +1,5 @@ -== 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 +== snap edited grid=100x31 cursor=13,2 +| New Term Find Grep Newcol Help Exit | */tmp/pardes-snap/tagcmd/cwd/c.txt Save Undo Del | 1 ZZEDITline 1 | 2 line 2 @@ -29,11 +28,12 @@ | | | +| | /tmp/pardes-snap/tagcmd/cwd/c.txt:1 -== 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 Undo Del +== snap colon grid=100x31 cursor=50,1 +== snap word grid=100x31 cursor=40,1 +== snap saved grid=100x31 cursor=13,2 +|1: /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 @@ -44,4 +44,4 @@ line 5 line 6 == end file -== snap escaped grid=100x31 cursor=13,3 +== snap escaped grid=100x31 cursor=13,2 diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index eebfb8a8..0b71d5a6 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/tagnav/cwd/w.txt Del /tmp/pardes-snap/tagnav/cwd Del Term+bash | 1 alpha ls | 2 beta w.txt @@ -46,52 +46,23 @@ |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 5 messages · SPC h m == snap tty-tag grid=100x31 cursor=84,2 == snap tty-restored grid=100x31 cursor=54,5 -== snap column-tag grid=100x31 cursor=2,1 +== snap column-tag grid=100x31 cursor=26,1 |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 +== snap column-word grid=100x31 cursor=19,1 +== snap workspace-tag grid=100x31 cursor=99,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-dollar grid=100x31 cursor=98,0 +|0: Find Grep Newcol Help Exit Dump +== snap topbar-dump-word grid=100x31 cursor=95,0 == 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 +|0: Find Grep Newcol Help Exit Restore /tmp/pardes-snap/tagnav/dump.zon Dump +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Dump 10 messages · SPC h m +== snap topbar-restore-word grid=100x31 cursor=54,0 |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 12 messages · SPC h m == 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 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 +|6: /tmp/pardes-snap/tagnav/cwd Del Term+bash ── restored history ── +|10: ── restored history ── +|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Dump 10 messages · SPC h m diff --git a/test/snapshots/tagpath.golden b/test/snapshots/tagpath.golden index 8ab13a64..b0ba9010 100644 --- a/test/snapshots/tagpath.golden +++ b/test/snapshots/tagpath.golden @@ -1,6 +1,5 @@ -== 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 +== snap start grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/tagpath/cwd/c.txt Keep Del | 1 line 1 | 2 line 2 @@ -29,19 +28,20 @@ | | | +| | /tmp/pardes-snap/tagpath/cwd/c.txt:1 -== snap colon grid=100x31 cursor=46,2 -== snap col0 grid=100x31 cursor=2,2 -== snap sel-path grid=100x31 cursor=35,2 +== snap colon grid=100x31 cursor=46,1 +== snap col0 grid=100x31 cursor=2,1 +== snap sel-path grid=100x31 cursor=35,1 == style sel-path 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-35 #f5f7ee,#3c614a, 36-36 #f5f7ee,#2c2c0f, 37-99 #becfc4,#2c2c0f, +|1: 0-1 d,#add38a, 2-35 #f5f7ee,#3c614a, 36-36 #f5f7ee,#2c2c0f, 37-99 #becfc4,#2c2c0f, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|7: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|7: 0-0 d,#608269, 1-99 d,#0d1410, |8: 0-0 d,#608269, 1-99 d,#0d1410, |9: 0-0 d,#608269, 1-99 d,#0d1410, |10: 0-0 d,#608269, 1-99 d,#0d1410, @@ -65,18 +65,18 @@ |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 yanked-path grid=100x31 cursor=41,3 -|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 +== snap yanked-path grid=100x31 cursor=41,2 +|1: */tmp/pardes-snap/tagpath/cwd/c.txt Save Undo Del +|2: 1 l/tmp/pardes-snap/tagpath/cwd/c.txtine 1 +== snap drag-cross grid=100x31 cursor=41,1 == 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 Undo Del +|1: 0-0 d,#add38a, 1-1 #000000,#f9cb70,b 2-10 #becfc4,#314738, 11-41 #f5f7ee,#3c614a, 42-99 #becfc4,#314738, +|2: 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,1 +|1: */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 Undo Del +== snap name-cancelled grid=100x31 cursor=41,2 +|1: */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 Undo Del +== snap name-committed grid=100x31 cursor=41,2 +|1: */renamed/tmp/pardes-snap/tagpath/cwd/c.txt Save Undo Del diff --git a/test/snapshots/theme.golden b/test/snapshots/theme.golden index 74f79d28..deec1985 100644 --- a/test/snapshots/theme.golden +++ b/test/snapshots/theme.golden @@ -1,6 +1,6 @@ -== 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 +== snap orchard grid=100x31 cursor=98,0 +| Find Grep Newcol Help Exit NextColor +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/theme/cwd Del Term+bash /tmp/pardes-snap/theme/cwd Del Term+bash | ls ls | t.txt t.txt @@ -31,7 +31,7 @@ | | /tmp/pardes-snap/theme/cwd == style orchard grid=100x31 -|0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, +|0: 0-61 d,#1d2824, 62-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-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, @@ -65,7 +65,7 @@ == 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, +|0: 0-61 d,#2c2630, 62-88 #c6b6c5,#2c2630, 89-97 #fff0eb,#654053, 98-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-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, @@ -99,7 +99,7 @@ == 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, +|0: 0-61 d,#15212c, 62-88 #d5e4f1,#15212c, 89-97 #ffffff,#1b547c, 98-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-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, @@ -133,7 +133,7 @@ == 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, +|0: 0-61 d,#e8eae3, 62-88 #52625a,#e8eae3, 89-97 #203e31,#c5e2d0, 98-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-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, @@ -167,7 +167,7 @@ == 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, +|0: 0-61 d,#edf2f7, 62-88 #29465e,#edf2f7, 89-97 #10364f,#b9dffb, 98-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-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, @@ -201,7 +201,7 @@ == 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, +|0: 0-61 d,#e4f0ed, 62-88 #3d6055,#e4f0ed, 89-97 #35492d,#edf2a5, 98-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-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, @@ -235,7 +235,7 @@ == 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, +|0: 0-61 d,#22252b, 62-88 #c5c9d2,#22252b, 89-97 #e2eef4,#1c5172, 98-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-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, @@ -269,7 +269,7 @@ == 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, +|0: 0-61 d,#29443f, 62-88 #bbd7cb,#29443f, 89-97 #e6f2f3,#325f6c, 98-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-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, @@ -303,7 +303,7 @@ == 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, +|0: 0-61 d,#123f43, 62-88 #c7d4bd,#123f43, 89-97 #eee8d5,#1f5c64, 98-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-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, @@ -337,7 +337,7 @@ == 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, +|0: 0-61 d,#3b3830, 62-88 #ddd8bb,#3b3830, 89-97 #fcfcfa,#513f60, 98-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-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, @@ -371,7 +371,7 @@ == 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, +|0: 0-61 d,#343b2e, 62-88 #d5d8b8,#343b2e, 89-97 #f3f2cc,#4f5834, 98-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-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, @@ -405,7 +405,7 @@ == 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, +|0: 0-61 d,#343f36, 62-88 #d7d6b6,#343f36, 89-97 #fbf1c7,#505c38, 98-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-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, @@ -439,7 +439,7 @@ == 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, +|0: 0-61 d,#22252b, 62-88 #c5c9d2,#22252b, 89-97 #e2eef4,#1c5172, 98-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-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, @@ -473,7 +473,7 @@ == 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, +|0: 0-61 d,#2a2d34, 62-88 #c5c9d2,#2a2d34, 89-97 #e2eef4,#1c5172, 98-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-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, @@ -507,7 +507,7 @@ == 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, +|0: 0-61 d,#1d2824, 62-88 #b2c3b8,#1d2824, 89-97 #f5f7ee,#3c614a, 98-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-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, @@ -541,7 +541,7 @@ == 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, +|0: 0-61 d,#eaffff, 62-88 #000000,#eaffff, 89-97 #000000,#9eeeee, 98-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-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, @@ -575,7 +575,7 @@ == 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, +|0: 0-61 d,#0f1a4a, 62-88 #9aa6d9,#0f1a4a, 89-97 #0f1a4a,#e8c46a, 98-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-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, @@ -609,7 +609,7 @@ == 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, +|0: 0-61 d,#007acc, 62-88 #ffffff,#007acc, 89-97 #d4d4d4,#264f78, 98-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-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, @@ -643,7 +643,7 @@ == 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, +|0: 0-61 d,#657b83, 62-88 #01090b,#657b83, 89-97 #002b36,#586e75, 98-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-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, diff --git a/test/snapshots/themesel.golden b/test/snapshots/themesel.golden index ea298fec..2bd9999f 100644 --- a/test/snapshots/themesel.golden +++ b/test/snapshots/themesel.golden @@ -1,6 +1,5 @@ -== 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 +== snap boot grid=100x31 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/themesel/cwd/t.txt Del | 1 line 1 | 2 line 2 @@ -29,214 +28,216 @@ | 25 line 25 | 26 line 26 | 27 line 27 +| 28 line 28 | /tmp/pardes-snap/themesel/cwd/t.txt:1 -== snap list grid=100x31 cursor=7,3 -|16: /tmp/pardes-snap/themesel/cwd/+Themes Del -|17: 1 # Pardes themes -|18: 2 Theme orchard -|19: 3 Theme dusk -|20: 4 Theme ink -|21: 5 Theme paper -|22: 6 Theme daybreak -|23: 7 Theme atelier -|24: 8 Theme forge -|25: 9 Theme lagoon -|26: 10 Theme solarium -|27: 11 Theme spectrum -|28: 12 Theme harvest -|29: 13 Theme clay +== snap list grid=100x31 cursor=7,2 +|15: /tmp/pardes-snap/themesel/cwd/+Themes Del +|16: 1 # Pardes themes +|17: 2 Theme orchard +|18: 3 Theme dusk +|19: 4 Theme ink +|20: 5 Theme paper +|21: 6 Theme daybreak +|22: 7 Theme atelier +|23: 8 Theme forge +|24: 9 Theme lagoon +|25: 10 Theme solarium +|26: 11 Theme spectrum +|27: 12 Theme harvest +|28: 13 Theme clay +|29: 14 Theme forge_black |30: ✓ /tmp/pardes-snap/themesel/cwd/t.txt Themes 1 message · SPC h m -== snap step-orchard grid=100x31 cursor=7,18 +== snap step-orchard grid=100x31 cursor=7,17 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 3 messages · SPC h m == style step-orchard grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, +|1: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, +|2: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|6: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|6: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |7: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |8: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |9: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |10: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|11: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|11: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |12: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |13: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |14: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|15: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|16: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, -|17: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|18: 0-0 d,#152019, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, +|15: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, +|16: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|17: 0-0 d,#152019, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-99 #e5eee5,#0d1410, +|18: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |19: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |20: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |21: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |22: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |23: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |24: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, -|25: 0-0 d,#152019, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, +|25: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |26: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |27: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |28: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |29: 0-0 d,#152019, 1-3 d,#0d1410, 4-6 #59675c,#0d1410, 7-99 #e5eee5,#0d1410, |30: 0-1 d,#1d2824, 2-99 #6f7d75,#1d2824, -== snap step-dusk grid=100x31 cursor=7,19 +== snap step-dusk grid=100x31 cursor=7,18 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 5 messages · SPC h m == style step-dusk grid=100x31 |0: 0-1 d,#2c2630, 2-99 #c6b6c5,#2c2630, -|1: 0-1 d,#757a5f, 2-99 #d2c2d1,#533d4d, -|2: 0-1 d,#745469, 2-31 #c6b6c5,#2c2630, 32-37 #96c9b8,#2c2630, 38-99 #c6b6c5,#2c2630, +|1: 0-1 d,#745469, 2-31 #c6b6c5,#2c2630, 32-37 #96c9b8,#2c2630, 38-99 #c6b6c5,#2c2630, +|2: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |3: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |4: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |5: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|6: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|6: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |7: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |8: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |9: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |10: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|11: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|11: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |12: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |13: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |14: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|15: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|16: 0-1 d,#edb092, 2-31 #d2c2d1,#533d4d, 32-39 #a1d5c4,#533d4d, 40-99 #d2c2d1,#533d4d, -|17: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|18: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|19: 0-0 d,#3d3540, 1-1 d,#39323b, 2-4 d,#39323b,b 5-6 #8a7986,#39323b,b 7-99 #c3b6c1,#39323b, +|15: 0-1 d,#edb092, 2-31 #d2c2d1,#533d4d, 32-39 #a1d5c4,#533d4d, 40-99 #d2c2d1,#533d4d, +|16: 0-0 d,#8e667c, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|17: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|18: 0-0 d,#3d3540, 1-1 d,#39323b, 2-4 d,#39323b,b 5-6 #8a7986,#39323b,b 7-99 #c3b6c1,#39323b, +|19: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |20: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |21: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |22: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |23: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |24: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, -|25: 0-0 d,#3d3540, 1-4 d,#39323b, 5-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, +|25: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |26: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |27: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |28: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |29: 0-0 d,#3d3540, 1-3 d,#39323b, 4-6 #82717e,#39323b, 7-99 #c3b6c1,#39323b, |30: 0-1 d,#2c2630, 2-99 #847885,#2c2630, -== snap step-atelier grid=100x31 cursor=7,23 +== snap step-atelier grid=100x31 cursor=7,22 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 7 messages · SPC h m == style step-atelier grid=100x31 |0: 0-1 d,#e4f0ed, 2-99 #3d6055,#e4f0ed, -|1: 0-1 d,#bca481, 2-99 #35584d,#bfdcce, -|2: 0-1 d,#95baa2, 2-31 #3d6055,#e4f0ed, 32-37 #6e4774,#e4f0ed, 38-99 #3d6055,#e4f0ed, +|1: 0-1 d,#95baa2, 2-31 #3d6055,#e4f0ed, 32-37 #6e4774,#e4f0ed, 38-99 #3d6055,#e4f0ed, +|2: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |3: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |4: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |5: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|6: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|6: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |7: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |8: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |9: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |10: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|11: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|11: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |12: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |13: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |14: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|15: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|16: 0-1 d,#36826b, 2-31 #35584d,#bfdcce, 32-39 #653f6b,#bfdcce, 40-99 #35584d,#bfdcce, -|17: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|15: 0-1 d,#36826b, 2-31 #35584d,#bfdcce, 32-39 #653f6b,#bfdcce, 40-99 #35584d,#bfdcce, +|16: 0-0 d,#9fae76, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|17: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |18: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |19: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |20: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |21: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|22: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|23: 0-0 d,#eeeccf, 1-1 d,#fffdeb, 2-4 d,#fffdeb,b 5-6 #889078,#fffdeb,b 7-99 #293f35,#fffdeb, +|22: 0-0 d,#eeeccf, 1-1 d,#fffdeb, 2-4 d,#fffdeb,b 5-6 #889078,#fffdeb,b 7-99 #293f35,#fffdeb, +|23: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |24: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, -|25: 0-0 d,#eeeccf, 1-4 d,#fffdeb, 5-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, +|25: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |26: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |27: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |28: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |29: 0-0 d,#eeeccf, 1-3 d,#fffdeb, 4-6 #909880,#fffdeb, 7-99 #293f35,#fffdeb, |30: 0-1 d,#e4f0ed, 2-99 #66837a,#e4f0ed, -== snap step-forge grid=100x31 cursor=7,24 +== snap step-forge grid=100x31 cursor=7,23 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 9 messages · SPC h m == style step-forge grid=100x31 |0: 0-1 d,#22252b, 2-99 #c5c9d2,#22252b, -|1: 0-1 d,#6a7b67, 2-99 #d1d5de,#374253, -|2: 0-1 d,#55647b, 2-31 #c5c9d2,#22252b, 32-37 #ecbf9b,#22252b, 38-99 #c5c9d2,#22252b, +|1: 0-1 d,#55647b, 2-31 #c5c9d2,#22252b, 32-37 #ecbf9b,#22252b, 38-99 #c5c9d2,#22252b, +|2: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |3: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |4: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |5: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|6: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|6: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |7: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |8: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |9: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |10: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|11: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|11: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |12: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |13: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |14: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|15: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, -|17: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|15: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, +|16: 0-0 d,#708095, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|17: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |18: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |19: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |20: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |21: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |22: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|23: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, -|24: 0-0 d,#1a1c21, 1-1 d,#0c0c0e, 2-4 d,#0c0c0e,b 5-6 #6a6d74,#0c0c0e,b 7-99 #e5e5e5,#0c0c0e, -|25: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|23: 0-0 d,#1a1c21, 1-1 d,#0c0c0e, 2-4 d,#0c0c0e,b 5-6 #6a6d74,#0c0c0e,b 7-99 #e5e5e5,#0c0c0e, +|24: 0-0 d,#1a1c21, 1-4 d,#0c0c0e, 5-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, +|25: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |26: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |27: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |28: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |29: 0-0 d,#1a1c21, 1-3 d,#0c0c0e, 4-6 #62656c,#0c0c0e, 7-99 #e5e5e5,#0c0c0e, |30: 0-1 d,#22252b, 2-99 #767a82,#22252b, -== snap step-lagoon grid=100x31 cursor=7,25 +== snap step-lagoon grid=100x31 cursor=7,24 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 11 messages · SPC h m == style step-lagoon grid=100x31 |0: 0-1 d,#29443f, 2-99 #bbd7cb,#29443f, -|1: 0-1 d,#9a7662, 2-99 #c7e3d7,#3a6154, -|2: 0-1 d,#548372, 2-31 #bbd7cb,#29443f, 32-37 #e4c2ec,#29443f, 38-99 #bbd7cb,#29443f, +|1: 0-1 d,#548372, 2-31 #bbd7cb,#29443f, 32-37 #e4c2ec,#29443f, 38-99 #bbd7cb,#29443f, +|2: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |3: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |4: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |5: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|6: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, +|6: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |7: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |8: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |9: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |10: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|11: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, +|11: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |12: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |13: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |14: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|15: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|16: 0-1 d,#81cfb7, 2-31 #c7e3d7,#3a6154, 32-39 #f0cef8,#3a6154, 40-99 #c7e3d7,#3a6154, -|17: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, +|15: 0-1 d,#81cfb7, 2-31 #c7e3d7,#3a6154, 32-39 #f0cef8,#3a6154, 40-99 #c7e3d7,#3a6154, +|16: 0-0 d,#6e9b8b, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, +|17: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |18: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |19: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |20: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |21: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |22: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |23: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|24: 0-0 d,#3a4c50, 1-4 d,#34464c, 5-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, -|25: 0-0 d,#3a4c50, 1-1 d,#34464c, 2-4 d,#34464c,b 5-6 #83999c,#34464c,b 7-99 #bac9ce,#34464c, +|24: 0-0 d,#3a4c50, 1-1 d,#34464c, 2-4 d,#34464c,b 5-6 #83999c,#34464c,b 7-99 #bac9ce,#34464c, +|25: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |26: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |27: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |28: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |29: 0-0 d,#3a4c50, 1-3 d,#34464c, 4-6 #7b9194,#34464c, 7-99 #bac9ce,#34464c, |30: 0-1 d,#29443f, 2-99 #809c93,#29443f, -== snap step-solarium grid=100x31 cursor=7,26 +== snap step-solarium grid=100x31 cursor=7,25 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 13 messages · SPC h m == style step-solarium grid=100x31 |0: 0-1 d,#123f43, 2-99 #c7d4bd,#123f43, -|1: 0-1 d,#347a9a, 2-99 #d3e0c9,#2f5c5c, -|2: 0-1 d,#467f76, 2-31 #c7d4bd,#123f43, 32-37 #e9c1e0,#123f43, 38-99 #c7d4bd,#123f43, +|1: 0-1 d,#467f76, 2-31 #c7d4bd,#123f43, 32-37 #e9c1e0,#123f43, 38-99 #c7d4bd,#123f43, +|2: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |3: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |4: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |5: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|6: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, +|6: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |7: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |8: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |9: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |10: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|11: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, +|11: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |12: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |13: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |14: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|15: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|16: 0-1 d,#e1c266, 2-31 #d3e0c9,#2f5c5c, 32-39 #f5cdec,#2f5c5c, 40-99 #d3e0c9,#2f5c5c, -|17: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, +|15: 0-1 d,#e1c266, 2-31 #d3e0c9,#2f5c5c, 32-39 #f5cdec,#2f5c5c, 40-99 #d3e0c9,#2f5c5c, +|16: 0-0 d,#65978c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, +|17: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |18: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |19: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |20: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, @@ -244,46 +245,33 @@ |22: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |23: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |24: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|25: 0-0 d,#1c454c, 1-4 d,#173e45, 5-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, -|26: 0-0 d,#1c454c, 1-1 d,#173e45, 2-3 d,#173e45,b 4-6 #6c8684,#173e45,b 7-99 #a7b7ae,#173e45, +|25: 0-0 d,#1c454c, 1-1 d,#173e45, 2-3 d,#173e45,b 4-6 #6c8684,#173e45,b 7-99 #a7b7ae,#173e45, +|26: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |27: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |28: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |29: 0-0 d,#1c454c, 1-3 d,#173e45, 4-6 #647e7c,#173e45, 7-99 #a7b7ae,#173e45, |30: 0-1 d,#123f43, 2-99 #7b9489,#123f43, == snap step-spectrum grid=100x31 cursor=7,26 -|17: 2 Theme orchard -|18: 3 Theme dusk -|19: 4 Theme ink -|20: 5 Theme paper -|21: 6 Theme daybreak -|22: 7 Theme atelier -|23: 8 Theme forge -|24: 9 Theme lagoon -|25: 10 Theme solarium -|26: 11 Theme spectrum -|27: 12 Theme harvest -|28: 13 Theme clay -|29: 14 Theme forge_black |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 15 messages · SPC h m == style step-spectrum grid=100x31 |0: 0-1 d,#3b3830, 2-99 #ddd8bb,#3b3830, -|1: 0-1 d,#706596, 2-99 #e9e4c7,#5a523a, -|2: 0-1 d,#92844f, 2-31 #ddd8bb,#3b3830, 32-37 #c5d7ff,#3b3830, 38-99 #ddd8bb,#3b3830, +|1: 0-1 d,#92844f, 2-31 #ddd8bb,#3b3830, 32-37 #c5d7ff,#3b3830, 38-99 #ddd8bb,#3b3830, +|2: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |3: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |4: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |5: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|6: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, +|6: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |7: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |8: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |9: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |10: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|11: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, +|11: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |12: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |13: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |14: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|15: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, -|16: 0-1 d,#ffd866, 2-31 #e9e4c7,#5a523a, 32-39 #d7e3ff,#5a523a, 40-99 #e9e4c7,#5a523a, -|17: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, +|15: 0-1 d,#ffd866, 2-31 #e9e4c7,#5a523a, 32-39 #d7e3ff,#5a523a, 40-99 #e9e4c7,#5a523a, +|16: 0-0 d,#948d6f, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, +|17: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |18: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |19: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |20: 0-0 d,#211d23, 1-4 d,#100e11, 5-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, @@ -298,6 +286,7 @@ |29: 0-0 d,#211d23, 1-3 d,#100e11, 4-6 #68616b,#100e11, 7-99 #fcfcfa,#100e11, |30: 0-1 d,#3b3830, 2-99 #918d7a,#3b3830, == snap step-harvest grid=100x31 cursor=7,26 +|16: 2 Theme orchard |17: 3 Theme dusk |18: 4 Theme ink |19: 5 Theme paper @@ -314,23 +303,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 17 messages · SPC h m == style step-harvest grid=100x31 |0: 0-1 d,#343b2e, 2-99 #d5d8b8,#343b2e, -|1: 0-1 d,#9b583f, 2-99 #e1e4c4,#4a583e, -|2: 0-1 d,#7b7e4e, 2-31 #d5d8b8,#343b2e, 32-37 #badbeb,#343b2e, 38-99 #d5d8b8,#343b2e, +|1: 0-1 d,#7b7e4e, 2-31 #d5d8b8,#343b2e, 32-37 #badbeb,#343b2e, 38-99 #d5d8b8,#343b2e, +|2: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |3: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |4: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |5: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|6: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, +|6: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |7: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |8: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |9: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |10: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|11: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, +|11: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |12: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |13: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |14: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|15: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, -|16: 0-1 d,#d8bd83, 2-31 #e1e4c4,#4a583e, 32-39 #c5e7f7,#4a583e, 40-99 #e1e4c4,#4a583e, -|17: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, +|15: 0-1 d,#d8bd83, 2-31 #e1e4c4,#4a583e, 32-39 #c5e7f7,#4a583e, 40-99 #e1e4c4,#4a583e, +|16: 0-0 d,#888e5e, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, +|17: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |18: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |19: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |20: 0-0 d,#201d17, 1-4 d,#100e0b, 5-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, @@ -345,6 +334,7 @@ |29: 0-0 d,#201d17, 1-3 d,#100e0b, 4-6 #6a6456,#100e0b, 7-99 #f3f2cc,#100e0b, |30: 0-1 d,#343b2e, 2-99 #8b9079,#343b2e, == snap step-clay grid=100x31 cursor=7,26 +|16: 3 Theme dusk |17: 4 Theme ink |18: 5 Theme paper |19: 6 Theme daybreak @@ -361,23 +351,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 19 messages · SPC h m == style step-clay grid=100x31 |0: 0-1 d,#343f36, 2-99 #d7d6b6,#343f36, -|1: 0-1 d,#875e65, 2-99 #e3e2c2,#4d5c48, -|2: 0-1 d,#687c4d, 2-31 #d7d6b6,#343f36, 32-37 #aae0e0,#343f36, 38-99 #d7d6b6,#343f36, +|1: 0-1 d,#687c4d, 2-31 #d7d6b6,#343f36, 32-37 #aae0e0,#343f36, 38-99 #d7d6b6,#343f36, +|2: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |3: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |4: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |5: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|6: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, +|6: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |7: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |8: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |9: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |10: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|11: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, +|11: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |12: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |13: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |14: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|15: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, -|16: 0-1 d,#8ac874, 2-31 #e3e2c2,#4d5c48, 32-39 #b5ecec,#4d5c48, 40-99 #e3e2c2,#4d5c48, -|17: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, +|15: 0-1 d,#8ac874, 2-31 #e3e2c2,#4d5c48, 32-39 #b5ecec,#4d5c48, 40-99 #e3e2c2,#4d5c48, +|16: 0-0 d,#8c9467, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, +|17: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |18: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |19: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |20: 0-0 d,#222119, 1-4 d,#10100e, 5-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, @@ -392,6 +382,7 @@ |29: 0-0 d,#222119, 1-3 d,#10100e, 4-6 #696455,#10100e, 7-99 #f3e5bc,#10100e, |30: 0-1 d,#343f36, 2-99 #90947e,#343f36, == snap step-forge-black grid=100x31 cursor=7,26 +|16: 4 Theme ink |17: 5 Theme paper |18: 6 Theme daybreak |19: 7 Theme atelier @@ -408,23 +399,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 21 messages · SPC h m == style step-forge-black grid=100x31 |0: 0-1 d,#22252b, 2-99 #c5c9d2,#22252b, -|1: 0-1 d,#6a7b67, 2-99 #d1d5de,#374253, -|2: 0-1 d,#55647b, 2-31 #c5c9d2,#22252b, 32-37 #ecbf9b,#22252b, 38-99 #c5c9d2,#22252b, +|1: 0-1 d,#55647b, 2-31 #c5c9d2,#22252b, 32-37 #ecbf9b,#22252b, 38-99 #c5c9d2,#22252b, +|2: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |3: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |4: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |5: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|6: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, +|6: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |7: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |8: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |9: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |10: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|11: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, +|11: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |12: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |13: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |14: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|15: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, -|16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, -|17: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, +|15: 0-1 d,#9cc3f7, 2-31 #d1d5de,#374253, 32-39 #f8cba7,#374253, 40-99 #d1d5de,#374253, +|16: 0-0 d,#708095, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, +|17: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |18: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |19: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |20: 0-0 d,#14161a, 1-4 d,#000000, 5-6 #62656c,#000000, 7-99 #f6f6f6,#000000, @@ -439,6 +430,7 @@ |29: 0-0 d,#14161a, 1-3 d,#000000, 4-6 #62656c,#000000, 7-99 #f6f6f6,#000000, |30: 0-1 d,#22252b, 2-99 #767a82,#22252b, == snap step-forge-soft grid=100x31 cursor=7,26 +|16: 5 Theme paper |17: 6 Theme daybreak |18: 7 Theme atelier |19: 8 Theme forge @@ -455,23 +447,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 23 messages · SPC h m == style step-forge-soft grid=100x31 |0: 0-1 d,#2a2d34, 2-99 #c5c9d2,#2a2d34, -|1: 0-1 d,#6d7f6c, 2-99 #d1d5de,#404a58, -|2: 0-1 d,#55647b, 2-31 #c5c9d2,#2a2d34, 32-37 #ecbf9b,#2a2d34, 38-99 #c5c9d2,#2a2d34, +|1: 0-1 d,#55647b, 2-31 #c5c9d2,#2a2d34, 32-37 #ecbf9b,#2a2d34, 38-99 #c5c9d2,#2a2d34, +|2: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |3: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |4: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |5: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|6: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, +|6: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |7: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |8: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |9: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |10: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|11: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, +|11: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |12: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |13: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |14: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|15: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, -|16: 0-1 d,#9cc3f7, 2-31 #d1d5de,#404a58, 32-39 #f8cba7,#404a58, 40-99 #d1d5de,#404a58, -|17: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, +|15: 0-1 d,#9cc3f7, 2-31 #d1d5de,#404a58, 32-39 #f8cba7,#404a58, 40-99 #d1d5de,#404a58, +|16: 0-0 d,#708095, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, +|17: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |18: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |19: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |20: 0-0 d,#3d4047, 1-4 d,#35383e, 5-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, @@ -486,6 +478,7 @@ |29: 0-0 d,#3d4047, 1-3 d,#35383e, 4-6 #868991,#35383e, 7-99 #bfc3cc,#35383e, |30: 0-1 d,#2a2d34, 2-99 #7e818a,#2a2d34, == snap step-orchard-black grid=100x31 cursor=7,26 +|16: 6 Theme daybreak |17: 7 Theme atelier |18: 8 Theme forge |19: 9 Theme lagoon @@ -502,23 +495,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 25 messages · SPC h m == style step-orchard-black grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, +|1: 0-1 d,#496656, 2-31 #b2c3b8,#1d2824, 32-37 #d3b0d9,#1d2824, 38-99 #b2c3b8,#1d2824, +|2: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |3: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |4: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |5: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|6: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, +|6: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |7: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |8: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |9: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |10: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|11: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, +|11: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |12: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |13: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |14: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|15: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, -|16: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, -|17: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, +|15: 0-1 d,#add38a, 2-31 #becfc4,#314738, 32-39 #dfbce5,#314738, 40-99 #becfc4,#314738, +|16: 0-0 d,#608269, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, +|17: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |18: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |19: 0-0 d,#111813, 1-4 d,#000000, 5-6 #59675c,#000000, 7-99 #f2f8ef,#000000, |20: 0-0 d,#111813, 1-3 d,#000000, 4-6 #59675c,#000000, 7-99 #f2f8ef,#000000, @@ -533,6 +526,7 @@ |29: 0-0 d,#111813, 1-3 d,#000000, 4-99 #59675c,#000000, |30: 0-1 d,#1d2824, 2-99 #6f7d75,#1d2824, == snap step-acme grid=100x31 cursor=7,26 +|16: 7 Theme atelier |17: 8 Theme forge |18: 9 Theme lagoon |19: 10 Theme solarium @@ -549,23 +543,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 27 messages · SPC h m == style step-acme grid=100x31 |0: 0-1 d,#eaffff, 2-99 #000000,#eaffff, -|1: 0-1 d,#8888cc, 2-99 #000000,#eaffff, -|2: 0-1 d,#b9c3e5, 2-31 #000000,#eaffff, 32-37 #000099,#eaffff, 38-99 #000000,#eaffff, +|1: 0-1 d,#b9c3e5, 2-31 #000000,#eaffff, 32-37 #000099,#eaffff, 38-99 #000000,#eaffff, +|2: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |3: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |4: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |5: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|6: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|6: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |7: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |8: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |9: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |10: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|11: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|11: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |12: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |13: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |14: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|15: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, -|16: 0-1 d,#8888cc, 2-31 #000000,#eaffff, 32-39 #000099,#eaffff, 40-99 #000000,#eaffff, -|17: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|15: 0-1 d,#8888cc, 2-31 #000000,#eaffff, 32-39 #000099,#eaffff, 40-99 #000000,#eaffff, +|16: 0-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, +|17: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |18: 0-0 d,#99994c, 1-4 d,#ffffea, 5-6 #999980,#ffffea, 7-99 #000000,#ffffea, |19: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |20: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, @@ -580,6 +574,7 @@ |29: 0-0 d,#99994c, 1-3 d,#ffffea, 4-6 #999980,#ffffea, 7-99 #000000,#ffffea, |30: 0-1 d,#eaffff, 2-99 #7a8686,#eaffff, == snap step-lapis grid=100x31 cursor=7,26 +|16: 8 Theme forge |17: 9 Theme lagoon |18: 10 Theme solarium |19: 11 Theme spectrum @@ -596,23 +591,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 29 messages · SPC h m == style step-lapis grid=100x31 |0: 0-1 d,#0f1a4a, 2-99 #9aa6d9,#0f1a4a, -|1: 0-1 d,#8a3a3a, 2-99 #eee6d2,#25397d, -|2: 0-1 d,#6a78b1, 2-31 #9aa6d9,#0f1a4a, 32-37 #e8c46a,#0f1a4a, 38-99 #9aa6d9,#0f1a4a, +|1: 0-1 d,#6a78b1, 2-31 #9aa6d9,#0f1a4a, 32-37 #e8c46a,#0f1a4a, 38-99 #9aa6d9,#0f1a4a, +|2: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |3: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |4: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |5: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|6: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|6: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |7: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |8: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |9: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |10: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|11: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|11: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |12: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |13: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |14: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|15: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, -|16: 0-1 d,#e8c46a, 2-31 #eee6d2,#25397d, 32-39 #f2d280,#25397d, 40-99 #eee6d2,#25397d, -|17: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|15: 0-1 d,#e8c46a, 2-31 #eee6d2,#25397d, 32-39 #f2d280,#25397d, 40-99 #eee6d2,#25397d, +|16: 0-0 d,#e8c46a, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, +|17: 0-0 d,#050a24, 1-4 d,#0a1030, 5-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |18: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |19: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |20: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, @@ -627,6 +622,7 @@ |29: 0-0 d,#050a24, 1-3 d,#0a1030, 4-6 #5a6aa8,#0a1030, 7-99 #eee6d2,#0a1030, |30: 0-1 d,#0f1a4a, 2-99 #6472a5,#0f1a4a, == snap step-dark-plus grid=100x31 cursor=7,26 +|16: 11 Theme spectrum |17: 12 Theme harvest |18: 13 Theme clay |19: 14 Theme forge_black @@ -643,23 +639,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 31 messages · SPC h m == style step-dark-plus grid=100x31 |0: 0-1 d,#007acc, 2-99 #ffffff,#007acc, -|1: 0-1 d,#458276, 2-99 #ffffff,#1e1e1e, -|2: 0-1 d,#1c608e, 2-31 #a7a7a7,#3c3c3c, 32-37 #68aee9,#3c3c3c, 38-99 #a7a7a7,#3c3c3c, +|1: 0-1 d,#1c608e, 2-31 #a7a7a7,#3c3c3c, 32-37 #68aee9,#3c3c3c, 38-99 #a7a7a7,#3c3c3c, +|2: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |3: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |4: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |5: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|6: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|6: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |7: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |8: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |9: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |10: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|11: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|11: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |12: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |13: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |14: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|15: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|16: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, -|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|15: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, +|16: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|17: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |20: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, @@ -674,6 +670,7 @@ |29: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |30: 0-1 d,#007acc, 2-99 #d3e5f7,#007acc, == snap step-solarized-dark grid=100x31 cursor=7,26 +|16: 14 Theme forge_black |17: 15 Theme forge_soft |18: 16 Theme orchard_black |19: 17 Theme acme @@ -690,23 +687,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 33 messages · SPC h m == style step-solarized-dark grid=100x31 |0: 0-1 d,#657b83, 2-99 #01090b,#657b83, -|1: 0-1 d,#758a41, 2-99 #073642,#93a1a1, -|2: 0-1 d,#185986, 2-31 #01090b,#657b83, 32-37 #121600,#657b83, 38-99 #01090b,#657b83, +|1: 0-1 d,#185986, 2-31 #01090b,#657b83, 32-37 #121600,#657b83, 38-99 #01090b,#657b83, +|2: 0-0 d,#839496, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |3: 0-0 d,#839496, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |4: 0-0 d,#839496, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |5: 0-0 d,#839496, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, -|6: 0-0 d,#839496, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, +|6: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |7: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |8: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |9: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, |10: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, -|11: 0-0 d,#eee8d5, 1-4 d,#002b36, 5-6 #586e75,#002b36, 7-99 #839496,#002b36, +|11: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |12: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |13: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |14: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|15: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, -|16: 0-1 d,#2483c5, 2-31 #073642,#93a1a1, 32-39 #2d3502,#93a1a1, 40-99 #073642,#93a1a1, -|17: 0-0 d,#839496, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, +|15: 0-1 d,#2483c5, 2-31 #073642,#93a1a1, 32-39 #2d3502,#93a1a1, 40-99 #073642,#93a1a1, +|16: 0-0 d,#839496, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, +|17: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |18: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |19: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, |20: 0-0 d,#eee8d5, 1-3 d,#002b36, 4-6 #586e75,#002b36, 7-99 #839496,#002b36, @@ -724,23 +721,23 @@ |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Theme 35 messages · SPC h m == style step-back grid=100x31 |0: 0-1 d,#007acc, 2-99 #ffffff,#007acc, -|1: 0-1 d,#458276, 2-99 #ffffff,#1e1e1e, -|2: 0-1 d,#1c608e, 2-31 #a7a7a7,#3c3c3c, 32-37 #68aee9,#3c3c3c, 38-99 #a7a7a7,#3c3c3c, +|1: 0-1 d,#1c608e, 2-31 #a7a7a7,#3c3c3c, 32-37 #68aee9,#3c3c3c, 38-99 #a7a7a7,#3c3c3c, +|2: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |3: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |4: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |5: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|6: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|6: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |7: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |8: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |9: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |10: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|11: 0-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|11: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |12: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |13: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |14: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|15: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|16: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, -|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|15: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-39 #cbe5fc,#1e1e1e, 40-99 #ffffff,#1e1e1e, +|16: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|17: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |20: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, @@ -755,6 +752,7 @@ |29: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |30: 0-1 d,#007acc, 2-99 #d3e5f7,#007acc, == snap tail grid=100x31 cursor=7,28 +|16: 304 Theme wolf_alabaster_dark |17: 305 Theme wolf_alabaster_dark_bg |18: 306 Theme wolf_alabaster_dark_mono |19: 307 Theme wolf_alabaster_light @@ -768,37 +766,40 @@ |27: 315 Theme zed_onelight |28: 316 Theme zenburn |29: ~ -== snap picked grid=100x31 cursor=7,3 -|16: 14 line 14 -|17: 15 line 15 -|18: 16 line 16 -|19: 17 line 17 -|20: 18 line 18 -|21: 19 line 19 -|22: 20 line 20 -|23: 21 line 21 -|24: 22 line 22 -|25: 23 line 23 -|26: 24 line 24 -|27: 25 line 25 -|28: 26 line 26 -|29: 27 line 27 +== snap picked grid=100x31 cursor=7,2 +|15: 14 line 14 +|16: 15 line 15 +|17: 16 line 16 +|18: 17 line 17 +|19: 18 line 18 +|20: 19 line 19 +|21: 20 line 20 +|22: 21 line 21 +|23: 22 line 22 +|24: 23 line 23 +|25: 24 line 24 +|26: 25 line 25 +|27: 26 line 26 +|28: 27 line 27 +|29: 28 line 28 |30: ✓ /tmp/pardes-snap/themesel/cwd/+Themes Del 36 messages · SPC h m == style picked grid=100x31 -|2: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-37 #cbe5fc,#1e1e1e, 38-99 #ffffff,#1e1e1e, -|3: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-4 d,#1e1e1e,b 5-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, +|1: 0-1 d,#007fd4, 2-31 #ffffff,#1e1e1e, 32-37 #cbe5fc,#1e1e1e, 38-99 #ffffff,#1e1e1e, +|2: 0-0 d,#424242, 1-1 d,#1e1e1e, 2-4 d,#1e1e1e,b 5-6 #c6c6c6,#1e1e1e,b 7-99 #d4d4d4,#1e1e1e, +|6: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |7: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |8: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |9: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |10: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|11: 0-0 d,#424242, 1-4 d,#1e1e1e, 5-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|11: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |12: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |13: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |14: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |15: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, -|16: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|17: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |18: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |19: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, +|20: 0-0 d,#424242, 1-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |21: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |23: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, |24: 0-3 d,#1e1e1e, 4-6 #858585,#1e1e1e, 7-99 #d4d4d4,#1e1e1e, diff --git a/test/snapshots/topbarexec.golden b/test/snapshots/topbarexec.golden index 9f30f66b..9b7560a1 100644 --- a/test/snapshots/topbarexec.golden +++ b/test/snapshots/topbarexec.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit Debug +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/pardes-snap/topbarexec/cwd Del Term+ba | sh sh | ls ls @@ -21,7 +21,7 @@ | | /tmp/pardes-snap/topbarexec/cwd == snap noarg-runs grid=90x21 cursor=14,5 -|1: New Term Find Grep Joincol Delcol New T╭────────────────────────────────────╮ +|1: New Term Joincol Delcol New T╭────────────────────────────────────╮ |2: /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/│pardes resizes=1 │ |3: sh sh │theme orchard │ |4: ls ls │font default │ @@ -36,7 +36,7 @@ |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 +|1: New Term Joincol Delcol New Term Joincol Delcol |2: /tmp/pardes-snap/topbarexec/cwd Del Term+ba /tmp/pardes-snap/topbarexec/cwd Del Term+ba |3: sh sh |4: zmarkfile.txt ls diff --git a/test/snapshots/tty.golden b/test/snapshots/tty.golden index 5b7600b0..2c43350d 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -1,6 +1,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol |$ /tmp/pardes-snap/tty/cwd Del Term+bash /tmp/pardes-snap/tty/cwd Del Term+bash | $ ls ls | m.txt m.txt diff --git a/test/snapshots/ttyclick.golden b/test/snapshots/ttyclick.golden index a8e8e8c6..27b85c5f 100644 --- a/test/snapshots/ttyclick.golden +++ b/test/snapshots/ttyclick.golden @@ -1,6 +1,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol |$ /tmp/pardes-snap/ttyclick/cwd Del Term+bash /tmp/pardes-snap/ttyclick/cwd Del Term+bash | $ ls ls | probe.txt probe.txt diff --git a/test/snapshots/ttyedit.golden b/test/snapshots/ttyedit.golden index a2911ce1..2ca2f525 100644 --- a/test/snapshots/ttyedit.golden +++ b/test/snapshots/ttyedit.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/ttyedit/cwd Del Term+bash /tmp/pardes-snap/ttyedit/cwd Del Term+bash | ls ls | words.txt words.txt diff --git a/test/snapshots/ttyfollow.golden b/test/snapshots/ttyfollow.golden index 33e26d74..37456c51 100644 --- a/test/snapshots/ttyfollow.golden +++ b/test/snapshots/ttyfollow.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/ttyfollow/cwd Del Term+bash /tmp/pardes-snap/ttyfollow/cwd Del Term+bash | 186 ls | 187 s.txt diff --git a/test/snapshots/ttylook.golden b/test/snapshots/ttylook.golden index 0a3750b4..42d6d004 100644 --- a/test/snapshots/ttylook.golden +++ b/test/snapshots/ttylook.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /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 @@ -31,7 +31,7 @@ | | /tmp/pardes-snap/ttylook/cwd == style tok1 grid=120x31 -|0: 0-1 d,#1d2824, 2-119 #b2c3b8,#1d2824, +|0: 0-91 d,#1d2824, 92-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-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, diff --git a/test/snapshots/ttyonly.golden b/test/snapshots/ttyonly.golden index 76e23750..12999502 100644 --- a/test/snapshots/ttyonly.golden +++ b/test/snapshots/ttyonly.golden @@ -1,6 +1,5 @@ -== 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 +== snap ttyonly grid=100x31 cursor=4,4 +| New Term Find Grep Newcol Help Exit |$ /tmp/pardes-snap/ttyonly/cwd Del Term+bash | $ echo TTY''ONLY | TTYONLY @@ -29,14 +28,15 @@ | | | +| | /tmp/pardes-snap/ttyonly/cwd == style ttyonly grid=100x31 |0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -|1: 0-1 d,#887455, 2-99 #becfc4,#314738, -|2: 0-1 #000000,#add38a, 2-34 #becfc4,#314738, 35-99 #dfbce5,#314738, +|1: 0-1 #000000,#add38a, 2-34 #becfc4,#314738, 35-99 #dfbce5,#314738, +|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |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, +|5: 0-0 d,#608269, 1-99 d,#0d1410, |6: 0-0 d,#608269, 1-99 d,#0d1410, |7: 0-0 d,#608269, 1-99 d,#0d1410, |8: 0-0 d,#608269, 1-99 d,#0d1410, @@ -51,9 +51,9 @@ |17: 0-0 d,#608269, 1-99 d,#0d1410, |18: 0-0 d,#608269, 1-99 d,#0d1410, |19: 0-0 d,#608269, 1-99 d,#0d1410, -|20: 0-0 d,#608269, 1-99 d,#0d1410, -|21: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-35 #d3b0d9,#1d2824, 36-99 #b2c3b8,#1d2824, -|22: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|20: 0-1 d,#496656, 2-30 #b2c3b8,#1d2824, 31-35 #d3b0d9,#1d2824, 36-99 #b2c3b8,#1d2824, +|21: 0-0 d,#608269, 1-4 d,#0d1410, 5-99 #59675c,#0d1410, +|22: 0-0 d,#608269, 1-99 d,#0d1410, |23: 0-0 d,#608269, 1-99 d,#0d1410, |24: 0-0 d,#608269, 1-99 d,#0d1410, |25: 0-0 d,#608269, 1-99 d,#0d1410, diff --git a/test/snapshots/ttypaste.golden b/test/snapshots/ttypaste.golden index 2d0af45a..d555ef9e 100644 --- a/test/snapshots/ttypaste.golden +++ b/test/snapshots/ttypaste.golden @@ -1,6 +1,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol |$ /tmp/pardes-snap/ttypaste/cwd Del Term+bash /tmp/pardes-snap/ttypaste/cwd Del Term+bash | $ ls ls | src.txt src.txt diff --git a/test/snapshots/ttyprompt.golden b/test/snapshots/ttyprompt.golden index 6f5ac034..fbdbb1e3 100644 --- a/test/snapshots/ttyprompt.golden +++ b/test/snapshots/ttyprompt.golden @@ -1,6 +1,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/ttyprompt/cwd Del Term+bash /tmp/pardes-snap/ttyprompt/cwd Del Term+bash | ls ls | probe.txt probe.txt diff --git a/test/snapshots/ttytaken.golden b/test/snapshots/ttytaken.golden index d12b83a0..9bca75d7 100644 --- a/test/snapshots/ttytaken.golden +++ b/test/snapshots/ttytaken.golden @@ -1,6 +1,5 @@ -== 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 +== snap opened grid=210x31 cursor=4,4 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/ttytaken/cwd Del Term+bash | ls | big.txt @@ -29,42 +28,44 @@ | | | +| | /tmp/pardes-snap/ttytaken/cwd -== snap at-prompt grid=210x31 cursor=4,5 -|2: /tmp/pardes-snap/ttytaken/cwd Del Term+bash @`echo TAKEN''ONE` -|5: echo TAKEN''ONE -|6: TAKENONE +== snap at-prompt grid=210x31 cursor=4,4 +|1: /tmp/pardes-snap/ttytaken/cwd Del Term+bash @`echo TAKEN''ONE` +|4: echo TAKEN''ONE +|5: TAKENONE |30: ✓ @p1 Exec 1 message · SPC h m == snap paging grid=210x31 cursor=9,29 -|3: line 1 -|4: line 2 -|5: line 3 -|6: line 4 -|7: line 5 -|8: line 6 -|9: line 7 -|10: line 8 -|11: line 9 -|12: line 10 -|13: line 11 -|14: line 12 -|15: line 13 -|16: line 14 -|17: line 15 -|18: line 16 -|19: line 17 -|20: line 18 -|21: line 19 -|22: line 20 -|23: line 21 -|24: line 22 -|25: line 23 -|26: line 24 -|27: line 25 -|28: line 26 +|2: line 1 +|3: line 2 +|4: line 3 +|5: line 4 +|6: line 5 +|7: line 6 +|8: line 7 +|9: line 8 +|10: line 9 +|11: line 10 +|12: line 11 +|13: line 12 +|14: line 13 +|15: line 14 +|16: line 15 +|17: line 16 +|18: line 17 +|19: line 18 +|20: line 19 +|21: line 20 +|22: line 21 +|23: line 22 +|24: line 23 +|25: line 24 +|26: line 25 +|27: line 26 +|28: line 27 |29: big.txt == snap spawned grid=210x31 cursor=hidden -|2: /tmp/pardes-snap/ttytaken/cwd Del Term+bash @`echo TAKEN''ONE` @`echo TAKEN''TWO` +|1: /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 Del |17: % echo TAKEN''TWO diff --git a/test/snapshots/tutor.golden b/test/snapshots/tutor.golden index c9ebadaa..f1b82c62 100644 --- a/test/snapshots/tutor.golden +++ b/test/snapshots/tutor.golden @@ -1,6 +1,6 @@ == snap tutor grid=150x31 cursor=7,20 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +| Find Grep Newcol Help Exit Tutor +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/tutor/cwd Del Term+bash /tmp/pardes-snap/tutor/cwd Del Term+bash | ls ls | diff --git a/test/snapshots/wheeldrift.golden b/test/snapshots/wheeldrift.golden index a1e9a978..1a69560c 100644 --- a/test/snapshots/wheeldrift.golden +++ b/test/snapshots/wheeldrift.golden @@ -1,6 +1,5 @@ -== snap home grid=70x17 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config His -| New Term Find Grep Joincol Delcol +== snap home grid=70x17 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/wheeldrift/cwd/drift.txt Keep Del | 1 line 1_0123456789_abcdefghij_ZEND | 2 line 2_0123456789_abcdefghij_ZEND @@ -15,23 +14,41 @@ | 11 line 11_0123456789_abcdefghij_ZEND | 12 line 12_0123456789_abcdefghij_ZEND | 13 line 13_0123456789_abcdefghij_ZEND +| 14 line 14_0123456789_abcdefghij_ZEND | ✓ …p/pardes-snap/wheeldrift/cwd/drift.txt Wrap 1 message · SPC h m == snap drifted grid=70x17 cursor=hidden -|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 +|2: 6 line 6_0123456789_abcdefghij_ZEND +|3: 7 line 7_0123456789_abcdefghij_ZEND +|4: 8 line 8_0123456789_abcdefghij_ZEND +|5: 9 line 9_0123456789_abcdefghij_ZEND +|6: 10 line 10_0123456789_abcdefghij_ZEND +|7: 11 line 11_0123456789_abcdefghij_ZEND +|8: 12 line 12_0123456789_abcdefghij_ZEND +|9: 13 line 13_0123456789_abcdefghij_ZEND +|10: 14 line 14_0123456789_abcdefghij_ZEND +|11: 15 line 15_0123456789_abcdefghij_ZEND +|12: 16 line 16_0123456789_abcdefghij_ZEND +|13: 17 line 17_0123456789_abcdefghij_ZEND +|14: 18 line 18_0123456789_abcdefghij_ZEND +|15: 19 line 19_0123456789_abcdefghij_ZEND == snap paying grid=70x17 cursor=hidden == snap moved grid=70x17 cursor=hidden +|2: 6 123456789_abcdefghij_ZEND +|3: 7 123456789_abcdefghij_ZEND +|4: 8 123456789_abcdefghij_ZEND +|5: 9 123456789_abcdefghij_ZEND +|6: 10 0123456789_abcdefghij_ZEND +|7: 11 0123456789_abcdefghij_ZEND +|8: 12 0123456789_abcdefghij_ZEND +|9: 13 0123456789_abcdefghij_ZEND +|10: 14 0123456789_abcdefghij_ZEND +|11: 15 0123456789_abcdefghij_ZEND +|12: 16 0123456789_abcdefghij_ZEND +|13: 17 0123456789_abcdefghij_ZEND +|14: 18 0123456789_abcdefghij_ZEND +|15: 19 0123456789_abcdefghij_ZEND +== snap rearmed grid=70x17 cursor=hidden +|2: 5 123456789_abcdefghij_ZEND |3: 6 123456789_abcdefghij_ZEND |4: 7 123456789_abcdefghij_ZEND |5: 8 123456789_abcdefghij_ZEND @@ -45,17 +62,3 @@ |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 -|7: 9 123456789_abcdefghij_ZEND -|8: 10 0123456789_abcdefghij_ZEND -|9: 11 0123456789_abcdefghij_ZEND -|10: 12 0123456789_abcdefghij_ZEND -|11: 13 0123456789_abcdefghij_ZEND -|12: 14 0123456789_abcdefghij_ZEND -|13: 15 0123456789_abcdefghij_ZEND -|14: 16 0123456789_abcdefghij_ZEND -|15: 17 0123456789_abcdefghij_ZEND diff --git a/test/snapshots/winch.golden b/test/snapshots/winch.golden index bbf986f7..4200397e 100644 --- a/test/snapshots/winch.golden +++ b/test/snapshots/winch.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol |$ /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 @@ -31,8 +31,8 @@ | | /tmp/pardes-snap/winch/cwd == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol |$ /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; diff --git a/test/snapshots/windownav.golden b/test/snapshots/windownav.golden index 4d1176ad..af157123 100644 --- a/test/snapshots/windownav.golden +++ b/test/snapshots/windownav.golden @@ -1,6 +1,6 @@ == 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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/windownav/cwd/w.txt Keep Del /tmp/pardes-snap/windownav/cwd Del Term+bash | 1 alpha ls | 2 beta w.txt diff --git a/test/snapshots/windowops.golden b/test/snapshots/windowops.golden index 0e9c4e5c..bd56a22e 100644 --- a/test/snapshots/windowops.golden +++ b/test/snapshots/windowops.golden @@ -1,6 +1,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 +| Find Grep Newcol Help Exit +| New Term Joincol Delcol New Term Joincol Delcol | /tmp/pardes-snap/windowops/cwd Del Term+bash /tmp/pardes-snap/windowops/cwd Del Term+bash | ls ls | w.txt w.txt @@ -47,7 +47,8 @@ == snap focus-right grid=100x31 cursor=54,5 |30: ✓ @p4 Window 1 message · SPC h m == snap debug-on grid=100x31 cursor=54,5 -|1: New Term Find Grep Joincol Delcol New Term F╭────────────────────────────────────╮ +|0: Find Grep Newcol Help Exit Debug +|1: New Term Joincol Delcol New Term J╭────────────────────────────────────╮ |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 │ @@ -62,7 +63,7 @@ |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, +|0: 0-66 d,#1d2824, 67-93 #b2c3b8,#1d2824, 94-98 #f5f7ee,#3c614a, 99-99 #f5f7ee,#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-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, @@ -94,7 +95,7 @@ |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,5 -|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol +|1: New Term Joincol Delcol New Term Joincol Delcol |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 diff --git a/test/snapshots/wrap.golden b/test/snapshots/wrap.golden index 3976ed29..ec1b6339 100644 --- a/test/snapshots/wrap.golden +++ b/test/snapshots/wrap.golden @@ -1,6 +1,5 @@ -== snap on-narrow grid=48x15 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor -| New Term Find Grep Joincol Delcol +== snap on-narrow grid=48x15 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/wrap/cwd/long.txt Keep Del | 1 0---------1---------2---------3---------↩ | 4---------5---------6---------7---------↩ @@ -13,38 +12,38 @@ | | | +| | /tmp/pardes-snap/wrap/cwd/long.txt:1 == snap clicked grid=48x15 cursor=17,4 -== snap logical-j grid=48x15 cursor=18,8 +== snap logical-j grid=48x15 cursor=18,7 |14: /tmp/pardes-snap/wrap/cwd/long.txt:2 -== snap visual-gj grid=48x15 cursor=10,4 +== snap visual-gj grid=48x15 cursor=10,3 |14: /tmp/pardes-snap/wrap/cwd/long.txt:1 -== 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 visual-gj-again grid=48x15 cursor=10,4 +== snap visual-gk grid=48x15 cursor=10,3 +== snap visual-count-gj grid=48x15 cursor=10,5 == snap off grid=48x15 cursor=hidden -|3: 1 0---------1---------2---------3---------4 -|4: 2 second line -|5: 3 third line -|6: ~ +|2: 1 0---------1---------2---------3---------4 +|3: 2 second line +|4: 3 third line +|5: ~ +|6: |7: |8: |9: -|10: |14: ✓ …rap/cwd/long.txt Wrap 1 message · SPC h m -== 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: ~ +== snap on-again grid=48x15 cursor=10,5 +|2: 1 0---------1---------2---------3---------↩ +|3: 4---------5---------6---------7---------↩ +|4: 8---------9---------A---------B---------↩ +|5: C---------D---------E---------F---------↩ +|6: G---------H---------I---------J--------- +|7: 2 second line +|8: 3 third line +|9: ~ |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 +== snap on-wide grid=128x15 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /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--------- @@ -57,4 +56,5 @@ | | | +| | /tmp/pardes-snap/wrap/cwd/long.txt:1 diff --git a/test/snapshots/yankpaste.golden b/test/snapshots/yankpaste.golden index 3e1deed5..17307919 100644 --- a/test/snapshots/yankpaste.golden +++ b/test/snapshots/yankpaste.golden @@ -1,6 +1,5 @@ -== 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 +== snap linewise-below grid=100x31 cursor=13,5 +| New Term Find Grep Newcol Help Exit | */tmp/pardes-snap/yankpaste/cwd/f.txt Save Undo Del | 1 line 1 | 2 line 2 @@ -29,22 +28,23 @@ | | | +| | /tmp/pardes-snap/yankpaste/cwd/f.txt:4 -== snap linewise-above grid=100x31 cursor=13,7 -|8: 6 line 2 -|9: 7 line 4 -|10: 8 line 5 -|11: ~ +== snap linewise-above grid=100x31 cursor=13,6 +|7: 6 line 2 +|8: 7 line 4 +|9: 8 line 5 +|10: ~ |30: /tmp/pardes-snap/yankpaste/cwd/f.txt:5 -== snap charwise-inline grid=100x31 cursor=10,3 -|3: 1 liline 1 +== snap charwise-inline grid=100x31 cursor=10,2 +|2: 1 liline 1 |30: /tmp/pardes-snap/yankpaste/cwd/f.txt:1 -== snap blankline grid=100x31 cursor=7,5 -|4: 2 -|5: 3 -|7: 5 line 3 -|10: 8 line 2 -|11: 9 line 4 -|12: 10 line 5 -|13: ~ +== snap blankline grid=100x31 cursor=7,4 +|3: 2 +|4: 3 +|6: 5 line 3 +|9: 8 line 2 +|10: 9 line 4 +|11: 10 line 5 +|12: ~ |30: /tmp/pardes-snap/yankpaste/cwd/f.txt:3 |
