diff --git a/kernel/logterminal.cpp b/kernel/logterminal.cpp index 0fd45866..92c82095 100644 --- a/kernel/logterminal.cpp +++ b/kernel/logterminal.cpp @@ -175,6 +175,8 @@ void LogTerminal::OnKeystroke(Keyboard* kb, void* /*user*/) bool control = modifiers & (MODIFIER_LCONTROL | MODIFIER_RCONTROL); if ( !(tio.c_cflag & ISORTIX_TERMMODE) && unicode == '\b' ) unicode = 127; + if ( modifiers & MODIFIER_ALT && !(tio.c_lflag & ISORTIX_KBKEY) ) + ProcessByte('\e'); if ( control && unicode == L' ' ) ProcessByte(0, unicode); else if ( control && (L'`' <= unicode && unicode <= L'}') )