diff options
Diffstat (limited to 'core/builtins.zig')
| -rw-r--r-- | core/builtins.zig | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/core/builtins.zig b/core/builtins.zig index 56cd1e67..1b35d75c 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1724,8 +1724,9 @@ pub const LocationsConfig = struct { /// Act on the message the notice row leads with. /// -/// An error that names places lists them in a +Search, which the Look walk -/// steps through; a question takes the keyboard in its pane's tag (its +/// An error that names places lands them as a list in the pane's walk, n +/// and N walking them (where jumps do not walk, a +Search the Look walk +/// steps through); a question takes the keyboard in its pane's tag (its /// answer's key answers it, Esc leaves it waiting); anything else opens the /// history. pub const Message = struct { @@ -1736,13 +1737,17 @@ pub const Message = struct { } }; -/// Show the messages said so far in a +Messages, the newest first, an -/// error's places under it. +/// Show the messages said so far, the newest first, an error's places +/// under it. +/// +/// Where jumps walk, a list in the pane's tag: Enter Looks a row (a +/// message's cause, a place), C-q keeps it as a +Messages; else the +/// +Messages. pub const Messages = struct { pub const scope: Scope = .session; pub const output: OutputTraits = .{ .name = config.messages_buffer }; pub fn run(c: Ctx) void { - panes.Output.openMessages(c.p, c.id) catch |err| c.p.reportError(.at(c.id), "messages", err); + pardes.Messages.history(c.p, c.id); } }; |
