szn

Bug 84 — CSI/SGR mouse/UTF-8 input buffer overflow silently discards data

84. CSI/SGR mouse/UTF-8 input buffer overflow silently discards data

File: src/tty/tty_key.zig:114–168 Severity: MEDIUM Status: ✅ FIXED — increased input buffer from 64 to 256 bytes. Added debug log on overflow. Unit test for overflow recovery added.

The InputReader has a fixed 64-byte buffer. For kitty extended key sequences with event types, the parameter string can exceed 64 bytes. When overflow occurs, the entire sequence is silently discarded with no event, no error — the keystroke is lost.