diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-14 18:52:49 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-14 18:52:49 +0200 |
commit | 05aacec6ab5c7ed8a13bbdca2f0005d6a1816230 (patch) | |
tree | bcd397910eeac7718df272cd5425788bcf16626e /src/mbyte.c | |
parent | 3d93630605df60e8de5a38918eaff62165b42382 (diff) |
patch 9.1.0320: Wrong cursor position after using setcellwidths()v9.1.0320
Problem: Wrong cursor position after using setcellwidths().
Solution: Invalidate cursor position in addition to redrawing.
(zeertzjq)
closes: #14545
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/mbyte.c')
-rw-r--r-- | src/mbyte.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index d6fb7ecc76..406d1093ff 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -5733,6 +5733,7 @@ f_setcellwidths(typval_T *argvars, typval_T *rettv UNUSED) } vim_free(cw_table_save); + changed_window_setting_all(); redraw_all_later(UPD_CLEAR); } |