diff --git a/lib/Vt102Emulation.cpp b/lib/Vt102Emulation.cpp index d2c5b8b..cb92363 100644 --- a/lib/Vt102Emulation.cpp +++ b/lib/Vt102Emulation.cpp @@ -958,6 +958,12 @@ void Vt102Emulation::sendKeyEvent( QKeyEvent* event ) else if(event->key() == Qt::Key_Tab) { textToSend += 0x09; } + else if (event->key() == Qt::Key_PageUp) { + textToSend += "\033[5~"; + } + else if (event->key() == Qt::Key_PageDown) { + textToSend += "\033[6~"; + } else { textToSend += _codec->fromUnicode(event->text()); }