diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-15 18:22:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-15 18:22:05 +0800 |
| commit | 202e17deef9f7bf37d8c519f77edb7bf430eeb23 (patch) | |
| tree | c716cf57a366f9fcba52ad2032340b9ee82ff912 /test/functional/vimscript/executable_spec.lua | |
| parent | 92317013b4ad9e108183d165f34427111ec171da (diff) | |
vim-patch:9.2.0346: Wrong cursor position when entering command line window (#39072)
Problem: Wrong cursor position when entering command line window
Solution: Add check_cursor() command to verify the cursor position
(Hirohito Higashi).
When opening the command-line window with CTRL-F after typing a command
that fills the screen width, the cursor was placed past the end of the
line. Add check_cursor() after setting State to MODE_NORMAL so the
cursor is adjusted to the last character.
Also fix the cmdwin prefix character (e.g. ':') being drawn on wrapped
continuation rows. Draw an empty space instead so that the text
alignment is preserved.
closes: vim/vim#19964
https://github.com/vim/vim/commit/c4fe1e958a2051d443abe072c8a5366a887da9b3
Cherry-pick Test_wildmenu_pum() changes from patch 9.1.1995.
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
