Fix logterminal(2) using ISORTIX_TERMMODE as a cflag instead of a lflag.
This commit is contained in:
parent
ad06a75ac3
commit
e62a9c10d9
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ void LogTerminal::OnKeystroke(Keyboard* kb, void* /*user*/)
|
|||
if ( unicode == '\n' )
|
||||
unicode = '\r';
|
||||
bool control = modifiers & (MODIFIER_LCONTROL | MODIFIER_RCONTROL);
|
||||
if ( !(tio.c_cflag & ISORTIX_TERMMODE) && unicode == '\b' )
|
||||
if ( !(tio.c_lflag & ISORTIX_TERMMODE) && unicode == '\b' )
|
||||
unicode = 127;
|
||||
if ( modifiers & MODIFIER_ALT && !(tio.c_lflag & ISORTIX_KBKEY) )
|
||||
ProcessByte('\e');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue