*/
void set_line_buffer(bool);
- /**
- Retrieves the size of the Console. Can only be used on an output Console.
- */
+ /** Retrieves the size of the Console. Can only be used on an output
+ Console. */
void get_size(unsigned &rows, unsigned &cols);
- virtual Handle get_event_handle();
protected:
virtual unsigned do_write(const char *, unsigned);
virtual unsigned do_read(char *, unsigned);
+
public:
+ virtual Handle get_event_handle();
+
static Console &instance(unsigned);
};