Skip to content

Commit

Permalink
Merge pull request #24 from kent-engstrom/master
Browse files Browse the repository at this point in the history
Refix CTRL+SPACE behaviour on QT5.
  • Loading branch information
Swordfish90 authored Jun 18, 2019
2 parents 48274c7 + 2233b6f commit 050193c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vt102Emulation.cpp
Original file line number Diff line number Diff line change
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 050193c

Please sign in to comment.