forked from aniani/vim
patch 9.1.0320: Wrong cursor position after using setcellwidths()
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>
This commit is contained in:
committed by
Christian Brabandt
parent
3d93630605
commit
05aacec6ab
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user