Justin M. Keyes
8c440c469b
fix(ui2): ui2 misinterprets getchar() input as pager_char (CR) #41465
...
Problem:
`vim.on_key()` callbacks are invoked for keys that `getchar()` consumes,
which never reach the main loop, and there is no way to tell such a key
apart. With ui2 the `on_key` handler activated after interactive
cmdline, handles it as `pager_char` (thus enters the ui2 pager).
Solution:
Skip `vim.on_key()` callbacks during `getchar()`/`getcharstr()`.
2026-08-24 10:18:47 -04:00
..
2026-08-24 10:18:47 -04:00
2025-05-06 05:15:31 -07:00
2026-08-24 14:35:25 +08:00
2026-03-13 20:32:01 +01:00
2026-08-13 09:17:16 -04:00
2026-08-09 00:49:20 +00:00
2026-03-13 20:32:01 +01:00
2026-07-24 11:54:12 -04:00
2026-08-24 08:41:57 -04:00
2026-06-02 08:41:36 -04:00
2026-07-31 19:20:34 +03:00
2026-06-02 18:17:03 +08:00
2026-07-13 19:44:15 +02:00
2026-08-02 14:42:47 -04:00
2026-07-17 07:09:04 -04:00
2025-12-16 13:22:05 -05:00
2026-07-31 21:50:04 +02:00
2026-04-30 07:26:40 -04:00
2026-07-15 05:55:51 -04:00
2026-07-25 12:47:51 -04:00
2026-05-20 14:09:20 +02:00
2026-08-04 05:19:54 -04:00
2026-05-06 11:13:15 -04:00
2026-08-14 08:47:14 +08:00
2026-08-16 13:29:34 -04:00
2026-02-12 07:15:20 -05:00
2026-01-12 10:58:01 -08:00
2026-07-29 09:03:53 -04:00
2026-06-08 16:12:14 -04:00
2026-01-09 10:07:15 +01:00
2026-07-20 09:53:06 -04:00
2026-07-25 10:36:56 -07:00
2026-08-05 16:11:13 -04:00
2026-07-08 20:15:42 +00:00
2026-08-18 05:16:16 -04:00
2026-05-05 16:26:59 -04:00
2026-07-31 19:20:34 +03:00
2026-08-23 07:13:41 -04:00
2024-02-03 16:53:41 +01:00
2026-08-23 07:13:41 -04:00
2025-02-10 03:04:01 -08:00
2026-05-20 15:27:43 -04:00
2026-07-13 19:44:15 +02:00
2026-07-26 06:24:39 -04:00
2026-08-01 17:48:32 -04:00
2026-06-24 10:40:36 -04:00
2026-08-22 10:49:55 -04:00
2026-04-30 07:12:35 -04:00
2026-04-08 13:33:00 -04:00