message: Resize the internal rows after resize and prevent rubbish from remaining
diff: @@ -2328,7 +2328,6 @@ export class Emulator implements EmulatorApi {
  const newrows = Math.max(newSize.rows, 1);
  // resize cols
  - if (this.cols < newcols) {
  for (let i = 0; i< this.lines.length; i++) {
  const line = this.lines[i];
  const newLine = new LineImpl(newcols, 1);
  @@ -2340,7 +2339,7 @@ export class Emulator implements EmulatorApi {
  this.lines[i] = newLine;
  }
  - }
  +
  this.setupStops(newcols);
  this.cols = newcols;
  