aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_extui/shared.lua
diff options
context:
space:
mode:
authorShadman <shadmansaleh3@gmail.com>2025-11-08 08:40:37 +0600
committerGitHub <noreply@github.com>2025-11-08 10:40:37 +0800
commit466b2ac1929ab120642e2cc91fbf1699d6ee1f9c (patch)
tree9829c5f82342ed5fcc6ec2144b642caa3342033c /runtime/lua/vim/_extui/shared.lua
parentaf5ac171bde3ae7f961a23e9464309cee7ef9c13 (diff)
downloadrneovim-466b2ac1929ab120642e2cc91fbf1699d6ee1f9c.tar.gz
rneovim-466b2ac1929ab120642e2cc91fbf1699d6ee1f9c.tar.bz2
rneovim-466b2ac1929ab120642e2cc91fbf1699d6ee1f9c.zip
fix(prompt): wrong cursor position with cursor keys (#36196)
**Problem**: Currently, whenever user get's on prompt-text area we move the user to end of user-input area. As a result when left/c-left,home keys are triggered at start of user-input the cursor get's placed at end of user-input. But this behavior can be jarring and unintuitive also it's different from previous behavior where it'd just stay at start of input-area. Also, previously when insert-mode was triggered in prompt-text with n_a for example then cursor was placed at start of user-input area not at the end. So, that behavior was also broken. **Solution:** Restore previous behavior. Don't force user to end of user-input when entering insert-mode from readonly section.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions