move screen resize to a renderer mailbox message

This commit is contained in:
Mitchell Hashimoto
2022-11-17 13:55:04 -08:00
parent fc18be5d32
commit 4521efb83d
7 changed files with 26 additions and 45 deletions

View File

@@ -12,9 +12,6 @@ const renderer = @import("../renderer.zig");
/// state (i.e. the terminal, devmode, etc. values).
mutex: *std.Thread.Mutex,
/// A new screen size if the screen was resized.
resize_screen: ?renderer.ScreenSize,
/// Cursor configuration for rendering
cursor: Cursor,