mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
terminal : don't set vterm size to 0 (workaround #2732)
This commit is contained in:

committed by
Justin M. Keyes

parent
8c84c124ed
commit
e54fa04b90
@@ -313,6 +313,10 @@ void terminal_resize(Terminal *term, uint16_t width, uint16_t height)
|
||||
return;
|
||||
}
|
||||
|
||||
if (height == 0 || width == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
vterm_set_size(term->vt, height, width);
|
||||
vterm_screen_flush_damage(term->vts);
|
||||
term->pending_resize = true;
|
||||
|
Reference in New Issue
Block a user