]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1705: cursor position wrong when clicking on an unprintable char v9.0.1705
authorzeertzjq <zeertzjq@outlook.com>
Sun, 13 Aug 2023 16:11:05 +0000 (18:11 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Aug 2023 16:11:05 +0000 (18:11 +0200)
commitb25dbb3f9b5885dd623af7a9fae890b8366b64e2
treed1b67af593d51987e18130857895d4537e580075
parent0c6181fec4c362eb9682d5af583341eb20cb1af5
patch 9.0.1705: cursor position wrong when clicking on an unprintable char

Problem:  cursor position wrong when clicking on an unprintable char
Solution: Don't update prev_ptr when wlv.n_extra is not zero.

closes: #12664

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
src/drawline.c
src/testdir/test_normal.vim
src/version.c