mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.4644: redrawing too often when 'relativenumber' is set
Problem: Redrawing too often when 'relativenumber' is set. Solution: Only redraw when the cursor line changed. (Lewis Russell, closes #10040)
This commit is contained in:
committed by
Bram Moolenaar
parent
24565cf27b
commit
1624639ec8
@@ -3465,6 +3465,9 @@ struct window_S
|
||||
colnr_T w_old_visual_col; // last known start of visual part
|
||||
colnr_T w_old_curswant; // last known value of Curswant
|
||||
|
||||
linenr_T w_last_cursor_lnum_rnu; // cursor lnum when 'rnu' was last
|
||||
// redrawn
|
||||
|
||||
lcs_chars_T w_lcs_chars; // 'listchars' characters
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user