X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Foshide.c;h=203691fd67deead68ae57d3ef9b434710fad30f6;hb=c7d27148ae9cf40204bf965561b9b57daff15521;hp=881fcb77898f58d45ab4f771c309118a2f470623;hpb=57e9b4d30dfd984ce834c3806a819fa1b83ee936;p=libpicofe.git diff --git a/linux/oshide.c b/linux/oshide.c index 881fcb7..203691f 100644 --- a/linux/oshide.c +++ b/linux/oshide.c @@ -1,3 +1,13 @@ +/* + * (C) Gražvydas "notaz" Ignotas, 2009-2010 + * + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - GNU LGPL, version 2.1 or later. + * See the COPYING file in the top-level directory. + */ + #include #include #include @@ -186,6 +196,7 @@ static void hidecon_start(void) goto fail; } + g_kbd_termios_saved = kbd_termios; kbd_termios.c_lflag &= ~(ICANON | ECHO); // | ISIG); kbd_termios.c_iflag &= ~(ISTRIP | IGNCR | ICRNL | INLCR | IXOFF | IXON); kbd_termios.c_cc[VMIN] = 0;