From 53901442f37a59e5495165f91db5574c0b43ab04 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 25 Jul 2018 22:02:36 +0200 Subject: 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) --- src/if_perl.xs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/if_perl.xs') diff --git a/src/if_perl.xs b/src/if_perl.xs index 55a24c6ac7..bc15efa944 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -1691,6 +1691,7 @@ Cursor(win, ...) col = (int) SvIV(ST(2)); win->w_cursor.lnum = lnum; win->w_cursor.col = col; + win->w_set_curswant = TRUE; check_cursor(); /* put cursor on an existing line */ update_screen(NOT_VALID); } -- cgit v1.2.3