1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix logterminal TERMMODE_UNICODE checking.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-08-18 17:48:46 +02:00
parent 6725972e11
commit 40c2fd12dc

View file

@ -275,7 +275,7 @@ void LogTerminal::QueueUnicode(uint32_t unicode)
int abskbkey = (kbkey < 0) ? -kbkey : kbkey;
bool wasenter = kbkey == KBKEY_ENTER || unicode == '\n';
bool kbkeymode = termmode & TERMMODE_KBKEY;
bool unicodemode = termmode && TERMMODE_UNICODE;
bool unicodemode = termmode & TERMMODE_UNICODE;
bool linemode = termmode & TERMMODE_LINEBUFFER;
bool echomode = termmode & TERMMODE_ECHO;