aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_extui/shared.lua
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2026-02-04 22:43:21 +0000
committerGitHub <noreply@github.com>2026-02-04 17:43:21 -0500
commit506dd7252a8c70785650640c8db9595f152137ed (patch)
tree74ca3c3567f3fe8aaead8e110c81f92ac8fa7989 /runtime/lua/vim/_extui/shared.lua
parent70b1b15144565649731c4eddbcf7c8097784f19f (diff)
downloadrneovim-506dd7252a8c70785650640c8db9595f152137ed.tar.gz
rneovim-506dd7252a8c70785650640c8db9595f152137ed.tar.bz2
rneovim-506dd7252a8c70785650640c8db9595f152137ed.zip
fix(ui): remember cursor shape when obscured #37704
Problem: a2b92a5efbb4159d15311f015bb270f80de42e3a is regressive if the ui_mode_idx set by ui_cursor_shape differs from what ui_flush later sets it to. (e.g: if mode changes between both calls) Solution: Don't overwrite ui_mode_idx to obscure the cursor so that we don't forget what shape was last set by ui_cursor_shape. May not be needed, but does fix a potential regression. (and makes it easier to set ui_mode_idx to something other than cursor_get_mode_idx's retval in other places, if that's ever wanted)
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions