bring back out of focus no blink

This commit is contained in:
Mitchell Hashimoto
2022-10-24 10:01:38 -07:00
parent dc908cb73d
commit b4859625bf
3 changed files with 16 additions and 13 deletions

View File

@@ -11,6 +11,9 @@ const renderer = @import("../renderer.zig");
/// state (i.e. the terminal, devmode, etc. values).
mutex: *std.Thread.Mutex,
/// True if the window is focused
focused: bool,
/// A new screen size if the screen was resized.
resize_screen: ?renderer.ScreenSize,