#include <filter_console.h>
Inheritance diagram for Filter_console:
Public Member Functions | |
Filter_console (Console *o, int to=8000) | |
~Filter_console () | |
int | write (char const *str, size_t len) |
Write a string of len chacters to the output. | |
int | getchar (bool blocking=true) |
read a charcater from the input. | |
int | char_avail () const |
Is input available? | |
Mword | get_attributes () const |
Console attributes. | |
Private Types | |
enum | { NORMAL, UNKNOWN_ESC, GOT_CSI } |
Private Member Functions | |
int | getchar_timeout (unsigned timeout) |
Private Attributes | |
Console *const | _o |
int | csi_timeout |
enum Filter_console:: { ... } | state |
unsigned | pos |
char | ibuf [32] |
unsigned | arg |
int | args [4] |
|
|
|
|
|
|
|
Is input available? This method can be implemented. It must return -1 if no information is available, 1 if at least one character is avialable, and 0 if no charachter is available. Reimplemented from Console. |
|
Console attributes.
Reimplemented from Console. |
|
read a charcater from the input.
Reimplemented from Console. |
|
|
|
Write a string of len chacters to the output.
Reimplemented from Console. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|