Add profile option to scroll full/half height via Page Up/Down keys

The default is still half page - there is no GUI to change this;
either use konsoleprofile or change the .profile manually.

CCBUG: 280637
This commit is contained in:
Kurt Hindenburg
2013-02-24 12:03:46 -05:00
parent 2c686b7afe
commit 3cd4d2e440
7 changed files with 32 additions and 4 deletions

View File

@@ -791,6 +791,9 @@ void ViewManager::applyProfileToView(TerminalDisplay* view , const Profile::Ptr
else if (scrollBarPosition == Enum::ScrollBarHidden)
view->setScrollBarPosition(Enum::ScrollBarHidden);
bool scrollFullPage = profile->property<bool>(Profile::ScrollFullPage);
view->setScrollFullPage(scrollFullPage);
// show hint about terminal size after resizing
view->setShowTerminalSizeHint(profile->showTerminalSizeHint());