mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +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;
|
win.wakeup = true;
|
||||||
} else {
|
} else {
|
||||||
win.grid.cursor_visible = false;
|
win.grid.cursor_visible = false;
|
||||||
|
win.grid.updateCells(win.terminal) catch unreachable;
|
||||||
win.cursor_timer.stop() catch unreachable;
|
win.cursor_timer.stop() catch unreachable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user