summaryrefslogtreecommitdiffstats
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-14 18:52:49 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-14 18:52:49 +0200
commit05aacec6ab5c7ed8a13bbdca2f0005d6a1816230 (patch)
treebcd397910eeac7718df272cd5425788bcf16626e /src/mbyte.c
parent3d93630605df60e8de5a38918eaff62165b42382 (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.c1
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);
}