]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1742: wrong curswant when clicking on second cell of double-width char v9.0.1742
authorzeertzjq <zeertzjq@outlook.com>
Sat, 19 Aug 2023 11:08:50 +0000 (13:08 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Aug 2023 11:08:50 +0000 (13:08 +0200)
commit9994160bfe74501886bbbf5631aec8ea2ae05991
tree99acb17f9963bce48aa9abcd38ff860e682b7166
parentc5d2744c045f9ad058cbc799f2434d90a6d83516
patch 9.0.1742: wrong curswant when clicking on second cell of double-width char

Problem:  Wrong curswant when clicking and the second cell of a
          double-width char.
Solution: Don't copy virtcol of the first char to the second one.

closes: #12842

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