rcconsole: fix for escape codes split into multiple reads
[enigma2.git] / lib / driver / rcconsole.h
index 4af2a4c..8a24612 100644 (file)
@@ -9,7 +9,8 @@ class eRCConsoleDriver: public eRCDriver
        struct termios ot;
 protected:
        int handle;
-       eSocketNotifier *sn;
+       ePtr<eSocketNotifier> sn;
+       bool m_escape;
        void keyPressed(int);
 public:
        eRCConsoleDriver(const char *filename);