Missing to set property for the new line

It didn't crash or bug, but to be sure it won't.
wilder
Carlos Alves 5 years ago committed by Tomaz Canabrava
parent 6bf62a2ae1
commit 110b36a03a
  1. 1
      src/Screen.cpp

@ -464,6 +464,7 @@ void Screen::resizeImage(int new_lines, int new_columns)
_history->setCellsAt(currentPos, curr_line, new_columns);
_history->setLineAt(currentPos, true);
_history->insertCells(currentPos + 1, curr_line + new_columns, curr_linelen - new_columns);
_history->setLineAt(currentPos + 1, false);
}
currentPos++;
}

Loading…
Cancel
Save