7 #define VT100_ESC_BUF 24
12 int cx
, cy
; // cursor position
18 } cmode
; // cursor mode
19 int att
, col
; // current attribute and colour
20 uint8_t *screen
, *colour
, *attrib
; // screen data
22 uint8_t esc
[VT100_ESC_BUF
]; // buffer for escape sequence
29 vt100
* init_term (int width
, int height
);
30 vt100
* resize_term (vt100
*term
, int width
, int height
);
31 void term_process (vt100
*term
, const char *data
, int len
);
32 void term_copy_data (vt100
*term
, int fd
);