Files
neovim/runtime/lua/vim/_core
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-07-27 11:12:47 -04:00
2026-07-13 19:44:15 +02:00
2026-07-01 13:26:21 +02:00
2026-08-06 13:17:07 +02:00