setSize method
Sets the size.
Implementation
void setSize(int width, int height) {
_width = width;
_height = height;
help = help.copyWith(width: width);
// Update filter input width
final promptWidth = styles.title.render(filterInput.prompt).length;
filterInput.width = width - promptWidth;
_updatePagination();
updateKeybindings();
}