Benjamin Carlsson
447eac3b81
Decode Windows Terminal's mapped Shift+Enter sequence ( #50720 )
...
## Why
Windows Terminal's `sendInput` mapping delivers `ESC[13;2u` as individual console key events. Decode it as `Shift+Enter` so the mapping inserts a newline in the composer.
## What changed
- Wrap the Windows event stream with a decoder for the complete Escape-prefixed sequence, including interleaved key releases.
- Use a fixed 50 ms deadline for partial sequences and replay incomplete or mismatched input unchanged. Preserve literal text, paste events, and native key events.
- Update the `crossterm` revision and dependency lockfiles.
## Testing
Add tests for repeated and fragmented mappings, deadline handling, unchanged input, error and end-of-stream replay, and composer newline rendering with a snapshot.
GitOrigin-RevId: 95ab39960510d71322824c63817710633a2fda23
2026-10-03 21:20:56 +00:00
..
2026-10-02 04:02:14 +00:00
2026-09-29 22:50:07 +00:00
2026-09-30 17:33:59 +00:00
2026-09-30 05:29:56 +00:00
2026-09-30 00:51:39 +00:00
2026-10-03 05:37:28 +00:00
2026-09-26 23:17:41 +00:00
2026-10-03 07:17:20 +00:00
2026-10-02 22:55:08 +00:00
2026-09-22 06:36:09 +00:00
2026-10-02 16:05:51 +00:00
2026-10-01 15:57:03 +00:00
2026-09-21 22:58:49 +00:00
2026-09-23 00:47:34 +00:00
2026-10-02 22:20:55 +00:00
2026-09-30 18:49:29 +00:00
2026-10-03 19:10:17 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 13:58:09 +00:00
2026-09-29 03:32:19 +00:00
2026-09-25 16:57:42 +00:00
2026-10-01 15:57:03 +00:00
2026-10-03 07:37:00 +00:00
2026-10-02 22:29:52 +00:00
2026-10-02 20:19:28 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 01:50:36 +00:00
2026-10-01 17:10:03 +00:00
2026-10-03 05:16:04 +00:00
2026-10-02 22:12:07 +00:00
2026-10-03 18:15:13 +00:00
2026-10-01 03:31:48 +00:00
2026-09-23 22:20:34 +00:00
2026-10-01 15:57:03 +00:00
2026-10-02 16:55:41 +00:00
2026-10-02 23:54:32 +00:00
2026-10-02 04:25:52 +00:00
2026-10-02 10:44:29 +00:00
2026-09-30 11:59:13 +00:00
2026-10-03 18:15:13 +00:00
2026-10-02 22:47:52 +00:00
2026-10-01 09:52:54 +00:00
2026-10-01 00:43:55 +00:00
2026-10-01 15:57:03 +00:00
2026-10-02 22:12:07 +00:00
2026-10-02 16:55:41 +00:00
2026-10-01 11:01:37 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 22:24:09 +00:00
2026-10-01 18:05:33 +00:00
2026-10-02 23:26:27 +00:00
2026-09-28 14:46:32 +00:00
2026-09-28 06:30:53 +00:00
2026-10-03 00:31:51 +00:00
2026-10-02 23:26:27 +00:00
2026-10-01 01:38:27 +00:00
2026-10-01 18:05:05 +00:00
2026-10-01 18:05:05 +00:00
2026-09-30 17:45:25 +00:00
2026-09-23 22:20:34 +00:00
2026-10-02 22:12:07 +00:00
2026-10-02 21:42:45 +00:00
2026-10-01 15:57:03 +00:00
2026-09-29 01:14:41 +00:00
2026-10-02 23:54:32 +00:00
2026-10-02 23:15:02 +00:00
2026-10-02 18:48:49 +00:00
2026-10-01 15:57:03 +00:00
2026-09-24 18:08:31 +00:00
2026-09-28 15:58:17 +00:00
2026-09-27 03:26:57 +00:00
2026-10-02 23:34:11 +00:00
2026-10-02 00:46:14 +00:00
2026-10-02 06:50:10 +00:00
2026-10-02 23:34:11 +00:00
2026-10-01 06:29:03 +00:00
2026-10-03 21:20:56 +00:00
2026-10-01 18:05:05 +00:00
2026-10-03 07:14:12 +00:00
2026-10-01 15:57:03 +00:00
2026-09-23 04:25:28 +00:00
2026-09-22 23:37:39 +00:00
2026-10-03 03:20:37 +00:00
2026-10-03 03:20:37 +00:00
2026-09-23 00:47:07 +00:00
2026-10-01 15:57:03 +00:00
2026-10-03 21:20:56 +00:00
2026-10-03 21:20:56 +00:00
2026-10-02 04:02:14 +00:00