diff options
Diffstat (limited to 'test')
65 files changed, 871 insertions, 418 deletions
diff --git a/test/lspbench.zig b/test/lspbench.zig index 307bdc49..9eddf2f0 100644 --- a/test/lspbench.zig +++ b/test/lspbench.zig @@ -81,7 +81,9 @@ const anchors = [_]Anchor{ .{ .file = "test/lspfixture/broken.zig", .needle = "unused_local", .at = 0, .kind = .diagnostics, .expect = "broken.zig" }, // the remaining kinds, probed once each so the matrix is complete .{ .file = "src/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .declaration, .expect = "" }, - .{ .file = "src/lsp.zig", .needle = "out: *std.ArrayList(u8)", .at = 10, .kind = .type_definition, .expect = "" }, + // cursor on `out`, whose type is `*std.Io.Writer` — a type_definition probe + // wants a NAME whose type must be resolved, not the type spelled out + .{ .file = "src/lsp.zig", .needle = "out: *std.Io.Writer", .at = 0, .kind = .type_definition, .expect = "" }, .{ .file = "src/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .implementation, .expect = "" }, .{ .file = "src/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .select_refs, .expect = "" }, .{ .file = "test/lspfixture/broken.zig", .needle = "badly_spaced", .at = 0, .kind = .format, .expect = "" }, @@ -156,12 +158,12 @@ pub fn main(init: std.process.Init) !void { std.mem.sort(u64, &samples, {}, std.sort.asc(u64)); r.warm_us = samples[warm_iters / 2]; r.correct = !r.empty and (an.expect.len == 0 or blk: { - var out: std.ArrayList(u8) = .empty; - defer out.deinit(gpa); + var out: std.Io.Writer.Allocating = .init(gpa); + defer out.deinit(); var arena: std.heap.ArenaAllocator = .init(gpa); defer arena.deinit(); - lsp.query(gpa, arena.allocator(), req, &out); - break :blk std.mem.indexOf(u8, out.items, an.expect) != null; + lsp.query(gpa, arena.allocator(), req, &out.writer); + break :blk std.mem.indexOf(u8, out.written(), an.expect) != null; }); try results.append(gpa, r); } @@ -173,14 +175,14 @@ pub fn main(init: std.process.Init) !void { fn runOnce(gpa: std.mem.Allocator, req: lsp.Req, r: *Result) u64 { var arena: std.heap.ArenaAllocator = .init(gpa); defer arena.deinit(); - var out: std.ArrayList(u8) = .empty; - defer out.deinit(gpa); + var out: std.Io.Writer.Allocating = .init(gpa); + defer out.deinit(); const t0 = nowNs(); - lsp.query(gpa, arena.allocator(), req, &out); + lsp.query(gpa, arena.allocator(), req, &out.writer); const ns = nowNs() -| t0; - if (out.items.len > 0) { + if (out.written().len > 0) { r.empty = false; - r.rows = std.mem.count(u8, out.items, "\n"); + r.rows = std.mem.count(u8, out.written(), "\n"); } return ns / 1000; } diff --git a/test/snapshot.zig b/test/snapshot.zig index 31f2c8ea..aeb01187 100644 --- a/test/snapshot.zig +++ b/test/snapshot.zig @@ -40,7 +40,7 @@ // parses it as alt-<ch>. The scripts said 700ms and // it cost the suite 28s; there is no timer in vaxis // to outlast — 20ms passes, they use 100ms) -// press|release <left|middle|right> <col> <row> SGR mouse, 1-based +// press|release <[ctrl-]left|middle|right> <col> <row> SGR mouse, 1-based // drag <btn> <col> <row> motion with button held // motion <col> <row> button-less motion (hover) // wheel <up|down> <col> <row> @@ -307,6 +307,9 @@ fn runScript(arena: std.mem.Allocator, exe_z: [:0]const u8, script_path: []const _ = setenv("HOME", try arena.dupeZ(u8, home), 1); _ = setenv("TERM", "xterm-256color", 1); _ = setenv("LC_ALL", "C", 1); + // durations cannot live in a golden; the lsp introspection views print + // `-` for them when this is set (see lsp_zls.zig hideTime) + _ = setenv("PARDES_LSP_NOTIME", "1", 1); // Pin the dump path: live runs use a timestamped file under the user data // dir (dump.outPath), which would make the dump/load/restore goldens // nondeterministic. Per-SCRIPT, not one shared /tmp/pardes-dump.zon: four @@ -722,10 +725,10 @@ fn colorStr(color: ghostty_vt.Style.Color, buf: *[16]u8) []const u8 { fn keyBytes(name: []const u8) ?[]const u8 { const map = .{ - .{ "enter", "\r" }, .{ "esc", "\x1b" }, .{ "tab", "\t" }, - .{ "bs", "\x7f" }, .{ "space", " " }, .{ "up", "\x1b[A" }, - .{ "down", "\x1b[B" }, .{ "right", "\x1b[C" }, .{ "left", "\x1b[D" }, - .{ "home", "\x1b[H" }, .{ "end", "\x1b[F" }, .{ "pgup", "\x1b[5~" }, + .{ "enter", "\r" }, .{ "esc", "\x1b" }, .{ "tab", "\t" }, + .{ "bs", "\x7f" }, .{ "space", " " }, .{ "up", "\x1b[A" }, + .{ "down", "\x1b[B" }, .{ "right", "\x1b[C" }, .{ "left", "\x1b[D" }, + .{ "home", "\x1b[H" }, .{ "end", "\x1b[F" }, .{ "pgup", "\x1b[5~" }, .{ "pgdn", "\x1b[6~" }, }; inline for (map) |e| if (std.mem.eql(u8, name, e[0])) return e[1]; @@ -749,7 +752,14 @@ fn keyBytes(name: []const u8) ?[]const u8 { return null; } +/// SGR button code, with an optional `ctrl-` prefix folded in as bit 4 — +/// which is exactly how a terminal encodes a modified click, and how vaxis +/// decodes one (Parser.zig mouse_bits.ctrl = 0b00010000). fn buttonCode(name: []const u8) ?u16 { + if (std.mem.startsWith(u8, name, "ctrl-")) { + const base = buttonCode(name["ctrl-".len..]) orelse return null; + return base + 16; + } if (std.mem.eql(u8, name, "left")) return 0; if (std.mem.eql(u8, name, "middle")) return 1; if (std.mem.eql(u8, name, "right")) return 2; diff --git a/test/snapshots/argv.golden b/test/snapshots/argv.golden index 812740ac..35d36b88 100644 --- a/test/snapshots/argv.golden +++ b/test/snapshots/argv.golden @@ -1,5 +1,5 @@ == snap noargs grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/argv/cwd Del | $ echo ARGV''TTY | ARGVTTY @@ -30,7 +30,7 @@ | | == snap filearg grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/argv/cwd/notes.txt Save Del NOR /tmp/pardes-snap/argv/cwd Del | 3 line 3 | 4 line 4 notes.txt zmarker.txt @@ -61,7 +61,7 @@ | | == snap dirarg grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/argv/cwd/sub Del | | inside.txt diff --git a/test/snapshots/badutf.golden b/test/snapshots/badutf.golden index 452ad825..1a5eb6e1 100644 --- a/test/snapshots/badutf.golden +++ b/test/snapshots/badutf.golden @@ -1,5 +1,5 @@ == snap badbytes grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/badutf/cwd/bad.txt Save Del NOR /tmp/pardes-snap/badutf/cwd Del | 1 hello �� world | 2 latin-1 caf� tail bad.txt wide.txt @@ -30,7 +30,7 @@ | | == snap hscroll-midglyph grid=100x30 cursor=46,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/badutf/cwd/wide.txt Save De NOR /tmp/pardes-snap/badutf/cwd Del | 1 ��語 日本語 日本語 日本語 tail | 2 bad.txt wide.txt diff --git a/test/snapshots/boot.golden b/test/snapshots/boot.golden index d6be06fa..f0918225 100644 --- a/test/snapshots/boot.golden +++ b/test/snapshots/boot.golden @@ -1,5 +1,5 @@ == snap boot grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/boot/cwd Del | | hello.txt @@ -30,7 +30,7 @@ | | == style boot -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-34 #949494,#121212, 35-99 d,#121212, |2: 0-1 d,#444444, 2-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-99 #bdbdbd,#080808, diff --git a/test/snapshots/chordcut.golden b/test/snapshots/chordcut.golden index 6f2da745..a07145b3 100644 --- a/test/snapshots/chordcut.golden +++ b/test/snapshots/chordcut.golden @@ -1,5 +1,5 @@ == snap opened grid=90x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 line 2 f.txt g.txt f.txt g.txt @@ -30,7 +30,7 @@ | | == snap cut grid=90x30 cursor=7,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2 f.txt g.txt f.txt g.txt @@ -61,7 +61,7 @@ | | == snap copied grid=90x30 cursor=10,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2 f.txt g.txt f.txt g.txt @@ -92,7 +92,7 @@ | | == snap pointpaste grid=90x30 cursor=16,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2 f.txt g.txt f.txt g.txt @@ -123,7 +123,7 @@ | | == snap replaced grid=90x30 cursor=11,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2 f.txt g.txt f.txt g.txt @@ -154,7 +154,7 @@ | | == snap cancelexec grid=90x30 cursor=25,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt @@ -185,7 +185,7 @@ | | == snap execafter grid=90x30 cursor=25,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt @@ -216,7 +216,7 @@ | | == snap cancellook grid=90x30 cursor=25,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt @@ -247,7 +247,7 @@ | | == snap lookafter grid=90x30 cursor=7,17 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt @@ -278,7 +278,7 @@ | | == style chordsel -|0: 0-47 #949494,#121212, 48-89 d,#121212, +|0: 0-52 #949494,#121212, 53-89 d,#121212, |1: 0-1 d,#626262, 2-29 #949494,#121212, 30-31 d,#262626, 32-59 #949494,#121212, 60-61 d,#262626, 62-89 #949494,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-24 #bdbdbd,#080808, 25-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, @@ -309,7 +309,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, == style clickdismiss -|0: 0-47 #949494,#121212, 48-89 d,#121212, +|0: 0-52 #949494,#121212, 53-89 d,#121212, |1: 0-1 d,#626262, 2-29 #949494,#121212, 30-31 d,#262626, 32-59 #949494,#121212, 60-61 d,#262626, 62-89 #949494,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-24 #bdbdbd,#080808, 25-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, @@ -340,7 +340,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-29 d,#080808, 30-31 d,#444444, 32-59 #bdbdbd,#080808, 60-61 d,#444444, 62-89 #bdbdbd,#080808, == snap ttyprobe grid=90x30 cursor=44,13 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu TTY /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 $ ls | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt @@ -371,7 +371,7 @@ | | == snap ttyprompt grid=90x30 cursor=38,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/chordcu TTY /tmp/pardes-snap/chordcu NOR /tmp/pardes-snap/chordcu | 1 line 1 $ ls | 2 2echo B''OO g.txt f.txt g.txt f.txt g.txt diff --git a/test/snapshots/cursorline.golden b/test/snapshots/cursorline.golden index aa24e77d..f7c0f9b8 100644 --- a/test/snapshots/cursorline.golden +++ b/test/snapshots/cursorline.golden @@ -1,5 +1,5 @@ == snap top grid=150x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/cursorline/cwd/cur.txt Save NOR /tmp/pardes-snap/cursorline/cwd Del NOR /tmp/pardes-snap/cursorline/cwd Del | 1 line 1 | 2 line 2 cur.txt cur.txt @@ -30,7 +30,7 @@ | | == style top -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-90 #949494,#121212, 91-99 d,#121212, 100-101 d,#262626, 102-140 #949494,#121212, 141-149 d,#121212, |2: 0-1 d,#444444, 2-6 #949494,#121212, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, @@ -61,7 +61,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, == snap down3 grid=150x30 cursor=7,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/cursorline/cwd/cur.txt Save NOR /tmp/pardes-snap/cursorline/cwd Del NOR /tmp/pardes-snap/cursorline/cwd Del | 1 line 1 | 2 line 2 cur.txt cur.txt @@ -92,7 +92,7 @@ | | == style down3 -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-90 #949494,#121212, 91-99 d,#121212, 100-101 d,#262626, 102-140 #949494,#121212, 141-149 d,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, diff --git a/test/snapshots/dump.golden b/test/snapshots/dump.golden index ce1c221d..338b574e 100644 --- a/test/snapshots/dump.golden +++ b/test/snapshots/dump.golden @@ -4,7 +4,7 @@ .version = 1, .screen = .{ .cols = 100, .rows = 30 }, .active = 0, - .topbar = "Kill Newcol Tutor Debug NextColor Dump Find Grep", + .topbar = "Kill Newcol Tutor Debug NextColor Dump Find Grep Help", .theme = "helix", .columns = .{ .{ .weight = 1, .panes = .{ 0, 1 } }, .{ .weight = 1, .panes = .{2} } }, .panes = .{ diff --git a/test/snapshots/edit.golden b/test/snapshots/edit.golden index e3fd56d9..a52446d7 100644 --- a/test/snapshots/edit.golden +++ b/test/snapshots/edit.golden @@ -1,5 +1,5 @@ == snap inserted grid=100x30 cursor=16,9 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/edit/cwd Del NOR /tmp/pardes-snap/edit/cwd Del | | e.txt e.txt @@ -30,7 +30,7 @@ | | == style inserted -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-34 #949494,#121212, 35-49 d,#121212, 50-51 d,#262626, 52-84 #949494,#121212, 85-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, diff --git a/test/snapshots/exec-bigdrag.golden b/test/snapshots/exec-bigdrag.golden index 7b532a37..b7717ee5 100644 --- a/test/snapshots/exec-bigdrag.golden +++ b/test/snapshots/exec-bigdrag.golden @@ -1,5 +1,5 @@ == snap alive grid=200x60 cursor=119,37 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/exec-bigdrag/cwd Del NOR /tmp/pardes-snap/exec-bigdrag/cwd Del | bash: line: command not found | big.txt diff --git a/test/snapshots/exec.golden b/test/snapshots/exec.golden index 2b5ca6ff..f978571b 100644 --- a/test/snapshots/exec.golden +++ b/test/snapshots/exec.golden @@ -1,5 +1,5 @@ == snap exec grid=100x30 cursor=16,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/exec/cwd Del NOR /tmp/pardes-snap/exec/cwd Del | | e.txt e.txt @@ -30,7 +30,7 @@ | | == snap kept grid=100x30 cursor=6,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/exec/cwd Del NOR /tmp/pardes-snap/exec/cwd Del | ZZARG | ./c.sh e.txt @@ -61,7 +61,7 @@ | | == snap chord grid=100x30 cursor=6,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/exec/cwd Del NOR /tmp/pardes-snap/exec/cwd Del | ZZARG | ./c.sh e.txt @@ -92,7 +92,7 @@ | | == snap deleted grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/exec/cwd Del NOR /tmp/pardes-snap/exec/cwd Del | | e.txt e.txt diff --git a/test/snapshots/fileedit.golden b/test/snapshots/fileedit.golden index ac73e9e5..0df45515 100644 --- a/test/snapshots/fileedit.golden +++ b/test/snapshots/fileedit.golden @@ -1,5 +1,5 @@ == snap edited grid=150x30 cursor=17,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fileedit/cwd/f.txt Save Del NOR /tmp/pardes-snap/fileedit/cwd Del NOR /tmp/pardes-snap/fileedit/cwd Del | 1 liEDIT''MEne 1 | 2 line 2 f.txt f.txt @@ -30,7 +30,7 @@ | | == snap deleted grid=150x30 cursor=7,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fileedit/cwd/f.txt Save Del NOR /tmp/pardes-snap/fileedit/cwd Del NOR /tmp/pardes-snap/fileedit/cwd Del | 1 liEDIT''MEne 1 | 2 line 3 f.txt f.txt @@ -61,7 +61,7 @@ | | == snap undone grid=150x30 cursor=13,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fileedit/cwd/f.txt Save Del NOR /tmp/pardes-snap/fileedit/cwd Del NOR /tmp/pardes-snap/fileedit/cwd Del | 1 liEDIT''MEne 1 | 2 line 2 f.txt f.txt diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 83fb66b7..e272ae92 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -1,5 +1,5 @@ == snap group grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del SPC f NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -40,7 +40,7 @@ | | == snap armed grid=120x40 cursor=56,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/find/cwd/here.txt Save Del Find / NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -81,7 +81,7 @@ | | == snap typing grid=120x40 cursor=59,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/find/cwd/here.txt Save Del Find /zqm NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -122,7 +122,7 @@ | | == snap results grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -163,7 +163,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap first grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -204,7 +204,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == style first -|0: 0-47 #949494,#121212, 48-119 d,#121212, +|0: 0-52 #949494,#121212, 53-119 d,#121212, |1: 0-1 d,#626262, 2-48 #949494,#121212, 49-59 d,#121212, 60-61 d,#262626, 62-94 #949494,#121212, 95-119 d,#121212, |2: 0-1 d,#444444, 2-6 #949494,#121212, 7-10 #bdbdbd,#080808, 11-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, @@ -245,7 +245,7 @@ |38: 0-1 d,#444444, 2-6 #626262,#080808, 7-31 #bdbdbd,#080808, 32-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, |39: 0-1 d,#121212, 2-6 #626262,#080808, 7-22 #bdbdbd,#080808, 23-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, == snap second grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -286,7 +286,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap third grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -327,7 +327,7 @@ | 3 zqmark-alpha.txt | 4 == snap back grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -368,7 +368,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap word grid=120x40 cursor=56,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/find/cwd/here.txt Save Del Find / NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -409,7 +409,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap cancel grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -450,7 +450,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap nomatch grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | here.txt other.txt sub zqmark-alpha.txt @@ -491,7 +491,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap refit grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del |╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ | NOR /tmp/pardes-snap/find/cwd/+Search Del here.txt other.txt sub zqmark-alpha.txt @@ -532,7 +532,7 @@ | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt == snap topbar grid=120x40 cursor=12,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/find/cwd/here.txt Save Del NOR /tmp/pardes-snap/find/cwd Del | 1 Find | NOR /tmp/pardes-snap/find/cwd/+Search Del here.txt other.txt sub zqmark-alpha.txt diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 5b1b6574..02176d84 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -1,5 +1,5 @@ == snap opened grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -30,7 +30,7 @@ | | == snap typing grid=180x30 cursor=55,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/fsearch/cwd/g.txt Save Del /MARK NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -61,7 +61,7 @@ | | == snap results grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -92,7 +92,7 @@ | 2 g.txt:6:1 MARK b | 3 g.txt:10:1 MARK c == snap first grid=180x30 cursor=7,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -123,7 +123,7 @@ | 2 g.txt:6:1 MARK b | 3 g.txt:10:1 MARK c == style first -|0: 0-47 #949494,#121212, 48-179 d,#121212, +|0: 0-52 #949494,#121212, 53-179 d,#121212, |1: 0-1 d,#626262, 2-48 #949494,#121212, 49-59 d,#121212, 60-61 d,#262626, 62-97 #949494,#121212, 98-119 d,#121212, 120-121 d,#262626, 122-157 #949494,#121212, 158-179 d,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-8 #bdbdbd,#080808, 9-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, 120-121 d,#444444, 122-179 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #949494,#121212, 7-12 #bdbdbd,#080808, 13-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, 120-121 d,#444444, 122-179 #bdbdbd,#080808, @@ -154,7 +154,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-22 #bdbdbd,#080808, 23-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, 120-121 d,#444444, 122-179 #bdbdbd,#080808, |29: 0-1 d,#121212, 2-6 #626262,#080808, 7-23 #bdbdbd,#080808, 24-59 d,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, 120-121 d,#444444, 122-179 #bdbdbd,#080808, == snap second grid=180x30 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -185,7 +185,7 @@ | 2 g.txt:6:1 MARK b | 3 g.txt:10:1 MARK c == snap third grid=180x30 cursor=7,11 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -216,7 +216,7 @@ | 3 g.txt:10:1 MARK c | 4 == snap back grid=180x30 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -247,7 +247,7 @@ | 2 g.txt:6:1 MARK b | 3 g.txt:10:1 MARK c == snap cancel grid=180x30 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt @@ -278,7 +278,7 @@ | 2 g.txt:6:1 MARK b | 3 g.txt:10:1 MARK c == snap nomatch grid=180x30 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/fsearch/cwd/g.txt Save Del NOR /tmp/pardes-snap/fsearch/cwd Del NOR /tmp/pardes-snap/fsearch/cwd Del | 1 l1 | 2 MARK a g.txt g.txt diff --git a/test/snapshots/ghostty-mid.golden b/test/snapshots/ghostty-mid.golden index ba757099..7fc743f5 100644 --- a/test/snapshots/ghostty-mid.golden +++ b/test/snapshots/ghostty-mid.golden @@ -1,5 +1,5 @@ == snap ghostty-mid grid=100x30 cursor=4,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ghostty-mid/cwd Del NOR /tmp/pardes-snap/ghostty-mid/cwd Del | ZZPAD | ./g.sh g.txt diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden index 2f32ac4f..768c56dc 100644 --- a/test/snapshots/grep.golden +++ b/test/snapshots/grep.golden @@ -1,5 +1,5 @@ == snap opened grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -30,7 +30,7 @@ | | == snap typing grid=180x30 cursor=59,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/grep/cwd/a.txt Save Del Grep /TARGET NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -61,7 +61,7 @@ | | == snap results grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -92,7 +92,7 @@ | 2 a.txt:3:6 last TARGET line | 3 sub/b.txt:2:1 TARGET inside sub == snap first grid=180x30 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -123,7 +123,7 @@ | 2 a.txt:3:6 last TARGET line | 3 sub/b.txt:2:1 TARGET inside sub == snap opened-hit grid=180x30 cursor=12,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -154,7 +154,7 @@ | 3 sub/b.txt:2:1 TARGET inside sub | 4 == snap nomatch grid=180x30 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -185,7 +185,7 @@ | 3 sub/b.txt:2:1 TARGET inside sub | 4 == snap chordsel grid=180x30 cursor=19,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub @@ -216,7 +216,7 @@ | 3 sub/b.txt:2:1 TARGET inside sub | 4 == snap chord grid=180x30 cursor=19,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/grep/cwd/a.txt Save Del NOR /tmp/pardes-snap/grep/cwd Del NOR /tmp/pardes-snap/grep/cwd Del | 1 hello TARGET one | 2 nothing here a.txt noise.txt sub a.txt noise.txt sub diff --git a/test/snapshots/hscroll.golden b/test/snapshots/hscroll.golden index 4110f555..a91f4244 100644 --- a/test/snapshots/hscroll.golden +++ b/test/snapshots/hscroll.golden @@ -1,5 +1,5 @@ == snap opened grid=90x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll | 1 short1 END_A_MARKER_WAY | wide.txt wide.txt @@ -30,7 +30,7 @@ | | == snap wheeled grid=90x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll | 1 ND_A_MARKER_WAY_OUT_RIG | wide.txt wide.txt @@ -61,7 +61,7 @@ | | == snap clamped grid=90x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll | 1 short1 END_A_MARKER_WAY | wide.txt wide.txt @@ -92,7 +92,7 @@ | | == snap dollar grid=90x30 cursor=26,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll | 1 padpadpadpadpad_TAIL | wide.txt wide.txt @@ -123,7 +123,7 @@ | | == snap zero grid=90x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll | 1 short1 END_A_MARKER_WAY | wide.txt wide.txt diff --git a/test/snapshots/images.golden b/test/snapshots/images.golden index 76b40d1b..2c06a51f 100644 --- a/test/snapshots/images.golden +++ b/test/snapshots/images.golden @@ -1,5 +1,5 @@ == snap img-open grid=150x30 cursor=11,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | img /tmp/pardes-snap/images/cwd/pic.ppm Del NOR /tmp/pardes-snap/images/cwd Del NOR /tmp/pardes-snap/images/cwd Del | | pic.ppm pic.ppm @@ -30,7 +30,7 @@ | | == style img-open -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-44 #949494,#121212, 45-49 d,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, 100-101 d,#262626, 102-136 #949494,#121212, 137-149 d,#121212, |2: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, @@ -61,7 +61,7 @@ |28: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |29: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, == style term-palette -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-44 #949494,#121212, 45-49 d,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, 100-101 d,#262626, 102-136 #949494,#121212, 137-149 d,#121212, |2: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, @@ -92,7 +92,7 @@ |28: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |29: 0-1 d,#121212, 2-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, == snap no-ascii grid=150x30 cursor=11,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | img /tmp/pardes-snap/images/cwd/pic.ppm Del NOR /tmp/pardes-snap/images/cwd Del NOR /tmp/pardes-snap/images/cwd Del | | pic.ppm pic.ppm @@ -123,7 +123,7 @@ | | == snap tag-edit grid=150x30 cursor=45,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | img /tmp/pardes-snap/images/cwd/pic.ppmZork Del NOR /tmp/pardes-snap/images/cwd Del NOR /tmp/pardes-snap/images/cwd Del | | pic.ppm pic.ppm diff --git a/test/snapshots/layout-close.golden b/test/snapshots/layout-close.golden index c3893c2d..0b745305 100644 --- a/test/snapshots/layout-close.golden +++ b/test/snapshots/layout-close.golden @@ -1,5 +1,5 @@ == snap built grid=140x40 cursor=4,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del | | marker.txt marker.txt @@ -40,7 +40,7 @@ | | == snap altc grid=140x40 cursor=98,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del | | marker.txt marker.txt marker.txt @@ -81,7 +81,7 @@ | | == snap del grid=140x40 cursor=98,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del | | marker.txt marker.txt marker.txt @@ -122,7 +122,7 @@ | | == snap exit grid=140x40 cursor=98,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del | | marker.txt marker.txt marker.txt @@ -163,7 +163,7 @@ | | == snap colclose grid=140x40 cursor=4,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-close/cwd Del NOR /tmp/pardes-snap/layout-close/cwd Del | | marker.txt marker.txt diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index e95cf9cc..aebb4caa 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -1,5 +1,5 @@ == snap before grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-open/cwd Del NOR /tmp/pardes-snap/layout-open/cwd Del | | sub sub @@ -30,7 +30,7 @@ | | == snap altn-left grid=100x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-open/cwd Del NOR /tmp/pardes-snap/layout-open/cwd Del | | sub sub @@ -61,7 +61,7 @@ | | == snap altn-right grid=100x30 cursor=54,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-open/cwd Del NOR /tmp/pardes-snap/layout-open/cwd Del | | sub sub @@ -92,7 +92,7 @@ | | == snap file-open grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-ope NOR /tmp/pardes-snap/layout-ope NOR /tmp/pardes-snap/layout-open | 1 echo 'TTY'OK | sub sub @@ -123,7 +123,7 @@ | | == snap ttydir grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/layout-ope NOR /tmp/pardes-snap/layout-ope NOR /tmp/pardes-snap/layout-open | 1 echo 'TTY'OK | sub sub diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 5215b6ae..6f88ad7e 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -1,5 +1,5 @@ == snap spc grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Sav SPC NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -39,9 +39,9 @@ | | | -== snap spc-f grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep -| NOR /tmp/pardes-snap/leader/cwd/cmds.txt S SPC f NOR /tmp/pardes-snap/leader/cwd Del +== snap spc-h grid=100x40 cursor=7,2 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/leader/cwd/cmds.txt S SPC h NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt | @@ -81,7 +81,7 @@ | | == snap abandoned grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -122,7 +122,7 @@ | | == snap unmapped grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -163,7 +163,7 @@ | | == snap help-word grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -189,22 +189,22 @@ | 2 or execute the name anywhere | 3 | 4 SPC ? Help -| 5 SPC D WsDiagnostics -| 6 SPC S WsSymbols -| 7 SPC T Tutor -| 8 SPC a CodeAction -| 9 SPC c d Delcol -| 10 SPC c n Newcol -| 11 SPC d Diagnostics -| 12 SPC f d Dump -| 13 SPC f f Find -| 14 SPC f g Grep -| 15 SPC f r Restore -| 16 SPC f s Save -| 17 SPC h SelectRefs -| 18 SPC k Hover +| 5 SPC c d Delcol +| 6 SPC c n Newcol +| 7 SPC d Del +| 8 SPC f f Find +| 9 SPC f g Grep +| 10 SPC f s Save +| 11 SPC h t Tutor +| 12 SPC k Kill +| 13 SPC l D WsDiagnostics +| 14 SPC l S WsSymbols +| 15 SPC l a CodeAction +| 16 SPC l d Diagnostics +| 17 SPC l h SelectRefs +| 18 SPC l i Lspinfo == snap help-group grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -226,14 +226,14 @@ | | | NOR /tmp/pardes-snap/leader/cwd/+Help Del -| 1 pardes builtins under SPC f +| 1 pardes builtins under SPC h | 2 -| 3 SPC f d Dump -| 4 SPC f f Find -| 5 SPC f g Grep -| 6 SPC f r Restore -| 7 SPC f s Save -| 8 +| 3 SPC h t Tutor +| 4 +| +| +| +| | | | @@ -245,7 +245,7 @@ | | == snap tutor grid=100x40 cursor=7,12 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -267,14 +267,14 @@ | 8 | 9 | NOR /tmp/pardes-snap/leader/cwd/+Help Del -| 1 pardes builtins under SPC f +| 1 pardes builtins under SPC h | 2 -| 3 SPC f d Dump -| 4 SPC f f Find -| 5 SPC f g Grep -| 6 SPC f r Restore -| 7 SPC f s Save -| 8 +| 3 SPC h t Tutor +| 4 +| +| +| +| | | | @@ -286,7 +286,7 @@ | | == snap deleted grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -308,14 +308,14 @@ | | | NOR /tmp/pardes-snap/leader/cwd/+Help Del -| 1 pardes builtins under SPC f +| 1 pardes builtins under SPC h | 2 -| 3 SPC f d Dump -| 4 SPC f f Find -| 5 SPC f g Grep -| 6 SPC f r Restore -| 7 SPC f s Save -| 8 +| 3 SPC h t Tutor +| 4 +| +| +| +| | | | @@ -327,7 +327,7 @@ | | == snap help-all grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -353,22 +353,22 @@ | 2 or execute the name anywhere | 3 | 4 SPC ? Help -| 5 SPC D WsDiagnostics -| 6 SPC S WsSymbols -| 7 SPC T Tutor -| 8 SPC a CodeAction -| 9 SPC c d Delcol -| 10 SPC c n Newcol -| 11 SPC d Diagnostics -| 12 SPC f d Dump -| 13 SPC f f Find -| 14 SPC f g Grep -| 15 SPC f r Restore -| 16 SPC f s Save -| 17 SPC h SelectRefs -| 18 SPC k Hover +| 5 SPC c d Delcol +| 6 SPC c n Newcol +| 7 SPC d Del +| 8 SPC f f Find +| 9 SPC f g Grep +| 10 SPC f s Save +| 11 SPC h t Tutor +| 12 SPC k Kill +| 13 SPC l D WsDiagnostics +| 14 SPC l S WsSymbols +| 15 SPC l a CodeAction +| 16 SPC l d Diagnostics +| 17 SPC l h SelectRefs +| 18 SPC l i Lspinfo == snap help-toggles grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -409,7 +409,7 @@ | | == snap help-window grid=100x40 cursor=7,22 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt @@ -433,24 +433,65 @@ | NOR /tmp/pardes-snap/leader/cwd/+Help Del | 1 pardes builtins under SPC w | 2 -| 3 SPC w c Del -| 4 SPC w h Left -| 5 SPC w j Down -| 6 SPC w k Up -| 7 SPC w l Right -| 8 SPC w t Toggleterm -| 9 +| 3 SPC w h Left +| 4 SPC w j Down +| 5 SPC w k Up +| 6 SPC w l Right +| 7 SPC w t Toggleterm +| 8 +| +| +| +| | | | | | | +== snap help-language grid=100x40 cursor=7,22 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del +| 1 Help +| cmds.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| NOR /tmp/pardes-snap/leader/cwd/+Help Del +| 1 pardes builtins under SPC l +| 2 +| 3 SPC l D WsDiagnostics +| 4 SPC l S WsSymbols +| 5 SPC l a CodeAction +| 6 SPC l d Diagnostics +| 7 SPC l h SelectRefs +| 8 SPC l i Lspinfo +| 9 SPC l k Hover +| 10 SPC l r Rename +| 11 SPC l s Symbols +| 12 SPC l w Lspwhy +| 13 +| +| | | | == snap esc-del grid=100x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del | 1 Help | cmds.txt diff --git a/test/snapshots/leader.snap b/test/snapshots/leader.snap index e06d5a3c..7cd0b98d 100644 --- a/test/snapshots/leader.snap +++ b/test/snapshots/leader.snap @@ -6,10 +6,6 @@ # pane with no file behind it, like +Search). The paths, the Help lines and # the execute dispatch are all folded out of ONE enum at comptime — so # executing the WORD `Help` runs the same builtin the leader does. -# -# The single-letter slots k/r/a/h/s/S/d/D belong to helix's LSP commands, so -# pardes's own builtins live around them: Kill on `q`, Del in the window group -# as `w c`, Dump/Restore in the file group, Tutor on `T`. file cmds.txt Help start 40 100 cmds.txt wait 8000 Kill Newcol @@ -19,10 +15,10 @@ stable 700 20000 key space stable 400 5000 snap spc -# ... and grows as the path is typed (`f` = the file group) -key f +# ... and grows as the path is typed (`h` = the docs group) +key h stable 400 5000 -snap spc-f +snap spc-h # Esc abandons the sequence: indicator gone, nothing ran, cursor untouched key esc settle 100 @@ -31,43 +27,43 @@ snap abandoned # an UNMAPPED key abandons too, rather than waiting: a typo must not leave the # next keystroke armed at a builtin that closes panes key space -key z +key q stable 400 5000 snap unmapped # executing the WORD `Help` (middle-click) runs the builtin — the enum IS the # lookup, so a name works anywhere text lives. Every builtin, with its keys. press middle 9 3 release middle 9 3 -wait 10000 SPC T +wait 10000 SPC h t stable 700 15000 snap help-word -# `SPC f ?`: only the `f` group, rewritten into the SAME +Help buffer +# `SPC h ?`: only the `h` group, rewritten into the SAME +Help buffer key space -key f +key h key ? -wait 10000 under SPC f +wait 10000 under SPC h stable 700 15000 snap help-group -# `SPC T`: the Tutor builtin, zero arguments. It runs from the +Help pane, +# `SPC h t`: the Tutor builtin, zero arguments. It runs from the +Help pane, # but that is an output pane and not a document — so the tutor lands under # cmds.txt, the real doc, with the listing left at the foot of the column. key space -key T +key h +key t wait 10000 PARDES TUTOR stable 700 15000 snap tutor -# `SPC w c`: Del is pane-scoped — it closes the tutor, focus falls back. It -# sits in the window group because closing a pane IS a window operation, and -# because `d` now belongs to the diagnostics picker. +# `SPC d`: Del is pane-scoped — it closes the tutor, focus falls back key space -key w -key c +key d stable 700 15000 snap deleted -# `SPC ?` at the root lists everything again +# `SPC ?` at the root lists everything again. Waits on an EARLY row: the full +# listing outgrew this pane when the language group landed (Restore, which this +# used to watch for, is now row 21 of 33 and falls off the bottom). key space key ? -wait 10000 SPC f r +wait 10000 SPC c n stable 700 15000 snap help-all # `SPC t ?`: the toggle group, seven of them now that the image renderer @@ -79,14 +75,25 @@ key ? wait 10000 Petscii stable 700 15000 snap help-toggles -# `SPC w ?`: the window group — the four focus moves, the terminal hop, and -# Del. They are the tail of the full listing above and fall off its bottom. +# `SPC w ?`: the window group, whose five builtins are the tail of the full +# listing above and fall off the bottom of this pane there key space key w key ? wait 10000 Toggleterm stable 700 15000 snap help-window +# `SPC l ?`: the LANGUAGE group — every LSP command lives here rather than on +# the bare `<space>` letters helix uses, so `d` stays Del and `k` stays Kill. +# Each one keeps helix's own letter INSIDE the group (hover k, rename r, code +# action a, symbols s/S, diagnostics d/D, select-refs h), plus the two +# introspection builtins that are ours: i and w. +key space +key l +key ? +wait 10000 WsDiagnostics +stable 700 15000 +snap help-language # Esc in the BODY of an output buffer IS Del: +Help has no file behind it and # nothing worth keeping, so the key that elsewhere only drops a selection # dismisses the whole pane and hands its height back to the pane above. diff --git a/test/snapshots/load.golden b/test/snapshots/load.golden index 801a1e2b..eaf0a449 100644 --- a/test/snapshots/load.golden +++ b/test/snapshots/load.golden @@ -1,5 +1,5 @@ == snap loaded grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/load/cwd Del NOR /tmp/pardes-snap/load/cwd Del | | LOADMARK d.txt @@ -30,7 +30,7 @@ | | == style loaded -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-34 #949494,#121212, 35-49 d,#121212, 50-51 d,#262626, 52-84 #949494,#121212, 85-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, diff --git a/test/snapshots/logquiet.golden b/test/snapshots/logquiet.golden index 446c0dab..0e5ce9b8 100644 --- a/test/snapshots/logquiet.golden +++ b/test/snapshots/logquiet.golden @@ -1,5 +1,5 @@ == snap quiet grid=100x30 cursor=62,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/logquiet/cwd Del | $ ls | $ printf '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p' diff --git a/test/snapshots/look-center.golden b/test/snapshots/look-center.golden index f5309a32..b9496e57 100644 --- a/test/snapshots/look-center.golden +++ b/test/snapshots/look-center.golden @@ -1,5 +1,5 @@ == snap center-open grid=150x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-center/cwd/big.txt Sav NOR /tmp/pardes-snap/look-center/cwd Del NOR /tmp/pardes-snap/look-center/cwd Del | 86 line 86 | 87 line 87 big.txt big.txt @@ -30,7 +30,7 @@ | 112 line 112 | 113 line 113 == snap center-dedup grid=150x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-center/cwd/big.txt Sav NOR /tmp/pardes-snap/look-center/cwd Del NOR /tmp/pardes-snap/look-center/cwd Del | 86 line 86 | 87 line 87 big.txt big.txt @@ -61,7 +61,7 @@ | 112 line 112 | 113 line 113 == snap center-clamp grid=150x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-center/cwd/big.txt Sav NOR /tmp/pardes-snap/look-center/cwd Del NOR /tmp/pardes-snap/look-center/cwd Del | 86 line 86 | 87 line 87 big.txt big.txt diff --git a/test/snapshots/look-dir.golden b/test/snapshots/look-dir.golden index 5b77d8f4..ae81beca 100644 --- a/test/snapshots/look-dir.golden +++ b/test/snapshots/look-dir.golden @@ -1,5 +1,5 @@ == snap dir-open grid=100x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-dir/cwd Del NOR /tmp/pardes-snap/look-dir/cwd Del | | sub top.txt sub top.txt diff --git a/test/snapshots/look-file-1col.golden b/test/snapshots/look-file-1col.golden index ff4c90c7..f38f062d 100644 --- a/test/snapshots/look-file-1col.golden +++ b/test/snapshots/look-file-1col.golden @@ -1,5 +1,5 @@ == snap file-open-1col grid=100x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-file-1col/cwd/big.txt NOR /tmp/pardes-snap/look-file-1col/cwd Del | 26 line 26 | 27 line 27 big.txt diff --git a/test/snapshots/look-file.golden b/test/snapshots/look-file.golden index 81280d94..0289ba29 100644 --- a/test/snapshots/look-file.golden +++ b/test/snapshots/look-file.golden @@ -1,5 +1,5 @@ == snap file-open grid=150x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/look-file/cwd/big.txt Save NOR /tmp/pardes-snap/look-file/cwd Del NOR /tmp/pardes-snap/look-file/cwd Del | 26 line 26 | 27 line 27 big.txt big.txt @@ -30,7 +30,7 @@ | 52 line 52 | 53 line 53 == style file-open -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-89 #949494,#121212, 90-99 d,#121212, 100-101 d,#262626, 102-139 #949494,#121212, 140-149 d,#121212, |2: 0-1 d,#121212, 2-6 #626262,#080808, 7-13 #bdbdbd,#080808, 14-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#121212, 2-6 #626262,#080808, 7-13 #bdbdbd,#080808, 14-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, diff --git a/test/snapshots/lookloaded.golden b/test/snapshots/lookloaded.golden index e4720500..03b63b57 100644 --- a/test/snapshots/lookloaded.golden +++ b/test/snapshots/lookloaded.golden @@ -1,5 +1,5 @@ == snap file-open grid=100x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded/ | 26 line 26 | 27 line 27 big.txt big.txt @@ -30,7 +30,7 @@ | 52 line 52 | 53 line 53 == snap removed grid=100x30 cursor=37,10 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded/ | 26 line 26 | 27 line 27 big.txt big.txt @@ -61,7 +61,7 @@ | 52 line 52 | 53 line 53 == snap look-noFS grid=100x30 cursor=7,11 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded NOR /tmp/pardes-snap/lookloaded/ | 1 line 1 | 2 line 2 big.txt big.txt diff --git a/test/snapshots/lookpanes.golden b/test/snapshots/lookpanes.golden index 48fdbbdd..93a940c5 100644 --- a/test/snapshots/lookpanes.golden +++ b/test/snapshots/lookpanes.golden @@ -1,5 +1,5 @@ == snap shells grid=130x50 cursor=122,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Save Del NOR /tmp/pardes-snap/lookpanes/cwd Del | 1 both.txt | 2 b-marker alpha beta zzboot.txt zqonly.txt pick.txt twin.txt @@ -50,7 +50,7 @@ | | == snap other-dir grid=130x50 cursor=7,27 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Save Del NOR /tmp/pardes-snap/lookpanes/cwd Del | 1 both.txt | 2 b-marker alpha beta zzboot.txt zqonly.txt pick.txt twin.txt @@ -101,7 +101,7 @@ | | == snap clicked-wins grid=130x50 cursor=7,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Save Del NOR /tmp/pardes-snap/lookpanes/cwd Del | 1 both.txt | 2 b-marker alpha beta zzboot.txt zqonly.txt pick.txt twin.txt @@ -152,7 +152,7 @@ | | == snap mru-alpha grid=130x50 cursor=7,9 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Save Del NOR /tmp/pardes-snap/lookpanes/cwd Del | 1 both.txt | 2 b-marker alpha beta zzboot.txt zqonly.txt pick.txt twin.txt @@ -203,7 +203,7 @@ | | == snap mru-beta grid=130x50 cursor=7,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lookpanes/cwd/beta/bmark.txt Save Del NOR /tmp/pardes-snap/lookpanes/cwd Del | 1 both.txt | 2 b-marker alpha beta zzboot.txt zqonly.txt pick.txt twin.txt @@ -254,7 +254,7 @@ | | == style mru-beta -|0: 0-47 #949494,#121212, 48-129 d,#121212, +|0: 0-52 #949494,#121212, 53-129 d,#121212, |1: 0-1 d,#262626, 2-59 #949494,#121212, 60-64 d,#121212, 65-66 d,#262626, 67-104 #949494,#121212, 105-129 d,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-14 #bdbdbd,#080808, 15-64 d,#080808, 65-66 d,#444444, 67-129 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-14 #bdbdbd,#080808, 15-64 d,#080808, 65-66 d,#444444, 67-121 #bdbdbd,#080808, 122-129 d,#080808, diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index c85a412b..32d5b6d0 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -1,5 +1,5 @@ == snap opened grid=120x40 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -40,7 +40,7 @@ | | == snap cursor grid=120x40 cursor=17,9 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -81,7 +81,7 @@ | | == snap definition grid=120x40 cursor=10,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -122,7 +122,7 @@ | | == snap hover grid=120x40 cursor=10,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -163,7 +163,7 @@ | 1 fn helper(x: u32) u32 | 2 (fn (u32) u32) == snap symbols grid=120x40 cursor=10,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -204,7 +204,7 @@ | 1 fn helper(x: u32) u32 | 2 (fn (u32) u32) == snap step grid=120x40 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig @@ -245,7 +245,7 @@ | 1 fn helper(x: u32) u32 | 2 (fn (u32) u32) == snap nothing grid=120x40 cursor=7,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/lsp/cwd/a.zig Save Del NOR /tmp/pardes-snap/lsp/cwd Del | 1 const std = @import("std"); | 2 a.zig diff --git a/test/snapshots/lsp.snap b/test/snapshots/lsp.snap index 9ea84e1f..a1cc056c 100644 --- a/test/snapshots/lsp.snap +++ b/test/snapshots/lsp.snap @@ -27,16 +27,18 @@ key g key d stable 700 15000 snap definition -# SPC k is hover (K is keep_selections in helix and stays that way). The answer +# SPC l k is hover (K is keep_selections in helix and stays that way). The answer # is prose, not locations, so it opens +Hover and does NOT arm the n/N stepper. key space +key l key k stable 700 15000 snap hover -# SPC s lists the file's own symbols. Several rows, so it opens a +Search +# SPC l s lists the file's own symbols. Several rows, so it opens a +Search # buffer — which IS the picker: n steps a row and looks it, exactly as the Find # and `/` results already do, with no picker code of its own. key space +key l key s stable 700 15000 snap symbols diff --git a/test/snapshots/lspdebug.golden b/test/snapshots/lspdebug.golden new file mode 100644 index 00000000..2bce4aa6 --- /dev/null +++ b/test/snapshots/lspdebug.golden @@ -0,0 +1,225 @@ +== snap opened grid=120x44 cursor=7,2 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/lspdebug/cwd/z.zig Save Del NOR /tmp/pardes-snap/lspdebug/cwd Del +| 1 const std = @import("std"); +| 2 z.zig +| 3 fn helper() u32 { +| 4 return 3; +| 5 } +| 6 +| 7 pub fn main() void { +| 8 const v = helper(); +| 9 _ = v; +| 10 } +| 11 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap ctrlclick grid=120x44 cursor=10,4 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/lspdebug/cwd/z.zig Save Del NOR /tmp/pardes-snap/lspdebug/cwd Del +| 1 const std = @import("std"); +| 2 z.zig +| 3 fn helper() u32 { +| 4 return 3; +| 5 } +| 6 +| 7 pub fn main() void { +| 8 const v = helper(); +| 9 _ = v; +| 10 } +| 11 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap plainclick grid=120x44 cursor=21,9 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/lspdebug/cwd/z.zig Save Del NOR /tmp/pardes-snap/lspdebug/cwd Del +| 1 const std = @import("std"); +| 2 z.zig +| 3 fn helper() u32 { +| 4 return 3; +| 5 } +| 6 +| 7 pub fn main() void { +| 8 const v = helper(); +| 9 _ = v; +| 10 } +| 11 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap why grid=120x44 cursor=7,4 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/lspdebug/cwd/z.zig Save Del NOR /tmp/pardes-snap/lspdebug/cwd Del +| 1 const std = @import("std"); +| 2 z.zig +| 3 fn helper() u32 { +| 4 return 3; +| 5 } +| 6 +| 7 pub fn main() void { +| 8 const v = helper(); +| 9 _ = v; +| 10 } +| 11 +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| NOR /tmp/pardes-snap/lspdebug/cwd/+Lsp Del +| 1 lsp explain — the definition query at byte 29 of z.zi +| 2 +| 3 zig lib dir: /usr/lib/zig (open) — `std` imports reso +| 4 parsed 122 bytes, 0 syntax error(s) +| 5 position context: .empty +| 6 STOP: nothing to resolve in a .empty context — `gd` o +| 7 an identifier, a field access, a label, an enum +| 8 +| 9 0 row(s) +== snap info grid=120x44 cursor=7,4 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/lspdebug/cwd/z.zig Save Del NOR /tmp/pardes-snap/lspdebug/cwd Del +| 1 const std = @import("std"); +| 2 z.zig +| 3 fn helper() u32 { +| 4 return 3; +| 5 } +| 6 +| 7 pub fn main() void { +| 8 const v = helper(); +| 9 _ = v; +| 10 } +| 11 +| +| +| +| +| +| NOR /tmp/pardes-snap/lspdebug/cwd/+Lsp Del +| 1 backend: zls-inproc +| 2 zls: 0.16.1-dev+3e0d0820 (compiled in — no server pro +| 3 zig lib dir: /usr/lib/zig [OK] +| 4 offsets: utf-8 walk caps: 512 files, 2000 rows +| 5 +| 6 dependency imports gd can follow (6): +| 7 zls /home/goblin/00-projects/0x4200.cafe +| 8 tree-sitter /home/goblin/00-projects/0x4200.cafe +| 9 zstbi /home/goblin/00-projects/0x4200.cafe +| 10 ghostty-vt /home/goblin/00-projects/0x4200.cafe +| 11 vaxis /home/goblin/00-projects/0x4200.cafe +| 12 uucode /home/goblin/00-projects/0x4200.cafe +| 13 asked from: /tmp/pardes-snap/lspdebug/cwd/z.zig +| 14 +| 15 answers: definition, declaration, type_definition, im +| NOR /tmp/pardes-snap/lspdebug/cwd/+Lsp Del +| 1 lsp explain — the definition query at byte 29 of z.zi +| 2 +| 3 zig lib dir: /usr/lib/zig (open) — `std` imports reso +| 4 parsed 122 bytes, 0 syntax error(s) +| 5 position context: .empty +| 6 STOP: nothing to resolve in a .empty context — `gd` o +| 7 an identifier, a field access, a label, an enum +| 8 +| 9 0 row(s) diff --git a/test/snapshots/lspdebug.snap b/test/snapshots/lspdebug.snap new file mode 100644 index 00000000..a2160408 --- /dev/null +++ b/test/snapshots/lspdebug.snap @@ -0,0 +1,52 @@ +# The mouse chord and the two introspection builtins. +# +# Ctrl-left-click IS `gd`. It rides the ordinary left-click drag rather than +# firing on the press, because a click does not place the modal cursor until +# RELEASE — asking at press time would answer about wherever the cursor +# happened to be sitting, which is the bug this test would not have caught. +# +# `SPC l w` and `SPC l i` exist because this backend never fails loudly: a +# thrown analyser must not take the editor with it, but that makes a broken +# backend and a correct one that found nothing look identical. These two tell +# them apart, so they are worth a test that proves they say something TRUE. +file z.zig const std = @import("std");\n\nfn helper() u32 {\n return 3;\n}\n\npub fn main() void {\n const v = helper();\n _ = v;\n}\n +start 44 120 z.zig +wait 8000 fn helper +stable 700 20000 +snap opened +# Ctrl-click on the `helper` of the CALL (row 10 = file line 8, col 22 = the +# `h`). One definition, so it jumps rather than listing: the cursor lands on +# line 3, the `helper` of `fn helper()`, in this same pane. +press ctrl-left 22 10 +release ctrl-left 22 10 +stable 700 15000 +snap ctrlclick +# A PLAIN left click in the same place must NOT jump — the modifier is the +# whole difference, and without this the test above would pass on a bug that +# made every click a goto. +press left 22 10 +release left 22 10 +stable 700 15000 +snap plainclick +# `SPC l w` on a keyword: `gd` finds nothing there, and the point of Lspwhy is +# that it says WHY rather than leaving you with a no-op key. It narrates the +# real resolution path — the position context is the analyser's own answer, +# not a guess reconstructed beside it. +text 3gg1g| +stable 400 10000 +key space +key l +key w +wait 10000 position context +stable 700 15000 +snap why +# `SPC l i`: which ZLS, which stdlib, what it answers, and the query log — +# which by now holds the two gotos and the explain above, with their timings. +# It answers from any pane, including one with no file, because it is about +# the BACKEND. +key space +key l +key i +wait 10000 zls-inproc +stable 700 15000 +snap info diff --git a/test/snapshots/modal.golden b/test/snapshots/modal.golden index 616341ce..7ff3073d 100644 --- a/test/snapshots/modal.golden +++ b/test/snapshots/modal.golden @@ -1,5 +1,5 @@ == snap top grid=100x30 cursor=2,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -30,7 +30,7 @@ | | == snap moved grid=100x30 cursor=5,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -61,7 +61,7 @@ | | == snap xsel grid=100x30 cursor=15,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -92,7 +92,7 @@ | | == style xsel -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-35 #949494,#121212, 36-49 d,#121212, 50-51 d,#262626, 52-85 #949494,#121212, 86-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, @@ -123,7 +123,7 @@ |28: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, == snap xsel2 grid=100x30 cursor=15,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -154,7 +154,7 @@ | | == snap yanked grid=100x30 cursor=15,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -185,7 +185,7 @@ | | == snap vsel grid=100x30 cursor=16,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -216,7 +216,7 @@ | | == style vsel -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-35 #949494,#121212, 36-49 d,#121212, 50-51 d,#262626, 52-85 #949494,#121212, 86-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, @@ -247,7 +247,7 @@ |28: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, == snap typed grid=100x30 cursor=7,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -278,7 +278,7 @@ | | == snap undone grid=100x30 cursor=16,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -309,7 +309,7 @@ | | == snap redone grid=100x30 cursor=7,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt @@ -340,7 +340,7 @@ | | == snap bottom grid=100x30 cursor=2,9 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/modal/cwd Del NOR /tmp/pardes-snap/modal/cwd Del | | words.txt words.txt diff --git a/test/snapshots/psearch.golden b/test/snapshots/psearch.golden index e1414ffa..2bd9fc81 100644 --- a/test/snapshots/psearch.golden +++ b/test/snapshots/psearch.golden @@ -1,5 +1,5 @@ == snap output grid=140x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -30,7 +30,7 @@ | | == snap typing grid=140x30 cursor=44,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/psearch/cwd Del /MARK | | x MARK a @@ -61,7 +61,7 @@ | | == snap results grid=140x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -92,7 +92,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == snap first grid=140x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -123,7 +123,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == style first -|0: 0-47 #949494,#121212, 48-139 d,#121212, +|0: 0-52 #949494,#121212, 53-139 d,#121212, |1: 0-1 d,#626262, 2-37 #949494,#121212, 38-139 d,#121212, |2: 0-1 d,#444444, 2-139 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-139 #bdbdbd,#080808, @@ -154,7 +154,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-22 #bdbdbd,#080808, 23-139 d,#080808, |29: 0-1 d,#121212, 2-6 #626262,#080808, 7-22 #bdbdbd,#080808, 23-139 d,#080808, == snap second grid=140x30 cursor=4,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -185,7 +185,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == snap back grid=140x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -216,7 +216,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == snap nomatch grid=140x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a @@ -247,7 +247,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == snap ttyinert grid=140x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/psearch/cwd Del | $ printf 'x MA''RK a\nzz\nx MA''RK b\nzz\nx MA''RK c\n' | x MARK a @@ -278,7 +278,7 @@ | 2 @p0:4:3 x MARK b | 3 @p0:6:3 x MARK c == snap rightsearch grid=140x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/psearch/cwd Del | | x MARK a diff --git a/test/snapshots/reflow.golden b/test/snapshots/reflow.golden index 5d4462e2..55c226ad 100644 --- a/test/snapshots/reflow.golden +++ b/test/snapshots/reflow.golden @@ -1,5 +1,5 @@ == snap widened grid=200x24 cursor=4,19 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/reflow/cwd Del | $ printf 'y%.0s' $(seq 1 3000); echo do''ne | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy diff --git a/test/snapshots/respawn.golden b/test/snapshots/respawn.golden index a0bb6ac9..02ed7601 100644 --- a/test/snapshots/respawn.golden +++ b/test/snapshots/respawn.golden @@ -1,5 +1,5 @@ == snap respawn grid=100x30 cursor=4,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/respawn/cwd Del NOR /tmp/pardes-snap/respawn/cwd Del | | diff --git a/test/snapshots/restore.golden b/test/snapshots/restore.golden index afb048d3..8e2ec9e6 100644 --- a/test/snapshots/restore.golden +++ b/test/snapshots/restore.golden @@ -1,5 +1,5 @@ == snap dumped grid=100x30 cursor=4,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep Restore /tmp/pardes-snap/restore/dump.zon +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help Restore /tmp/pardes-snap/restore/dump.zon | TTY /tmp/pardes-snap/restore/cwd Del | $ ls | $ echo KEEP''ME @@ -30,7 +30,7 @@ | | == snap restored grid=100x30 cursor=45,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep Restore /tmp/pardes-snap/restore/dump.zon +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help Restore /tmp/pardes-snap/restore/dump.zon | INS /tmp/pardes-snap/restore/cwd Del Find / | | diff --git a/test/snapshots/rsearch.golden b/test/snapshots/rsearch.golden index c577456c..ee2a1cb4 100644 --- a/test/snapshots/rsearch.golden +++ b/test/snapshots/rsearch.golden @@ -1,5 +1,5 @@ == snap opened grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/rsearch/cwd/code.txt Save Del NOR /tmp/pardes-snap/rsearch/cwd Del NOR /tmp/pardes-snap/rsearch/cwd Del | 1 run count_x now | 2 open sub/dep.txt:3 here code.txt sub code.txt sub @@ -30,7 +30,7 @@ | | == snap search grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/rsearch/cwd/code.txt Save Del NOR /tmp/pardes-snap/rsearch/cwd Del NOR /tmp/pardes-snap/rsearch/cwd Del | 1 run count_x now | 2 open sub/dep.txt:3 here code.txt sub code.txt sub @@ -61,7 +61,7 @@ | 1 code.txt:1:5 run count_x now | 2 code.txt:3:1 count_x again == snap select grid=180x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/rsearch/cwd/code.txt Save Del NOR /tmp/pardes-snap/rsearch/cwd Del NOR /tmp/pardes-snap/rsearch/cwd Del | 1 run count_x now | 2 open sub/dep.txt:3 here code.txt sub code.txt sub @@ -92,7 +92,7 @@ | 1 code.txt:1:5 run count_x now | 2 code.txt:3:1 count_x again == snap path-open grid=180x30 cursor=7,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/rsearch/cwd/code.txt Save Del NOR /tmp/pardes-snap/rsearch/cwd Del NOR /tmp/pardes-snap/rsearch/cwd Del | 1 run count_x now | 2 open sub/dep.txt:3 here code.txt sub code.txt sub diff --git a/test/snapshots/scroll.golden b/test/snapshots/scroll.golden index 4faf71b2..e1a44f1f 100644 --- a/test/snapshots/scroll.golden +++ b/test/snapshots/scroll.golden @@ -1,5 +1,5 @@ == snap bottom grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scroll/cwd Del NOR /tmp/pardes-snap/scroll/cwd Del | 188 | 189 s.txt @@ -30,7 +30,7 @@ | | == snap wheel3 grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scroll/cwd Del NOR /tmp/pardes-snap/scroll/cwd Del | 185 | 186 s.txt @@ -61,7 +61,7 @@ | | == snap gutter-up grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scroll/cwd Del NOR /tmp/pardes-snap/scroll/cwd Del | 178 | 179 s.txt @@ -92,7 +92,7 @@ | | == snap gutter-down grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scroll/cwd Del NOR /tmp/pardes-snap/scroll/cwd Del | 180 | 181 s.txt @@ -123,7 +123,7 @@ | | == snap wheel-down grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scroll/cwd Del NOR /tmp/pardes-snap/scroll/cwd Del | 181 | 182 s.txt @@ -154,7 +154,7 @@ | | == style wheel-down -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-36 #949494,#121212, 37-49 d,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, |2: 0-1 d,#121212, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#121212, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, diff --git a/test/snapshots/scrolloff.golden b/test/snapshots/scrolloff.golden index 9210d589..2264d902 100644 --- a/test/snapshots/scrolloff.golden +++ b/test/snapshots/scrolloff.golden @@ -1,5 +1,5 @@ == snap top grid=150x11 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt @@ -11,7 +11,7 @@ | 8 line 8 | 9 line 9 == snap edge grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt @@ -23,7 +23,7 @@ | 8 line 8 | 9 line 9 == snap scrolled1 grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 2 line 2 | 3 line 3 g.txt g.txt @@ -35,7 +35,7 @@ | 9 line 9 | 10 line 10 == snap jdown grid=150x11 cursor=7,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 6 line 6 | 7 line 7 g.txt g.txt @@ -47,7 +47,7 @@ | 13 line 13 | 14 line 14 == snap end grid=150x11 cursor=7,9 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 33 line 33 | 34 line 34 g.txt g.txt @@ -59,7 +59,7 @@ | 40 line 40 | 41 == snap kup grid=150x11 cursor=7,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 29 line 29 | 30 line 30 g.txt g.txt @@ -71,7 +71,7 @@ | 36 line 36 | 37 line 37 == snap top2 grid=150x11 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/scrolloff/cwd/g.txt Save De NOR /tmp/pardes-snap/scrolloff/cwd Del NOR /tmp/pardes-snap/scrolloff/cwd Del | 1 line 1 | 2 line 2 g.txt g.txt diff --git a/test/snapshots/selarg.golden b/test/snapshots/selarg.golden index f20b80de..57cecdfd 100644 --- a/test/snapshots/selarg.golden +++ b/test/snapshots/selarg.golden @@ -1,5 +1,5 @@ == snap kept grid=100x30 cursor=6,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/selarg/cwd Del NOR /tmp/pardes-snap/selarg/cwd Del | ZZARG ZZVEE ./c.sh | @@ -30,7 +30,7 @@ | | == snap crosspane grid=100x30 cursor=6,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/selarg/cwd Del NOR /tmp/pardes-snap/selarg/cwd Del | ZZARG ZZVEE ./c.sh | @@ -61,7 +61,7 @@ | | == snap vselarg grid=100x30 cursor=12,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/selarg/cwd Del NOR /tmp/pardes-snap/selarg/cwd Del | ZZARG ZZVEE ./c.sh | diff --git a/test/snapshots/shrinktag.golden b/test/snapshots/shrinktag.golden index 3f2e1ecf..9bdd4073 100644 --- a/test/snapshots/shrinktag.golden +++ b/test/snapshots/shrinktag.golden @@ -1,5 +1,5 @@ == snap before grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/shrinktag/cwd Del NOR /tmp/pardes-snap/shrinktag/cwd Del | | w.txt w.txt @@ -30,7 +30,7 @@ | | == snap shrunk grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/shrinktag/cwd Del NOR /tmp/pardes-snap/shrinktag/cwd Del | NOR /tmp/pardes-snap/shrinktag/cwd Del | w.txt @@ -61,7 +61,7 @@ | | == snap move-preview grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/shrinktag/cwd Del NOR /tmp/pardes-snap/shrinktag/cwd Del | NOR /tmp/pardes-snap/shrinktag/cwd Del | w.txt @@ -92,7 +92,7 @@ | | == snap restored grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/shrinktag/cwd Del NOR /tmp/pardes-snap/shrinktag/cwd Del | | w.txt w.txt @@ -123,7 +123,7 @@ | | == snap bottom-shrunk grid=100x30 cursor=2,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/shrinktag/cwd Del NOR /tmp/pardes-snap/shrinktag/cwd Del | | w.txt w.txt diff --git a/test/snapshots/splitparent.golden b/test/snapshots/splitparent.golden index 614ec15e..37af9fab 100644 --- a/test/snapshots/splitparent.golden +++ b/test/snapshots/splitparent.golden @@ -1,5 +1,5 @@ == snap shrunk grid=100x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del | NOR /tmp/pardes-snap/splitparent/cwd Del | @@ -30,7 +30,7 @@ | | == snap swap-parent grid=100x30 cursor=4,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del | NOR /tmp/pardes-snap/splitparent/cwd Del | @@ -61,13 +61,13 @@ | | == snap tallest grid=100x5 cursor=54,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del | NOR /tmp/pardes-snap/splitparent/cwd Del | NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del | == snap regrown grid=100x30 cursor=54,18 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del | NOR /tmp/pardes-snap/splitparent/cwd Del | diff --git a/test/snapshots/syntax.golden b/test/snapshots/syntax.golden index d92ba339..87333aaa 100644 --- a/test/snapshots/syntax.golden +++ b/test/snapshots/syntax.golden @@ -1,5 +1,5 @@ == snap zig-open grid=150x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/syntax/cwd/demo.zig Save De NOR /tmp/pardes-snap/syntax/cwd Del NOR /tmp/pardes-snap/syntax/cwd Del | 1 const std = @import("std"); // greet | 2 pub fn main() void { demo.zig demo.zig @@ -30,7 +30,7 @@ | | == style zig-open -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, 100-101 d,#262626, 102-136 #949494,#121212, 137-149 d,#121212, |2: 0-1 d,#444444, 2-6 #949494,#121212, 7-18 #bdbdbd,#080808, 19-25 #cf87e8,#080808,b 26-26 #bdbdbd,#080808, 27-31 #e3c78a,#080808, 32-34 #bdbdbd,#080808, 35-42 #ffffff,#080808,b 43-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-10 #bdbdbd,#080808, 11-12 #cf87e8,#080808,b 13-26 #bdbdbd,#080808, 27-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, @@ -61,7 +61,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, == style colors-off -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, 100-101 d,#262626, 102-136 #949494,#121212, 137-149 d,#121212, |2: 0-1 d,#444444, 2-6 #949494,#121212, 7-42 #bdbdbd,#080808, 43-49 d,#080808, 50-51 d,#444444, 52-99 d,#080808, 100-101 d,#444444, 102-149 d,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-26 #bdbdbd,#080808, 27-49 d,#080808, 50-51 d,#444444, 52-59 #bdbdbd,#080808, 60-99 d,#080808, 100-101 d,#444444, 102-109 #bdbdbd,#080808, 110-149 d,#080808, @@ -92,7 +92,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 d,#080808, 100-101 d,#444444, 102-149 d,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 d,#080808, 100-101 d,#444444, 102-149 d,#080808, == style colors-on -|0: 0-47 #949494,#121212, 48-149 d,#121212, +|0: 0-52 #949494,#121212, 53-149 d,#121212, |1: 0-1 d,#626262, 2-49 #949494,#121212, 50-51 d,#262626, 52-86 #949494,#121212, 87-99 d,#121212, 100-101 d,#262626, 102-136 #949494,#121212, 137-149 d,#121212, |2: 0-1 d,#444444, 2-6 #949494,#121212, 7-18 #bdbdbd,#080808, 19-25 #cf87e8,#080808,b 26-26 #bdbdbd,#080808, 27-31 #e3c78a,#080808, 32-34 #bdbdbd,#080808, 35-42 #ffffff,#080808,b 43-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-10 #bdbdbd,#080808, 11-12 #cf87e8,#080808,b 13-26 #bdbdbd,#080808, 27-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, 100-101 d,#444444, 102-149 #bdbdbd,#080808, diff --git a/test/snapshots/tag.golden b/test/snapshots/tag.golden index d351a4df..78dc9610 100644 --- a/test/snapshots/tag.golden +++ b/test/snapshots/tag.golden @@ -1,5 +1,5 @@ == snap tag-focus grid=150x30 cursor=34,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/tag/cwd Del NOR /tmp/pardes-snap/tag/cwd Del | | t.txt t.txt @@ -30,7 +30,7 @@ | | == snap tag-typed grid=150x30 cursor=40,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/tag/cwd Del t.txt NOR /tmp/pardes-snap/tag/cwd Del | | t.txt t.txt @@ -61,7 +61,7 @@ | | == snap tag-del grid=150x30 cursor=36,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/tag/cwd Del t NOR /tmp/pardes-snap/tag/cwd Del | | t.txt t.txt @@ -92,7 +92,7 @@ | | == snap tag-exit grid=150x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tag/cwd Del t.txt NOR /tmp/pardes-snap/tag/cwd Del | | t.txt t.txt @@ -123,7 +123,7 @@ | | == snap tag-look grid=150x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tag/cwd/t.txt Save Del INS /tmp/pardes-snap/tag/cwd Del t.txt NOR /tmp/pardes-snap/tag/cwd Del | 1 ZZLOOKED | t.txt t.txt diff --git a/test/snapshots/tagcmd.golden b/test/snapshots/tagcmd.golden index 55468539..0080f448 100644 --- a/test/snapshots/tagcmd.golden +++ b/test/snapshots/tagcmd.golden @@ -1,5 +1,5 @@ == snap edited grid=100x30 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagcmd/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagcmd/cwd Del | 1 ZZEDITline 1 | 2 line 2 c.txt @@ -30,7 +30,7 @@ | | == snap colon grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagcmd/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagcmd/cwd Del | 1 ZZEDITline 1 | 2 line 2 c.txt @@ -61,7 +61,7 @@ | | == snap word grid=100x30 cursor=44,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagcmd/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagcmd/cwd Del | 1 ZZEDITline 1 | 2 line 2 c.txt @@ -92,7 +92,7 @@ | | == snap saved grid=100x30 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagcmd/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagcmd/cwd Del | 1 ZZEDITline 1 | 2 line 2 c.txt @@ -132,7 +132,7 @@ line 6 == end file == snap escaped grid=100x30 cursor=13,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagcmd/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagcmd/cwd Del | 1 ZZEDITline 1 | 2 line 2 c.txt diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index bd87b811..e1bc7643 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -1,5 +1,5 @@ == snap start grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -30,7 +30,7 @@ | | == snap colon grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -61,7 +61,7 @@ | | == snap right-tag grid=100x30 cursor=83,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -92,7 +92,7 @@ | | == snap left-tag grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -123,7 +123,7 @@ | | == snap down-tag grid=100x30 cursor=33,16 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -154,7 +154,7 @@ | | == snap up-tag grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -185,7 +185,7 @@ | | == snap up-edge grid=100x30 cursor=0,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -216,7 +216,7 @@ | | == snap topbar-word grid=100x30 cursor=4,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -247,7 +247,7 @@ | | == snap topbar-graphemes grid=100x30 cursor=6,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -278,7 +278,7 @@ | | == snap back-down grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -309,7 +309,7 @@ | | == snap arrows-still-motion grid=100x30 cursor=41,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -340,7 +340,7 @@ | | == snap back-to-body grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -371,7 +371,7 @@ | | == snap tty-on grid=100x30 cursor=54,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt @@ -402,7 +402,7 @@ | | == snap tty-tag grid=100x30 cursor=83,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del NOR /tmp/pardes-snap/tagnav/cwd Del | 1 alpha | 2 beta w.txt @@ -433,7 +433,7 @@ | | == snap tty-restored grid=100x30 cursor=54,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt @@ -463,8 +463,8 @@ | | | -== snap topbar-dollar grid=100x30 cursor=47,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +== snap topbar-dollar grid=100x30 cursor=52,0 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt @@ -494,9 +494,9 @@ | | | -== snap topbar-exec grid=100x30 cursor=47,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep -| INS /tmp/pardes-snap/tagnav/cwd/w.txt Save Del G TTY /tmp/pardes-snap/tagnav/cwd Del +== snap topbar-exec grid=100x30 cursor=7,10 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt | 3 gamma $ @@ -504,13 +504,13 @@ | | | -| -| -| -| -| -| -| +| NOR /tmp/pardes-snap/tagnav/cwd/+Help Del +| 1 pardes builtins - SPC then the keys, +| 2 or execute the name anywhere +| 3 +| 4 SPC ? Help +| 5 SPC c d Delcol +| 6 SPC c n Newcol | NOR /tmp/pardes-snap/tagnav/cwd Del | | w.txt @@ -525,9 +525,9 @@ | | | -== snap topbar-restore-word grid=100x30 cursor=47,0 -|Kill Newcol Tutor Debug NextColor Dump Find Grep -| INS /tmp/pardes-snap/tagnav/cwd/w.txt Save Del G TTY /tmp/pardes-snap/tagnav/cwd Del +== snap topbar-restore-word grid=100x30 cursor=40,1 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt | 3 gamma $ @@ -535,13 +535,13 @@ | | | -| -| -| -| -| -| -| +| NOR /tmp/pardes-snap/tagnav/cwd/+Help Del +| 1 pardes builtins - SPC then the keys, +| 2 or execute the name anywhere +| 3 +| 4 SPC ? Help +| 5 SPC c d Delcol +| 6 SPC c n Newcol | NOR /tmp/pardes-snap/tagnav/cwd Del | | w.txt @@ -557,22 +557,22 @@ | | == snap topbar-restored grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagnav/cwd/w.txt Save Del TTY /tmp/pardes-snap/tagnav/cwd Del | 1 alpha $ ls | 2 beta w.txt | 3 gamma $ | | -| -| -| -| -| -| -| | NOR /tmp/pardes-snap/tagnav/cwd/+Search Del | 1 +| NOR /tmp/pardes-snap/tagnav/cwd/+Help Del +| 1 pardes builtins - SPC then the keys, +| 2 or execute the name anywhere +| 3 +| 4 SPC ? Help +| 5 SPC c d Delcol +| 6 SPC c n Newcol | NOR /tmp/pardes-snap/tagnav/cwd Del | | w.txt diff --git a/test/snapshots/tagpath.golden b/test/snapshots/tagpath.golden index e6fee53f..0f194ce4 100644 --- a/test/snapshots/tagpath.golden +++ b/test/snapshots/tagpath.golden @@ -1,5 +1,5 @@ == snap start grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 line 1 | 2 line 2 c.txt @@ -30,7 +30,7 @@ | | == snap colon grid=100x30 cursor=40,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 line 1 | 2 line 2 c.txt @@ -61,7 +61,7 @@ | | == snap col0 grid=100x30 cursor=2,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 line 1 | 2 line 2 c.txt @@ -92,7 +92,7 @@ | | == snap sel-nor grid=100x30 cursor=5,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 line 1 | 2 line 2 c.txt @@ -123,7 +123,7 @@ | | == snap sel-path grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 line 1 | 2 line 2 c.txt @@ -154,7 +154,7 @@ | | == style sel-path -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-4 #949494,#121212, 5-39 #d8c8a8,#4a3a1e, 40-48 #949494,#121212, 49-49 d,#121212, 50-51 d,#262626, 52-87 #949494,#121212, 88-99 d,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, @@ -185,7 +185,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, == snap yanked-path grid=100x30 cursor=42,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 l /tmp/pardes-snap/tagpath/cwd/c.txtine 1 | 2 line 2 c.txt @@ -216,7 +216,7 @@ | | == snap drag-cross grid=100x30 cursor=45,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 l /tmp/pardes-snap/tagpath/cwd/c.txtine 1 | 2 line 2 c.txt @@ -247,7 +247,7 @@ | | == style drag-cross -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-10 #949494,#121212, 11-45 #d8c8a8,#4a3a1e, 46-48 #949494,#121212, 49-49 d,#121212, 50-51 d,#262626, 52-87 #949494,#121212, 88-99 d,#121212, |2: 0-1 d,#444444, 2-6 #626262,#080808, 7-47 #bdbdbd,#080808, 48-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-6 #626262,#080808, 7-12 #bdbdbd,#080808, 13-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, @@ -278,7 +278,7 @@ |28: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-6 #626262,#080808, 7-49 d,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, == snap path-inert grid=100x30 cursor=11,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/tagpath/cwd/c.txt Save Del NOR /tmp/pardes-snap/tagpath/cwd Del | 1 l /tmp/pardes-snap/tagpath/cwd/c.txtine 1 | 2 line 2 c.txt diff --git a/test/snapshots/theme.golden b/test/snapshots/theme.golden index 8f61a888..520258ff 100644 --- a/test/snapshots/theme.golden +++ b/test/snapshots/theme.golden @@ -1,5 +1,5 @@ == snap helix grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/theme/cwd Del NOR /tmp/pardes-snap/theme/cwd Del | | t.txt t.txt @@ -30,7 +30,7 @@ | | == style helix -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-35 #949494,#121212, 36-49 d,#121212, 50-51 d,#262626, 52-85 #949494,#121212, 86-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, @@ -61,7 +61,7 @@ |28: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, == snap dark grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/theme/cwd Del NOR /tmp/pardes-snap/theme/cwd Del | | t.txt t.txt @@ -92,7 +92,7 @@ | | == style dark -|0: 0-47 #969696,#2c2a3e, 48-99 d,#2c2a3e, +|0: 0-52 #969696,#2c2a3e, 53-99 d,#2c2a3e, |1: 0-1 d,#6e4fd0, 2-35 #969696,#2c2a3e, 36-49 d,#2c2a3e, 50-51 d,#383c54, 52-85 #969696,#2c2a3e, 86-99 d,#2c2a3e, |2: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d, |3: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d, @@ -123,7 +123,7 @@ |28: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d, |29: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d, == snap acme grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/theme/cwd Del NOR /tmp/pardes-snap/theme/cwd Del | | t.txt t.txt @@ -154,7 +154,7 @@ | | == style acme -|0: 0-47 #000000,#eaffff, 48-99 d,#eaffff, +|0: 0-52 #000000,#eaffff, 53-99 d,#eaffff, |1: 0-1 d,#6e4fd0, 2-35 #000000,#eaffff, 36-49 d,#eaffff, 50-51 d,#383c54, 52-85 #000000,#eaffff, 86-99 d,#eaffff, |2: 0-1 d,#ffffea, 2-49 #000000,#ffffea, 50-51 d,#ffffea, 52-99 #000000,#ffffea, |3: 0-1 d,#ffffea, 2-49 #000000,#ffffea, 50-51 d,#ffffea, 52-99 #000000,#ffffea, @@ -185,7 +185,7 @@ |28: 0-1 d,#ffffea, 2-49 #000000,#ffffea, 50-51 d,#ffffea, 52-99 #000000,#ffffea, |29: 0-1 d,#ffffea, 2-49 #000000,#ffffea, 50-51 d,#ffffea, 52-99 #000000,#ffffea, == snap colors-off grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/theme/cwd Del NOR /tmp/pardes-snap/theme/cwd Del | | t.txt t.txt @@ -216,7 +216,7 @@ | | == style colors-off -|0: 0-47 #000000,#eaffff, 48-99 d,#eaffff, +|0: 0-52 #000000,#eaffff, 53-99 d,#eaffff, |1: 0-1 d,#6e4fd0, 2-35 #000000,#eaffff, 36-49 d,#eaffff, 50-51 d,#383c54, 52-85 #000000,#eaffff, 86-99 d,#eaffff, |2: 0-99 d,#ffffea, |3: 0-1 d,#ffffea, 2-6 #000000,#ffffea, 7-51 d,#ffffea, 52-56 #000000,#ffffea, 57-99 d,#ffffea, @@ -247,7 +247,7 @@ |28: 0-99 d,#ffffea, |29: 0-99 d,#ffffea, == snap helix-again grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/theme/cwd Del NOR /tmp/pardes-snap/theme/cwd Del | | t.txt t.txt @@ -278,7 +278,7 @@ | | == style helix-again -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-35 #949494,#121212, 36-49 d,#121212, 50-51 d,#262626, 52-85 #949494,#121212, 86-99 d,#121212, |2: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-49 #bdbdbd,#080808, 50-51 d,#444444, 52-99 #bdbdbd,#080808, diff --git a/test/snapshots/tinywin.golden b/test/snapshots/tinywin.golden index da6a7ad1..3ffdaf9d 100644 --- a/test/snapshots/tinywin.golden +++ b/test/snapshots/tinywin.golden @@ -1,5 +1,5 @@ == snap stacked grid=100x30 cursor=4,14 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/tinywin/cwd Del | $ | NOR /tmp/pardes-snap/tinywin/cwd Del @@ -30,11 +30,11 @@ | | == snap shrunk grid=60x3 cursor=59,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/tinywin/cwd Del | NOR /tmp/pardes-snap/tinywin/cwd Del == snap columns grid=100x30 cursor=79,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/ti NOR /tmp/pardes-snap/ti NOR /tmp/pardes-snap/ti NOR /tmp/pardes-snap/ti | $ | NOR /tmp/pardes-snap/ti diff --git a/test/snapshots/tty.golden b/test/snapshots/tty.golden index 471e81cf..34a34cd3 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -1,5 +1,5 @@ == snap tty-on grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/tty/cwd Del NOR /tmp/pardes-snap/tty/cwd Del | $ ls | m.txt m.txt @@ -30,7 +30,7 @@ | | == snap tty-echo grid=100x30 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/tty/cwd Del NOR /tmp/pardes-snap/tty/cwd Del | $ ls | m.txt m.txt @@ -61,7 +61,7 @@ | | == snap tty-off grid=100x30 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tty/cwd Del NOR /tmp/pardes-snap/tty/cwd Del | | m.txt m.txt @@ -92,7 +92,7 @@ | | == snap shift-esc-on grid=100x30 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/tty/cwd Del NOR /tmp/pardes-snap/tty/cwd Del | $ ls | m.txt m.txt @@ -123,7 +123,7 @@ | | == snap shift-esc-off grid=100x30 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/tty/cwd Del NOR /tmp/pardes-snap/tty/cwd Del | | m.txt m.txt diff --git a/test/snapshots/ttyclick.golden b/test/snapshots/ttyclick.golden index 62f540af..842fa7ff 100644 --- a/test/snapshots/ttyclick.golden +++ b/test/snapshots/ttyclick.golden @@ -1,5 +1,5 @@ == snap tty-bodyclick grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/ttyclick/cwd Del NOR /tmp/pardes-snap/ttyclick/cwd Del | $ ls | probe.txt probe.txt @@ -30,7 +30,7 @@ | | == snap tty-tagedit grid=100x30 cursor=39,1 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/ttyclick/cwd Del NOR /tmp/pardes-snap/ttyclick/cwd Del | | probe.txt probe.txt @@ -61,7 +61,7 @@ | | == snap tty-tagexit grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/ttyclick/cwd Del NOR /tmp/pardes-snap/ttyclick/cwd Del | $ ls | probe.txt probe.txt @@ -92,7 +92,7 @@ | | == snap ins-bodyclick grid=100x30 cursor=11,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/ttyclick/cwd Del NOR /tmp/pardes-snap/ttyclick/cwd Del | | probe.txt probe.txt diff --git a/test/snapshots/ttyedit.golden b/test/snapshots/ttyedit.golden index febffe16..89e6c02f 100644 --- a/test/snapshots/ttyedit.golden +++ b/test/snapshots/ttyedit.golden @@ -1,5 +1,5 @@ == snap before grid=100x30 cursor=7,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyedit/cwd Del NOR /tmp/pardes-snap/ttyedit/cwd Del | | words.txt words.txt @@ -30,7 +30,7 @@ | | == snap split grid=100x30 cursor=2,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | INS /tmp/pardes-snap/ttyedit/cwd Del NOR /tmp/pardes-snap/ttyedit/cwd Del | | words.txt words.txt @@ -61,7 +61,7 @@ | | == snap opened grid=100x30 cursor=6,8 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyedit/cwd Del NOR /tmp/pardes-snap/ttyedit/cwd Del | | words.txt words.txt @@ -92,7 +92,7 @@ | | == snap joined grid=100x30 cursor=10,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyedit/cwd Del NOR /tmp/pardes-snap/ttyedit/cwd Del | | words.txt words.txt @@ -123,7 +123,7 @@ | | == snap undone grid=100x30 cursor=7,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyedit/cwd Del NOR /tmp/pardes-snap/ttyedit/cwd Del | | words.txt words.txt diff --git a/test/snapshots/ttyfollow.golden b/test/snapshots/ttyfollow.golden index 6c993bb5..997f37be 100644 --- a/test/snapshots/ttyfollow.golden +++ b/test/snapshots/ttyfollow.golden @@ -1,5 +1,5 @@ == snap held-pre grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyfollow/cwd Del NOR /tmp/pardes-snap/ttyfollow/cwd Del | 185 | 186 s.txt @@ -30,7 +30,7 @@ | | == snap held-post grid=100x30 cursor=54,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttyfollow/cwd Del TTY /tmp/pardes-snap/ttyfollow/cwd Del | 185 $ ls | 186 s.txt @@ -61,7 +61,7 @@ | | == snap tty-follows grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/ttyfollow/cwd Del TTY /tmp/pardes-snap/ttyfollow/cwd Del | 288 $ ls | 289 s.txt diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden new file mode 100644 index 00000000..6cb6d930 --- /dev/null +++ b/test/snapshots/ttyhelp.golden @@ -0,0 +1,93 @@ +== snap boot grid=100x30 cursor=4,2 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| TTY /tmp/pardes-snap/ttyhelp/cwd Del +| $ +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap helped grid=100x30 cursor=7,4 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| TTY /tmp/pardes-snap/ttyhelp/cwd Del +| $ +| NOR /tmp/pardes-snap/ttyhelp/cwd/+Help Del +| 1 pardes builtins - SPC then the keys, +| 2 or execute the name anywhere +| 3 +| 4 SPC ? Help +| 5 SPC c d Delcol +| 6 SPC c n Newcol +| 7 SPC d Del +| 8 SPC f f Find +| 9 SPC f g Grep +| 10 SPC f s Save +| 11 SPC h t Tutor +| 12 SPC k Kill +| 13 SPC l D WsDiagnostics +| 14 SPC l S WsSymbols +| 15 SPC l a CodeAction +| 16 SPC l d Diagnostics +| 17 SPC l h SelectRefs +| 18 SPC l i Lspinfo +| 19 SPC l k Hover +| 20 SPC l r Rename +| 21 SPC l s Symbols +| 22 SPC l w Lspwhy +| 23 SPC s d Dump +| 24 SPC s r Restore +| 25 SPC t a Ascii +| 26 SPC t c Colors +== snap leaderworks grid=100x30 cursor=7,4 +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help +| TTY /tmp/pardes-snap/ttyhelp/cwd Del +| $ +| NOR /tmp/pardes-snap/ttyhelp/cwd/+Help Del +| 1 pardes builtins - SPC then the keys, +| 2 or execute the name anywhere +| 3 +| 4 SPC ? Help +| 5 SPC c d Delcol +| 6 SPC c n Newcol +| 7 SPC d Del +| 8 SPC f f Find +| 9 SPC f g Grep +| 10 SPC f s Save +| 11 SPC h t Tutor +| 12 SPC k Kill +| 13 SPC l D WsDiagnostics +| 14 SPC l S WsSymbols +| 15 SPC l a CodeAction +| 16 SPC l d Diagnostics +| 17 SPC l h SelectRefs +| 18 SPC l i Lspinfo +| 19 SPC l k Hover +| 20 SPC l r Rename +| 21 SPC l s Symbols +| 22 SPC l w Lspwhy +| 23 SPC s d Dump +| 24 SPC s r Restore +| 25 SPC t a Ascii +| 26 SPC t c Colors diff --git a/test/snapshots/ttyhelp.snap b/test/snapshots/ttyhelp.snap new file mode 100644 index 00000000..48323189 --- /dev/null +++ b/test/snapshots/ttyhelp.snap @@ -0,0 +1,21 @@ +# bare boot = tty mode: SPC belongs to the shell, so the topbar Help word is +# the only route to the command list. Row 0 is not a pane, so a middle-click +# there is dispatched before any pane's mode is consulted. +start 30 100 +wait 8000 Kill Newcol +stable 700 20000 +snap boot +press middle 51 1 +release middle 51 1 +wait 10000 pardes builtins +stable 700 15000 +snap helped +# and the shell is untouched: still TTY, still at its prompt. The click went to +# row 0, which is not a pane, so the terminal never saw it. +key c-b +stable 600 10000 +key space +key ? +wait 10000 SPC c n +stable 700 15000 +snap leaderworks diff --git a/test/snapshots/ttylook.golden b/test/snapshots/ttylook.golden index 3bdbe3ed..24c8124a 100644 --- a/test/snapshots/ttylook.golden +++ b/test/snapshots/ttylook.golden @@ -1,5 +1,5 @@ == snap tok1 grid=120x30 cursor=2,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -30,7 +30,7 @@ | | == style tok1 -|0: 0-47 #949494,#121212, 48-119 d,#121212, +|0: 0-52 #949494,#121212, 53-119 d,#121212, |1: 0-1 d,#626262, 2-37 #949494,#121212, 38-59 d,#121212, 60-61 d,#262626, 62-97 #949494,#121212, 98-119 d,#121212, |2: 0-1 d,#444444, 2-59 #bdbdbd,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-8 #d8c8a8,#4a3a1e, 9-59 #bdbdbd,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, @@ -61,7 +61,7 @@ |28: 0-1 d,#444444, 2-59 #bdbdbd,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-59 #bdbdbd,#080808, 60-61 d,#444444, 62-119 #bdbdbd,#080808, == snap tok2 grid=120x30 cursor=11,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -92,7 +92,7 @@ | | == snap tokback grid=120x30 cursor=2,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -123,7 +123,7 @@ | | == snap insert grid=120x30 cursor=4,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | nnbig.txt plain.txt sub big.txt plain.txt sub @@ -154,7 +154,7 @@ | | == snap tok3 grid=120x30 cursor=22,3 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -185,7 +185,7 @@ | | == snap diropen grid=120x30 cursor=4,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -216,7 +216,7 @@ | | == snap noop grid=120x30 cursor=4,7 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | | big.txt plain.txt sub big.txt plain.txt sub @@ -247,7 +247,7 @@ | | == snap fileopen grid=120x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/ttylook/cwd/big.t NOR /tmp/pardes-snap/ttylook/cwd Del NOR /tmp/pardes-snap/ttylook/cwd Del | 1 line 1 | 2 line 2 big.txt plain.txt sub big.txt plain.txt sub diff --git a/test/snapshots/ttyonly.golden b/test/snapshots/ttyonly.golden index 2a52eab1..a1bdb852 100644 --- a/test/snapshots/ttyonly.golden +++ b/test/snapshots/ttyonly.golden @@ -1,5 +1,5 @@ == snap ttyonly grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/ttyonly/cwd Del | $ echo TTY''ONLY | TTYONLY @@ -30,7 +30,7 @@ | | == style ttyonly -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#626262, 2-37 #949494,#121212, 38-99 d,#121212, |2: 0-1 d,#444444, 2-99 #bdbdbd,#080808, |3: 0-1 d,#444444, 2-99 #bdbdbd,#080808, diff --git a/test/snapshots/tutor.golden b/test/snapshots/tutor.golden index d6a51e82..6618f39d 100644 --- a/test/snapshots/tutor.golden +++ b/test/snapshots/tutor.golden @@ -1,5 +1,5 @@ == snap tutor grid=150x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /Tutor Save Del NOR /tmp/pardes-snap/tutor/cwd Del NOR /tmp/pardes-snap/tutor/cwd Del | 1 | 2 PARDES TUTOR diff --git a/test/snapshots/winch.golden b/test/snapshots/winch.golden index 97ab4e76..ff73b6d2 100644 --- a/test/snapshots/winch.golden +++ b/test/snapshots/winch.golden @@ -1,5 +1,5 @@ == snap storm grid=100x30 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/winch/cwd Del NOR /tmp/pardes-snap/winch/cwd Del | $ ls | $ for i in $(seq 600); do kill -WINCH $PPID; don @@ -30,7 +30,7 @@ | | == snap resized grid=106x34 cursor=4,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | TTY /tmp/pardes-snap/winch/cwd Del NOR /tmp/pardes-snap/winch/cwd Del | $ ls | $ for i in $(seq 600); do kill -WINCH $PPID; done; diff --git a/test/snapshots/windownav.golden b/test/snapshots/windownav.golden index ada71876..421d9bfe 100644 --- a/test/snapshots/windownav.golden +++ b/test/snapshots/windownav.golden @@ -1,5 +1,5 @@ == snap start grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -30,7 +30,7 @@ | | == snap to-term grid=100x30 cursor=54,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -61,7 +61,7 @@ | | == snap back-to-file grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -92,7 +92,7 @@ | | == snap altn grid=100x30 cursor=4,19 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -123,7 +123,7 @@ | | == snap up grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -154,7 +154,7 @@ | | == snap right grid=100x30 cursor=54,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -185,7 +185,7 @@ | | == snap left grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -216,7 +216,7 @@ | | == snap down grid=100x30 cursor=4,19 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -247,7 +247,7 @@ | | == snap toggle-doc grid=100x30 cursor=7,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt @@ -278,7 +278,7 @@ | | == snap toggle-back grid=100x30 cursor=4,19 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windownav/cwd/w.txt Save De NOR /tmp/pardes-snap/windownav/cwd Del | 1 alpha | 2 beta w.txt diff --git a/test/snapshots/windowops.golden b/test/snapshots/windowops.golden index 724095e1..7bf19204 100644 --- a/test/snapshots/windowops.golden +++ b/test/snapshots/windowops.golden @@ -1,5 +1,5 @@ == snap hover-v grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del ╎ NOR /tmp/pardes-snap/windowops/cwd Del | ╎ | w.txt ╎ w.txt @@ -30,7 +30,7 @@ | ╎ | ╎ == snap hover-h grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -61,7 +61,7 @@ | | == snap border-drag grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd De╎ NOR /tmp/pardes-snap/windowops/cwd Del | ╎ | w.txt ╎ w.txt @@ -92,7 +92,7 @@ | ╎ | ╎ == snap border-done grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd De╎ NOR /tmp/pardes-snap/windowops/cwd Del | ╎ | w.txt ╎ w.txt @@ -123,7 +123,7 @@ | ╎ | ╎ == snap hborder-done grid=100x30 cursor=4,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -154,7 +154,7 @@ | | == snap move-preview grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -185,7 +185,7 @@ | | == snap moved grid=100x30 cursor=4,15 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -216,7 +216,7 @@ | | == snap altn grid=100x30 cursor=4,19 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -247,7 +247,7 @@ | | == snap focus-right grid=100x30 cursor=44,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt @@ -278,7 +278,7 @@ | | == snap debug-on grid=100x30 cursor=44,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowo╭────────────────────────────╮ | │pardes resizes=1 │ | w.txt w.txt │terms 4 cols 2 │ @@ -309,7 +309,7 @@ | | == style debug-on -|0: 0-47 #949494,#121212, 48-99 d,#121212, +|0: 0-52 #949494,#121212, 53-99 d,#121212, |1: 0-1 d,#262626, 2-39 #949494,#121212, 40-41 d,#626262, 42-69 #949494,#121212, 70-99 d,d, |2: 0-1 d,#444444, 2-39 #bdbdbd,#080808, 40-41 d,#444444, 42-69 #bdbdbd,#080808, 70-70 d,d, 71-87 #949494,d, 88-98 d,#121212, 99-99 d,d, |3: 0-1 d,#444444, 2-39 #bdbdbd,#080808, 40-41 d,#444444, 42-69 #bdbdbd,#080808, 70-70 d,d, 71-85 #949494,d, 86-98 d,#121212, 99-99 d,d, @@ -340,7 +340,7 @@ |28: 0-1 d,#444444, 2-39 #bdbdbd,#080808, 40-41 d,#444444, 42-99 #bdbdbd,#080808, |29: 0-1 d,#444444, 2-39 #bdbdbd,#080808, 40-41 d,#444444, 42-99 #bdbdbd,#080808, == snap debug-off grid=100x30 cursor=44,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/windowops/cwd Del NOR /tmp/pardes-snap/windowops/cwd Del | | w.txt w.txt diff --git a/test/snapshots/yankpaste.golden b/test/snapshots/yankpaste.golden index 523d9d29..12c974bf 100644 --- a/test/snapshots/yankpaste.golden +++ b/test/snapshots/yankpaste.golden @@ -1,5 +1,5 @@ == snap linewise-below grid=100x30 cursor=13,5 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/yankpaste/cwd/f.txt Save De NOR /tmp/pardes-snap/yankpaste/cwd Del | 1 line 1 | 2 line 2 f.txt @@ -30,7 +30,7 @@ | | == snap linewise-above grid=100x30 cursor=13,6 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/yankpaste/cwd/f.txt Save De NOR /tmp/pardes-snap/yankpaste/cwd Del | 1 line 1 | 2 line 2 f.txt @@ -61,7 +61,7 @@ | | == snap charwise-inline grid=100x30 cursor=10,2 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/yankpaste/cwd/f.txt Save De NOR /tmp/pardes-snap/yankpaste/cwd Del | 1 liline 1 | 2 line 2 f.txt @@ -92,7 +92,7 @@ | | == snap blankline grid=100x30 cursor=7,4 -|Kill Newcol Tutor Debug NextColor Dump Find Grep +|Kill Newcol Tutor Debug NextColor Dump Find Grep Help | NOR /tmp/pardes-snap/yankpaste/cwd/f.txt Save De NOR /tmp/pardes-snap/yankpaste/cwd Del | 1 liline 1 | 2 f.txt |
