mod: restructure terminal structs Key, Position and Size
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 39s

This commit is contained in:
2024-11-10 17:01:19 +01:00
parent 8ae9129403
commit 88bc8c5346
4 changed files with 10 additions and 12 deletions

5
src/terminal/Size.zig Normal file
View File

@@ -0,0 +1,5 @@
const Position = @import("Position.zig");
anchor: Position = .{ .col = 1, .row = 1 }, // top left corner by default
cols: u16,
rows: u16,