aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-17 15:40:21 +0200
committerbfredl <bjorn.linse@gmail.com>2022-09-22 10:38:10 +0200
commit93b30582db520ae20d66b000053007c11b62c15d (patch)
treef1f3f829a263927047055216dcd259e2e51b9186 /src/nvim/screen.c
parent00cfc1dcebd1c81dd0d8c111740782e86cf2e385 (diff)
downloadrneovim-93b30582db520ae20d66b000053007c11b62c15d.tar.gz
rneovim-93b30582db520ae20d66b000053007c11b62c15d.tar.bz2
rneovim-93b30582db520ae20d66b000053007c11b62c15d.zip
fix(redraw): make redrawdebug=nodelta handle all the cases
Before only win_line lines were considered. this applies nodelta to all screen elements. Causes some failures, which might indeed indicate excessive redraws.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index cdfb1e9ee1..1af93f061c 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -155,8 +155,6 @@ void win_draw_end(win_T *wp, int c1, int c2, bool draw_margin, int row, int endr
} else {
grid_fill(&wp->w_grid, row, endrow, n, wp->w_grid.cols, c1, c2, attr);
}
-
- set_empty_rows(wp, row);
}
/// Compute the width of the foldcolumn. Based on 'foldcolumn' and how much