Scrollback lines above the viewport (total_lines - screen_lines).
total_lines - screen_lines
final int historySize;