summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-30 21:41:14 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-30 21:41:14 +0100
commitc07ff5c60ad35982e9cdaa9dd72d3d1669935e87 (patch)
tree44d2c989bbe002e8698dd4f81514c407a6a85b06 /src/screen.c
parentb191be2f0000bf1de09a79226cfd405d9387caa3 (diff)
patch 8.1.0849: cursorline highlight is not always updatedv8.1.0849
Problem: Cursorline highlight is not always updated. Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags when using the popup menu.
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 570910e29f..1370773f8f 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3712,6 +3712,7 @@ win_line(
{
line_attr = HL_ATTR(HLF_CUL);
area_highlighting = TRUE;
+ wp->w_last_cursorline = wp->w_cursor.lnum;
}
#endif