# HG changeset patch # User pantxo # Date 1393611491 -3600 # Node ID d565a5f5e06edec08a5ad8a4b43854707ddd5893 # Parent 0b95b9c5ac711a5980b352fa4fabfa133214f8a1 Disable default alt behavior on mac platform * Vt102Emulation.cpp (sendKeyEvent): do not send esc char (033) on mac os diff -r 0b95b9c5ac71 -r d565a5f5e06e libgui/qterminal/libqterminal/unix/Vt102Emulation.cpp --- a/libgui/qterminal/libqterminal/unix/Vt102Emulation.cpp Mon Apr 28 10:41:38 2014 -0700 +++ b/libgui/qterminal/libqterminal/unix/Vt102Emulation.cpp Fri Feb 28 19:18:11 2014 +0100 @@ -964,7 +964,9 @@ if ( modifiers & Qt::AltModifier && !(wantsAltModifier || wantsAnyModifier) && !event->text().isEmpty() ) { - textToSend.prepend("\033"); +#if !defined(Q_OS_MAC) + textToSend.prepend("\033"); +#endif } if ( entry.command() != KeyboardTranslator::NoCommand )