esc_buf cleared at the top of processInput drops split escape sequencesesc_buf cleared at the top of processInput drops split escape sequencesFile: src/server/server.zig:1090
Severity: LOW
Status: ✅ FIXED — esc_buf is only reset when the input reader is in .ground state, so the leading bytes of a split escape sequence survive across stdin_data packets. Regression test splits an SS3 sequence and verifies the pty receives the full bytes.
self.esc_buf.clearRetainingCapacity() runs at the start of every processInput call while input_reader.state persists across stdin_data packets. A multi-byte escape sequence split across two packets loses its leading bytes, so pane.writeInput(self.esc_buf.items) (1631/1636) forwards a truncated sequence to the pty.