fx.term: tty: implement get_cursor_position() and flush()
This commit is contained in:
@@ -50,6 +50,11 @@ enum {
|
||||
FX_KEY_BACKSPACE,
|
||||
FX_KEY_RETURN,
|
||||
|
||||
/* within this range, we further reserve a sub-range. applications can
|
||||
* define their own special keycode values within this range */
|
||||
FX_KEY_RESERVED_START = 0xFFF00,
|
||||
FX_KEY_RESERVED_END = 0xFFFFD,
|
||||
|
||||
FX_MOD_CTRL = 0x10000000,
|
||||
|
||||
FX_KEY_EOF = 0xFFFFFFFF,
|
||||
@@ -153,6 +158,7 @@ FX_API void fx_tty_set_vmode(
|
||||
struct fx_tty *tty,
|
||||
const struct fx_tty_vmode *vmode);
|
||||
FX_API void fx_tty_reset_vmode(struct fx_tty *tty);
|
||||
FX_API void fx_tty_flush(struct fx_tty *tty);
|
||||
|
||||
FX_API enum fx_status fx_tty_get_dimensions(
|
||||
struct fx_tty *tty,
|
||||
|
||||
Reference in New Issue
Block a user