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
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 39s
This commit is contained in:
5
src/terminal/Size.zig
Normal file
5
src/terminal/Size.zig
Normal 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,
|
||||
Reference in New Issue
Block a user