aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/rcconsole.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-02-09 22:59:04 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-02-09 22:59:04 +0000
commit54bd4123728628a6f77bad2584b70d1353a91666 (patch)
tree51fe5fa7108c770670ce4304b6d704eff292722b /lib/driver/rcconsole.cpp
parentd9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f (diff)
downloadenigma2-54bd4123728628a6f77bad2584b70d1353a91666.tar.gz
enigma2-54bd4123728628a6f77bad2584b70d1353a91666.zip
- fixed console input mode restore
- added "scan" component - scan possible from main menu
Diffstat (limited to 'lib/driver/rcconsole.cpp')
-rw-r--r--lib/driver/rcconsole.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/driver/rcconsole.cpp b/lib/driver/rcconsole.cpp
index ec759164..f662b2b1 100644
--- 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);
}