WIP: container rendering for borders + container element rendering
This commit is contained in:
@@ -20,7 +20,7 @@ pub const ReportMode = enum {
|
||||
pub fn getTerminalSize() Size {
|
||||
var ws: std.posix.winsize = undefined;
|
||||
_ = std.posix.system.ioctl(std.posix.STDIN_FILENO, std.posix.T.IOCGWINSZ, @intFromPtr(&ws));
|
||||
return .{ .cols = ws.col - 1, .rows = ws.row - 1 };
|
||||
return .{ .cols = ws.col, .rows = ws.row };
|
||||
}
|
||||
|
||||
pub fn saveScreen() !void {
|
||||
|
||||
Reference in New Issue
Block a user