renderStatusBar doesn’t truncate long window names — writes past terminal widthrenderStatusBar doesn’t truncate long window names — writes past terminal widthFile: src/server/render.zig:498–499
Severity: MEDIUM
Status: ✅ FIXED
The original renderStatusBar used a fixed-size stack buffer to format the status line. Long window names could overflow the buffer and write past the terminal width instead of being truncated. Rewrote renderStatusBar to write pieces directly to the output stream without a fixed-size buffer, and added truncation logic to cap visible output at self.sx. Unit test added (renderStatusBar truncates long name to fit terminal width — bug #185).