diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-06 18:37:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-06 12:37:28 -0400 |
| commit | d951908e122738c0f86947b7d07d3768928e8309 (patch) | |
| tree | a7bd18bf220b741b9b5369ab8f2927cc2ce0e20a /runtime/lua/vim/_async.lua | |
| parent | 2f5df7add78e254f672e23a6e13621817663fb6c (diff) | |
| download | rneovim-d951908e122738c0f86947b7d07d3768928e8309.tar.gz rneovim-d951908e122738c0f86947b7d07d3768928e8309.tar.bz2 rneovim-d951908e122738c0f86947b7d07d3768928e8309.zip | |
fix(ui2): mouse movement dismisses expanded messages #41732
Problem:
cmd_on_key() tests the key it was handed against the literal string
'<MouseMove>', but at that point "typed" still holds raw key bytes. Thus
the comparison never holds and the branch its own comment describes
is dead. Moving the mouse over an expanded cmdline collapses it.
Solution:
Translate the key once, up front, so every comparison in the function
sees the same form.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions