Save all lines to history when scrolling multiple lines up
This action should not be performance critical, so scrolling one line n times seems reasonable. A solution with better performance requires more changes in addHistLine().
This should solve https://bugs.kde.org/show_bug.cgi?id=449233 .