Felipe Coury
1e85ca099e
Support two-stroke TUI key chords ( #36511 )
...
## What changed
- Accept two-stroke bindings such as `ctrl-x ctrl-s` in TUI keymap configuration while preserving arrays as alternative bindings.
- Route chords through the active TUI context, show pending and configured chord hints, and cancel pending chords on `esc`, context changes, or a one-second timeout.
- Extend `/keymap` to capture, add, replace, and display key chords.
- Reject chords that conflict with active single-key bindings, overlapping-context chords, or reserved terminal shortcuts.
## Testing
- Add coverage for chord parsing, validation, matching, timeout and cancellation behavior, context dispatch, key capture, and rendered shortcut hints.
GitOrigin-RevId: dfdede03f518d4936ad8621ebf5537026f2b282e
2026-08-01 17:43:03 +00:00
..
2026-07-13 09:40:51 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-04-20 15:37:31 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-04-27 10:07:15 -07:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-04-28 12:52:25 -03:00
2026-04-27 03:43:53 +00:00
2026-03-28 11:23:07 -06:00
2026-06-05 08:32:07 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-06-12 09:15:04 +09:00
2026-04-30 11:34:34 -07:00
2026-04-24 21:16:45 -07:00
2026-06-19 21:37:01 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-08-01 17:43:03 +00:00
2026-04-27 18:48:57 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-12 11:57:22 -07:00
2026-07-13 22:50:28 +00:00
2026-04-28 12:52:25 -03:00
2026-07-13 22:50:28 +00:00
2026-03-28 11:23:07 -06:00
2026-04-28 09:24:29 -07:00
2026-06-23 19:52:37 +00:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-07-14 06:55:29 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-07-29 03:50:00 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-05-18 11:28:53 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-20 16:05:14 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-10 14:05:47 -07:00
2026-05-29 15:12:40 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-07-17 19:58:56 +00:00
2026-04-10 14:05:47 -07:00
2026-07-14 16:29:54 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-01 14:48:22 -07:00
2026-03-28 11:23:07 -06:00
2026-04-24 21:16:45 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-22 15:41:47 +00:00
2026-07-17 23:14:37 +00:00
2026-03-28 11:23:07 -06:00
2026-07-06 16:33:13 -04:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-04-15 15:34:25 +01:00
2026-04-15 15:34:25 +01:00
2026-07-13 09:40:51 +00:00
2026-04-28 12:52:25 -03:00
2026-04-20 21:52:30 +00:00
2026-07-13 09:40:51 +00:00
2026-07-14 21:50:19 +00:00
2026-05-12 10:43:17 -03:00
2026-04-10 14:05:47 -07:00
2026-07-17 15:14:47 +00:00
2026-07-17 15:14:47 +00:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-12 10:43:17 -03:00
2026-04-19 14:01:58 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-04-28 14:34:10 -03:00
2026-04-28 14:34:10 -03:00
2026-05-12 10:43:17 -03:00
2026-06-22 10:30:16 -07:00
2026-06-24 18:48:11 -07:00
2026-06-22 17:31:14 -07:00
2026-06-26 17:24:46 -04:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-04-28 12:52:25 -03:00
2026-04-30 10:25:07 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-07-20 21:41:17 +00:00
2026-07-20 21:41:17 +00:00
2026-07-09 03:40:08 +00:00
2026-06-22 13:48:09 -07:00
2026-06-22 13:48:09 -07:00
2026-05-29 11:06:40 -07:00
2026-07-15 01:36:44 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-07-17 15:28:19 +00:00
2026-07-14 21:50:19 +00:00
2026-07-18 18:19:39 +00:00
2026-07-08 16:24:12 -07:00
2026-03-28 11:23:07 -06:00
2026-05-04 08:58:07 -07:00
2026-07-09 03:40:08 +00:00
2026-06-09 09:41:58 -07:00
2026-07-10 23:16:09 +00:00
2026-07-15 02:03:46 +00:00
2026-07-10 23:16:09 +00:00
2026-07-20 21:41:17 +00:00
2026-07-23 21:03:40 +00:00
2026-07-23 21:03:40 +00:00
2026-07-23 21:03:40 +00:00
2026-06-12 17:33:43 -07:00
2026-07-14 16:29:54 +00:00
2026-06-12 16:29:40 -07:00
2026-06-03 20:30:15 -03:00
2026-05-29 11:07:19 -07:00
2026-04-09 18:10:38 -03:00
2026-06-10 18:04:02 -07:00
2026-05-12 10:43:17 -03:00
2026-04-16 09:01:45 -07:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-04-24 21:16:45 -07:00
2026-04-30 22:42:07 -07:00
2026-04-16 09:00:16 -07:00
2026-04-12 15:42:09 -07:00
2026-07-08 16:24:12 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-22 04:25:07 -07:00
2026-05-29 11:06:40 -07:00
2026-04-20 17:46:11 -07:00
2026-04-20 17:46:11 -07:00
2026-05-25 09:41:32 -07:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-25 09:41:32 -07:00
2026-05-29 11:09:40 -07:00
2026-07-08 12:29:21 -07:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-12 17:33:43 -07:00
2026-07-20 21:41:17 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 16:31:33 -07:00
2026-05-29 16:31:33 -07:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00