mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix terminal escape keystroke not sending escape byte.
This commit is contained in:
parent
a77fb74fd9
commit
51e13b9357
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue