summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/macos.zig2
-rw-r--r--runtime/upgrade.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/macos.zig b/runtime/macos.zig
index 3221737a..ff30061a 100644
--- a/runtime/macos.zig
+++ b/runtime/macos.zig
@@ -818,7 +818,7 @@ fn drainInbox(st: *State) bool {
},
.lsp_status => |text| {
var mbuf: [256]u8 = undefined;
- st.core.setStatus(.at(st.core.view().active), message.stamp(&mbuf, "lsp", text));
+ st.core.setStatus(.at(pardes.MAX_PANES), message.stamp(&mbuf, "lsp", text));
},
.pipe => |value| {
st.core.update(.{ .pipe_resp = .{
diff --git a/runtime/upgrade.zig b/runtime/upgrade.zig
index 7e836141..62f49ffa 100644
--- a/runtime/upgrade.zig
+++ b/runtime/upgrade.zig
@@ -483,7 +483,7 @@ pub fn load(gpa: std.mem.Allocator, core_gpa: std.mem.Allocator, opts: pardes.Op
/// no pane in particular, it is on every view's notice row (each client
/// reads it on its own screen).
fn tellEveryView(p: *pardes.Pardes, text: []const u8) void {
- pardes.Messages.say(p, .notice, pardes.MAX_PANES, text);
+ _ = pardes.Messages.say(p, .notice, pardes.MAX_PANES, text);
}
test "an upgrade's outcome is said in every view, at the pane its keyboard is on, whichever view's input came last" {