Reflow current cursor bug

Calculate the current cursor position lines needed.
wilder
Carlos Alves 5 years ago committed by Tomaz Canabrava
parent 73ed15f215
commit 02ba277d0f
  1. 1
      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;

Loading…
Cancel
Save