Fix terminal escape keystroke not sending escape byte.
This commit is contained in:
parent
a77fb74fd9
commit
51e13b9357
|
@ -382,6 +382,12 @@ void LogTerminal::ProcessKeystroke(int kbkey)
|
|||
if ( kbkey < 0 )
|
||||
return;
|
||||
|
||||
if ( kbkey == KBKEY_ESC )
|
||||
{
|
||||
ProcessByte('\e');
|
||||
return;
|
||||
}
|
||||
|
||||
const struct kbkey_sequence* seq = LookupKeystrokeSequence(kbkey);
|
||||
if ( !seq )
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue