mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
fix build error
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user