Commit b9a69ec0 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Upon Ctrl+C cancel flow control

If flow control is enabled, it is cancelled upon Ctrl+C.  This mimics
xterm results.
BUG: 293534
parent 2301ab5b
......@@ -977,10 +977,15 @@ void Vt102Emulation::sendKeyEvent(QKeyEvent* event)
// check flow control state
if (modifiers & Qt::ControlModifier) {
if (event->key() == Qt::Key_S)
switch (event->key()) {
case Qt::Key_S:
emit flowControlKeyPressed(true);
else if (event->key() == Qt::Key_Q)
case Qt::Key_Q:
case Qt::Key_C: // cancel flow control
emit flowControlKeyPressed(false);
// lookup key binding
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment