notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copyright for SDL reuse (will be dual licensed for PD)
[libpicofe.git]
/
linux
/
oshide.c
diff --git
a/linux/oshide.c
b/linux/oshide.c
index
881fcb7
..
484618d
100644
(file)
--- a/
linux/oshide.c
+++ b/
linux/oshide.c
@@
-1,3
+1,10
@@
+/*
+ * (C) GraÅžvydas "notaz" Ignotas, 2009-2010
+ *
+ * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
@@
-186,6
+193,7
@@
static void hidecon_start(void)
goto fail;
}
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;
kbd_termios.c_lflag &= ~(ICANON | ECHO); // | ISIG);
kbd_termios.c_iflag &= ~(ISTRIP | IGNCR | ICRNL | INLCR | IXOFF | IXON);
kbd_termios.c_cc[VMIN] = 0;