Start pulling out IO thread and IO implementation

This commit is contained in:
Mitchell Hashimoto
2022-11-03 13:30:30 -07:00
parent 8dd67662b3
commit 35c1decd58
5 changed files with 312 additions and 3 deletions

13
src/termio/Options.zig Normal file
View File

@@ -0,0 +1,13 @@
//! The options that are used to configure a terminal IO implementation.
const renderer = @import("../renderer.zig");
const Config = @import("../config.zig").Config;
/// The size of the terminal grid.
grid_size: renderer.GridSize,
/// The size of the viewport in pixels.
screen_size: renderer.ScreenSize,
/// The app configuration.
config: *const Config,