Forwards a terminal resize to the remote PTY.
void resize(int cols, int rows) => _session.resize(cols: cols, rows: rows);