Skip to content

Commit

Permalink
Refix CTRL+SPACE behaviour on QT5.
Browse files Browse the repository at this point in the history
As per discussion in Swordfish90/cool-retro-term issue lxqt#165, revert
later change back to the state after commit 490eeaf, "Fix CTRL+SPACE
behaviour on QT5."
  • Loading branch information
kent-engstrom committed Jun 17, 2019
1 parent 48274c7 commit 2233b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vt102Emulation.cpp
Expand Up @@ -1230,7 +1230,7 @@ void Vt102Emulation::sendKeyEvent( QKeyEvent* origEvent )
}
else if ( !entry.text().isEmpty() )
{
textToSend += _codec->fromUnicode(QString::fromUtf8(entry.text(true,modifiers)));
textToSend += entry.text(true,modifiers);
}
else if((modifiers & Qt::ControlModifier) && event->key() >= 0x40 && event->key() < 0x5f) {
textToSend += (event->key() & 0x1f);
Expand Down

0 comments on commit 2233b6f

Please sign in to comment.