summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-14 21:55:51 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-14 21:55:51 +0200
commit5babc6e858afbfa54aa0e203a64b9c70175487b7 (patch)
treeb6fe7ec5b3a424219c9eacf193908b2095eea1ec /src/screen.c
parent997d42427eaab889058eb047e08d55de9e4a968a (diff)
downloadvim-git-5babc6e858afbfa54aa0e203a64b9c70175487b7.tar.gz
patch 8.1.2031: cursor position wrong when resizing and using concealv8.1.2031
Problem: Cursor position wrong when resizing and using conceal. Solution: Set the flags that the cursor position is valid when setting the row and column during redrawing. (closes #4931)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 4ea0cffbd..fec1081c2 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -5374,6 +5374,7 @@ win_line(
wp->w_wcol = col - boguscols;
wp->w_wrow = row;
did_wcol = TRUE;
+ curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
}
#endif