scroll to bottom on input
This commit is contained in:
@@ -2553,6 +2553,10 @@ void TerminalDisplay::keyPressEvent( QKeyEvent* event )
|
||||
if ( emitKeyPressSignal )
|
||||
emit keyPressedSignal(event);
|
||||
|
||||
// a little hack to ensure terminal goes into its "edit" line
|
||||
_scrollBar->setValue(_scrollBar->maximum());
|
||||
// end of the hack
|
||||
|
||||
event->accept();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user