diff --git a/src/Screen.cpp b/src/Screen.cpp index 6d328c7f..4c475abd 100644 --- a/src/Screen.cpp +++ b/src/Screen.cpp @@ -393,6 +393,7 @@ void Screen::resizeImage(int new_lines, int new_columns) count_needed_lines += _screenLines[currentPos].count() / (new_columns + 1); currentPos++; } + count_needed_lines += _screenLines[currentPos].count() / (new_columns + 1); // If it will need more lines than new_lines have, send lines to _history count_needed_lines += _cuY;