mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
ui: disable 'lazyredraw' during ui_refresh.
Could also try `do_redraw = true` instead of save/restore `p_lz`, but the nice thing about save/restore of `p_lz` is that it is "atomic". The semantics of `do_redraw` are not clear to me. Closes #4884 References #6202 References https://github.com/neovim/neovim/pull/6202#issuecomment-284379503 References #3929 #5692 #6157 References #5866
This commit is contained in:
@@ -7440,13 +7440,11 @@ int number_width(win_T *wp)
|
||||
return n;
|
||||
}
|
||||
|
||||
/*
|
||||
* Set size of the Vim shell.
|
||||
* If 'mustset' is TRUE, we must set Rows and Columns, do not get the real
|
||||
* window size (this is used for the :win command).
|
||||
* If 'mustset' is FALSE, we may try to get the real window size and if
|
||||
* it fails use 'width' and 'height'.
|
||||
*/
|
||||
/// Set size of the Vim shell.
|
||||
/// If 'mustset' is TRUE, we must set Rows and Columns, do not get the real
|
||||
/// window size (this is used for the :win command).
|
||||
/// If 'mustset' is FALSE, we may try to get the real window size and if
|
||||
/// it fails use 'width' and 'height'.
|
||||
void screen_resize(int width, int height)
|
||||
{
|
||||
static int busy = FALSE;
|
||||
|
Reference in New Issue
Block a user