diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-17 15:40:21 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-09-22 10:38:10 +0200 |
commit | 93b30582db520ae20d66b000053007c11b62c15d (patch) | |
tree | f1f3f829a263927047055216dcd259e2e51b9186 /src/nvim/drawline.c | |
parent | 00cfc1dcebd1c81dd0d8c111740782e86cf2e385 (diff) | |
download | rneovim-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/drawline.c')
-rw-r--r-- | src/nvim/drawline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c index 25ea2e1000..5c3fa3d3b0 100644 --- a/src/nvim/drawline.c +++ b/src/nvim/drawline.c @@ -2638,6 +2638,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange, // When the window is too narrow draw all "@" lines. if (draw_state != WL_LINE && filler_todo <= 0) { win_draw_end(wp, '@', ' ', true, row, wp->w_grid.rows, HLF_AT); + set_empty_rows(wp, row); row = endrow; } |