diff options
Diffstat (limited to 'core/views.zig')
| -rw-r--r-- | core/views.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views.zig b/core/views.zig index a8bf8e60..9985288d 100644 --- a/core/views.zig +++ b/core/views.zig @@ -859,7 +859,7 @@ test "a terminal shown in a view shorter than it keeps its cursor in sight" { defer out.deinit(gpa); for (1..rows) |i| try out.print(gpa, "row-{d}\r\n", .{i}); try out.appendSlice(gpa, "LAST$ "); - p.update(.{ .output = .{ .pane = @intCast(id), .bytes = out.items } }); + p.update(.{ .output = .{ .pane = .at(id), .bytes = out.items } }); // Sized for the tall view, it fits there whole: nothing is passed over. try testing.expectEqual(@as(u16, 0), term.pan); p.toView(.at(0)); |
