mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
terminal: handle size when switching buffers in window
This commit is contained in:
@@ -453,7 +453,7 @@ void ui_grid_resize(handle_T grid_handle, int width, int height, Error *error)
|
||||
}
|
||||
|
||||
// non-positive indicates no request
|
||||
wp->w_height_request = (int)MAX(height,0);
|
||||
wp->w_width_request = (int)MAX(width,0);
|
||||
wp->w_height_request = (int)MAX(height, 0);
|
||||
wp->w_width_request = (int)MAX(width, 0);
|
||||
win_set_inner_size(wp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user