termio/exec: get compiler errors gone

This commit is contained in:
Mitchell Hashimoto
2024-03-08 20:47:16 -08:00
parent 368714539e
commit 25d84d697a
5 changed files with 58 additions and 34 deletions

View File

@@ -1,6 +1,7 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const font = @import("../font/main.zig");
const terminal = @import("../terminal/main.zig");
const log = std.log.scoped(.renderer_size);
@@ -61,7 +62,7 @@ pub const ScreenSize = struct {
/// The dimensions of the grid itself, in rows/columns units.
pub const GridSize = struct {
const Unit = u32;
const Unit = terminal.size.CellCountInt;
columns: Unit = 0,
rows: Unit = 0,