aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-07 12:11:22 +0800
committerGitHub <noreply@github.com>2024-02-07 12:11:22 +0800
commit6725565258930ba430cfb925fd1671596a8a4342 (patch)
tree9671a7cab469f5ea309be6ce3c4ab3f39f55e97a /runtime/lua/vim/shared.lua
parentc0b99bb1de8de967d82fc29780996ed4060516c1 (diff)
downloadrneovim-6725565258930ba430cfb925fd1671596a8a4342.tar.gz
rneovim-6725565258930ba430cfb925fd1671596a8a4342.tar.bz2
rneovim-6725565258930ba430cfb925fd1671596a8a4342.zip
fix(event-loop): process input before events (#27358)
Problem: When nvim_input is followed immediately by non-fast events on RPC, both events and input are available after the polling done by the os_inchar() in state_enter(), but state_enter() then chooses to process events even if input is available, which is inconsistent with state_handle_k_event() that stops processing events once input is available. Solution: Also check for available input after the os_inchar() in state_enter().
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions