Properly implement the "Action after paste" feature
Scroll to end only when data is not from pasting Fixes https://github.com/lxqt/qterminal/issues/43 Fixes https://github.com/lxqt/qterminal/issues/741
This commit is contained in:
+2
-2
@@ -328,8 +328,8 @@ void QTermWidget::init(int startnow)
|
||||
this, SIGNAL(termGetFocus()));
|
||||
connect(m_impl->m_terminalDisplay, SIGNAL(termLostFocus()),
|
||||
this, SIGNAL(termLostFocus()));
|
||||
connect(m_impl->m_terminalDisplay, SIGNAL(keyPressedSignal(QKeyEvent *)),
|
||||
this, SIGNAL(termKeyPressed(QKeyEvent *)));
|
||||
connect(m_impl->m_terminalDisplay, &TerminalDisplay::keyPressedSignal,
|
||||
[this] (QKeyEvent* e, bool) { Q_EMIT termKeyPressed(e); });
|
||||
// m_impl->m_terminalDisplay->setSize(80, 40);
|
||||
|
||||
QFont font = QApplication::font();
|
||||
|
||||
Reference in New Issue
Block a user