mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -04:00
Allow the scrolling optimisation to work on regions of the display instead of the whole screen. This makes it work with split/screen vi/Screen etc. Doesn't work with applications that use vertical splits.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668839
This commit is contained in:
@@ -196,6 +196,11 @@ void ScreenWindow::resetScrollCount()
|
||||
_scrollCount = 0;
|
||||
}
|
||||
|
||||
QRect ScreenWindow::scrollRegion() const
|
||||
{
|
||||
return _screen->lastScrolledRegion();
|
||||
}
|
||||
|
||||
void ScreenWindow::notifyOutputChanged()
|
||||
{
|
||||
// move window to the bottom of the screen and update scroll count
|
||||
|
||||
Reference in New Issue
Block a user