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
M src/ipc.zig
+1, -1
1@@ -45,7 +45,7 @@ pub fn getTerminalSize(fd: i32) Resize {
2     if (cross.c.ioctl(fd, cross.c.TIOCGWINSZ, &ws) == 0 and ws.ws_row > 0 and ws.ws_col > 0) {
3         return .{ .rows = ws.ws_row, .cols = ws.ws_col };
4     }
5-    return .{ .rows = 24, .cols = 80 };
6+    return .{ .rows = 24, .cols = 160 };
7 }
8 
9 pub const MAX_CMD_LEN = 256;