Mercurial > hg > octave-max
changeset 13636:6099d4015aae
Backspace now works correctly.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Fri, 19 Aug 2011 16:26:30 +0200 |
parents | 04931210aac0 |
children | 367919252ed6 |
files | gui/src/OctaveTerminal.cpp |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/OctaveTerminal.cpp +++ b/gui/src/OctaveTerminal.cpp @@ -91,9 +91,15 @@ case Qt::Key_Left: m_shellProcess->sendData ("\EOF"); break; - } + + case Qt::Key_Backslash: + m_shellProcess->sendData ("\008"); + break; - m_shellProcess->sendData (keyEvent->text ().toLocal8Bit ()); + default: + m_shellProcess->sendData (keyEvent->text ().toLocal8Bit ()); + break; + } /* bool emitKeyPressSignal = true;