diff options
author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-02-19 10:47:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-19 10:47:44 +0000 |
commit | f3ce67549c946815e64845f27f6f46f1aaeb5ec6 (patch) | |
tree | 19f5b8ff054930568d31a057f3e3f3ecfdb0835a /runtime/lua/vim/_defaults.lua | |
parent | a3eb49f6382ba6fd6a61ecfebd7b526fa9730e29 (diff) | |
download | rneovim-f3ce67549c946815e64845f27f6f46f1aaeb5ec6.tar.gz rneovim-f3ce67549c946815e64845f27f6f46f1aaeb5ec6.tar.bz2 rneovim-f3ce67549c946815e64845f27f6f46f1aaeb5ec6.zip |
fix(terminal): avoid more `busy_start` lacking `busy_stop` (#32509)
Problem: after #32458, it may still be possible for `busy_start` UI events to be
emitted without matching `busy_stop`s in the terminal.
Solution: do `terminal_enter`'s cursor visibility check immediately after
setting/restoring State so it occurs before events. This ensures that if pending
escape sequences are processed while in `terminal_enter`, the cursor's initial
visibility is set before `is_focused` is checked by `term_settermprop`.
As a result, we can move the call to `showmode` back to where it was originally.
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions