Call of TIOCLINUX only in the Linux console

This commit is contained in:
Markus Gans 2020-11-02 23:24:14 +01:00
parent 396985f594
commit d9003af7a1
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2020-11-02 Markus Gans <guru.mail@muenster.de> 2020-11-02 Markus Gans <guru.mail@muenster.de>
* Non-blocking reading before timeout after keystroke * Non-blocking reading before timeout after keystroke
* Every fourth event processing causes a terminal flush * Every fourth event processing causes a terminal flush
* Call of TIOCLINUX only in the Linux console
2020-11-01 Markus Gans <guru.mail@muenster.de> 2020-11-01 Markus Gans <guru.mail@muenster.de>
* Now FINAL CUT queues keyboard and mouse input to speed up * Now FINAL CUT queues keyboard and mouse input to speed up

View File

@ -557,7 +557,7 @@ FKey FKeyboard::keyCorrection (const FKey& keycode) const
FKey key_correction; FKey key_correction;
#if defined(__linux__) #if defined(__linux__)
if ( linux ) if ( linux && FTerm::isLinuxTerm() )
key_correction = linux->modifierKeyCorrection(keycode); key_correction = linux->modifierKeyCorrection(keycode);
else else
key_correction = keycode; key_correction = keycode;