#ifndef LOCALCONSOLE_H #define LOCALCONSOLE_H #include "console.h" //#ifdef LINUX #include #include #include namespace bbs { class LocalTerminal : public Terminal { public: virtual void open() override; virtual int getWidth() const override; virtual int getHeight() const override; virtual void close() override; private: struct termios orig_term_attr; struct winsize ws; }; extern LocalTerminal localTerminal; } //#endif #endif // LOCALCONSOLE_H