mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
refactor(redraw): no type argument in update_screen()
This was used in the past with assumption that curwin/curbuf is "special" but this has not been true since basically forever at this point. Reduce NOT_VALID/CLEAR panic in options.lua . These should not be set if an effect of the option is causing something which by itself invokes redraw_later().
This commit is contained in:
@@ -522,7 +522,7 @@ static int terminal_check(VimState *state)
|
||||
terminal_check_cursor();
|
||||
|
||||
if (must_redraw) {
|
||||
update_screen(0);
|
||||
update_screen();
|
||||
}
|
||||
|
||||
if (need_maketitle) { // Update title in terminal-mode. #7248
|
||||
|
Reference in New Issue
Block a user