szn

Bug 85 — DSR response silently dropped on bufPrint failure

85. DSR response silently dropped on bufPrint failure

File: src/input.zig:591–593 Severity: MEDIUM Status: ✅ FIXED — increased DSR response buffer from 32 to 64 bytes and added std.log.warn on overflow.

const rep = std.fmt.bufPrint(&rep_buf, "\x1b[{d};{d}R",
    .{ self.screen.cursor.y + 1, self.screen.cursor.x + 1 }) catch return;

If the 32-byte buffer is insufficient (cursor positions > 999), the function silently returns success without sending the DSR response. The querying application hangs.