From 5babc6e858afbfa54aa0e203a64b9c70175487b7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 14 Sep 2019 21:55:51 +0200 Subject: patch 8.1.2031: cursor position wrong when resizing and using conceal 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) --- src/screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/screen.c') 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 -- cgit v1.2.1