diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-02-09 22:59:04 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-02-09 22:59:04 +0000 |
| commit | 54bd4123728628a6f77bad2584b70d1353a91666 (patch) | |
| tree | 51fe5fa7108c770670ce4304b6d704eff292722b /lib/driver/rcconsole.cpp | |
| parent | d9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f (diff) | |
| download | enigma2-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.cpp | 4 |
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); } |
