From f2e9746d2bdae3271cb29aa9c321ce9d111090eb Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 4 Aug 2022 13:08:51 -0700 Subject: [PATCH] fix build error --- src/Grid.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid.zig b/src/Grid.zig index 648c0cb28..6626f5dab 100644 --- a/src/Grid.zig +++ b/src/Grid.zig @@ -398,7 +398,7 @@ pub fn updateCells(self: *Grid, term: Terminal) !void { } // Draw the cursor - if (self.cursor_visible and term.screen.displayIsBottom()) { + if (self.cursor_visible and term.screen.viewportIsBottom()) { self.cells.appendAssumeCapacity(.{ .mode = @enumToInt(self.cursor_style), .grid_col = @intCast(u16, term.screen.cursor.x),