diff options
author | Ken Moore <moorekou@gmail.com> | 2016-04-25 11:21:32 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-04-25 11:21:32 -0400 |
commit | 57c6e1f84d8c2add8e7cc04d5028be523fac27f3 (patch) | |
tree | a16dda1eb04281d92cf5835b9d64308450c4168f /desktop-utilities/lumina-terminal | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-57c6e1f84d8c2add8e7cc04d5028be523fac27f3.tar.gz lumina-57c6e1f84d8c2add8e7cc04d5028be523fac27f3.tar.bz2 lumina-57c6e1f84d8c2add8e7cc04d5028be523fac27f3.zip |
Commit a few random changes on my dev system - just to sync up with the repo.
Diffstat (limited to 'desktop-utilities/lumina-terminal')
-rw-r--r-- | desktop-utilities/lumina-terminal/TerminalWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-utilities/lumina-terminal/TerminalWidget.cpp b/desktop-utilities/lumina-terminal/TerminalWidget.cpp index 6e05531b..a90d9846 100644 --- a/desktop-utilities/lumina-terminal/TerminalWidget.cpp +++ b/desktop-utilities/lumina-terminal/TerminalWidget.cpp @@ -15,7 +15,6 @@ #include <LuminaXDG.h> //Special control code ending symbols (aside from letters) -//QByteArray CC_END_SYMBOLS("@"); TerminalWidget::TerminalWidget(QWidget *parent, QString dir) : QTextEdit(parent){ //Setup the text widget @@ -441,6 +440,7 @@ void TerminalWidget::keyPressEvent(QKeyEvent *ev){ if(ev->text().isEmpty() || ev->text()=="\b" ){ sendKeyPress(ev->key()); + //PROC->writeTTY( QByteArray::fromHex(ev->nativeVirtualKey()) ); }else{ if( (ev->key()==Qt::Key_Enter || ev->key()==Qt::Key_Return) && !this->textCursor().atEnd() ){ sendKeyPress(Qt::Key_End); //just in case the cursor is not at the end (TTY will split lines and such - ugly) |