diff options
Diffstat (limited to 'core/replica.zig')
| -rw-r--r-- | core/replica.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/replica.zig b/core/replica.zig index 42ce3487..97cbaeee 100644 --- a/core/replica.zig +++ b/core/replica.zig @@ -5687,6 +5687,8 @@ test "a replica joined after a pane closed: the session's jump to it, its Panes const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .file = "mise.toml" }, TestHost.host()); defer a.deinit(); + // About a jump opening a pane: `Jumps new-pane` (SPEC §6.6). + a.core.settings.jumps = .@"new-pane"; // A file looked at and closed: a jump to it, Recent's, a closed pane. var cwd: [std.Io.Dir.max_path_bytes]u8 = undefined; var line: [std.Io.Dir.max_path_bytes + 32]u8 = undefined; @@ -7335,6 +7337,7 @@ const may_wait = [_]Wait{ .{ .what = "*", .on = .shell, .stop = "pty_write", .why = "a key into a shell's program" }, // A file from the session's disk (P14). .{ .what = "Look *", .on = .any, .stop = "resolve", .why = "a name looked for on the session's disk" }, + .{ .what = "Look *", .on = .any, .stop = "read_file", .why = "a jump from a held pane (a kind's, a listing's) opens its reader on the file, read from the session's disk: a reading pane showing it is not focused (pick-ui SPEC §6.1)" }, .{ .what = "LookNext", .on = .any, .stop = "resolve", .why = "a Look's walk: each word asked of the disk" }, .{ .what = "LookPrev", .on = .any, .stop = "resolve", .why = "a Look's walk: each word asked of the disk" }, .{ .what = "Mini *", .on = .any, .stop = "resolve", .why = "a file opened by name, from the session's disk" }, |
