patch 8.1.0212: preferred cursor column not set in interfaces
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes #3060)
This commit is contained in:
@ -2132,6 +2132,7 @@ set_cursor(void *data, int argc, Scheme_Object **argv)
|
||||
|
||||
win->win->w_cursor.lnum = lnum;
|
||||
win->win->w_cursor.col = col;
|
||||
win->win->w_set_curswant = TRUE;
|
||||
update_screen(VALID);
|
||||
|
||||
raise_if_error();
|
||||
|
||||
Reference in New Issue
Block a user