multigrid: Put everything on default_grid if not ext_multigrid

This commit is contained in:
Utkarsh Maheshwari
2018-06-19 11:45:10 +05:30
committed by Björn Linse
parent d5754eae02
commit 0432e1586e
4 changed files with 82 additions and 31 deletions

View File

@@ -257,9 +257,7 @@ void nvim_ui_try_resize_grid(uint64_t channel_id, Integer grid, Integer width,
return;
}
// TODO(utkarshme): Check if grid exists
ui_grid_resize((GridHandle)grid, (int)width, (int)height);
ui_grid_resize((GridHandle)grid, (int)width, (int)height, error);
}
/// Pushes data into UI.UIData, to be consumed later by remote_ui_flush().