mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
update cells to hide cursor on non-focus
This commit is contained in:
@ -225,6 +225,7 @@ fn focusCallback(window: glfw.Window, focused: bool) void {
|
||||
win.wakeup = true;
|
||||
} else {
|
||||
win.grid.cursor_visible = false;
|
||||
win.grid.updateCells(win.terminal) catch unreachable;
|
||||
win.cursor_timer.stop() catch unreachable;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user