Commit a28c87a
Eric Bower
·
2026-05-16 11:55:48 -0400 EDT
parent 0f94881
chore: set default width to 160 This is mainly so `zmx run` + `zmx history` isn't so truncated
1 files changed,
+1,
-1
+1,
-1
| ... | ... | @@ -45,7 +45,7 @@ pub fn getTerminalSize(fd: i32) Resize { | |
| 45 | 45 | if (cross.c.ioctl(fd, cross.c.TIOCGWINSZ, &ws) == 0 and ws.ws_row > 0 and ws.ws_col > 0) { | |
| 46 | 46 | return .{ .rows = ws.ws_row, .cols = ws.ws_col }; | |
| 47 | 47 | } | |
| 48 | - | return .{ .rows = 24, .cols = 80 }; | |
| 48 | + | return .{ .rows = 24, .cols = 160 }; | |
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | pub const MAX_CMD_LEN = 256; |