mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 03:28:33 +00:00
test: :terminal + numberwidth=9
This commit is contained in:
@@ -698,12 +698,12 @@ static void win_update(win_T *wp)
|
||||
(uint16_t)(MAX(0, curwin->w_width - win_col_off(curwin))),
|
||||
(uint16_t)curwin->w_height);
|
||||
}
|
||||
} else if (buf->b_mod_set && buf->b_mod_xlines != 0 && wp->w_redraw_top != 0) {
|
||||
/*
|
||||
* When there are both inserted/deleted lines and specific lines to be
|
||||
* redrawn, w_redraw_top and w_redraw_bot may be invalid, just redraw
|
||||
* everything (only happens when redrawing is off for while).
|
||||
*/
|
||||
} else if (buf->b_mod_set
|
||||
&& buf->b_mod_xlines != 0
|
||||
&& wp->w_redraw_top != 0) {
|
||||
// When there are both inserted/deleted lines and specific lines to be
|
||||
// redrawn, w_redraw_top and w_redraw_bot may be invalid, just redraw
|
||||
// everything (only happens when redrawing is off for while).
|
||||
type = NOT_VALID;
|
||||
} else {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user