resize method

void resize(
  1. int width,
  2. int height, {
  3. bool pull = false,
})

The terminal becomes width x height and keeps what it shows (see Vt.resizeKeeping); a ResizeEvent follows.

Implementation

void resize(int width, int height, {bool pull = false}) {
  vt.resizeKeeping(width, height, pull: pull);
  _input.resize(width, height);
}