git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed console input mode restore
[enigma2.git]
/
lib
/
driver
/
rcconsole.cpp
diff --git
a/lib/driver/rcconsole.cpp
b/lib/driver/rcconsole.cpp
index ec7591647255ad2e9047a9ef011de6e9d9dd8fae..f662b2b146bd27361e87efab08842463e6495586 100644
(file)
--- a/
lib/driver/rcconsole.cpp
+++ b/
lib/driver/rcconsole.cpp
@@
-20,10
+20,10
@@
eRCConsoleDriver::eRCConsoleDriver(const char *filename): eRCDriver(eRCInput::ge
}
/* set console mode */
- struct termios t
,ot
;
+ struct termios t;
tcgetattr(handle, &t);
- t.c_lflag &= ~(ECHO | ICANON | ECHOK | ECHOE | ECHONL);
ot = t;
+ t.c_lflag &= ~(ECHO | ICANON | ECHOK | ECHOE | ECHONL);
tcsetattr(handle, TCSANOW,&t);
}