summaryrefslogtreecommitdiff
path: root/core/keys.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/keys.zig')
-rw-r--r--core/keys.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/keys.zig b/core/keys.zig
index 2f63d045..92e78b0e 100644
--- a/core/keys.zig
+++ b/core/keys.zig
@@ -543,7 +543,7 @@ test "Esc back into a tty leaves its view at the prompt" {
// rides the view down and leaves that pin far up in the scrollback.
for (0..60) |i| {
var buf: [32]u8 = undefined;
- p.update(.{ .output = .{ .pane = @intCast(shell), .bytes = std.fmt.bufPrint(&buf, "line {d}\r\n", .{i}) catch unreachable } });
+ p.update(.{ .output = .{ .pane = .at(shell), .bytes = std.fmt.bufPrint(&buf, "line {d}\r\n", .{i}) catch unreachable } });
}
p.sync();
const live = pardes.Term.grid(sp.terminal).offset;