2014-01-06 13:29:18 -08:00
|
|
|
#ifndef _TERMPTY_OPS_H__
|
|
|
|
#define _TERMPTY_OPS_H__ 1
|
|
|
|
|
2012-07-13 01:46:33 -07:00
|
|
|
typedef enum _Termpty_Clear
|
|
|
|
{
|
|
|
|
TERMPTY_CLR_END,
|
|
|
|
TERMPTY_CLR_BEGIN,
|
|
|
|
TERMPTY_CLR_ALL
|
|
|
|
} Termpty_Clear;
|
|
|
|
|
2013-03-20 15:02:58 -07:00
|
|
|
void termpty_text_save_top(Termpty *ty, Termcell *cells, ssize_t w_max);
|
2015-06-01 13:52:07 -07:00
|
|
|
void termpty_cells_copy(Termpty *ty, Termcell *cells, Termcell *dest, int count);
|
|
|
|
void termpty_cells_clear(Termpty *ty, Termcell *cells, int count);
|
|
|
|
void termpty_text_scroll(Termpty *ty, Eina_Bool clear);
|
|
|
|
void termpty_text_scroll_rev(Termpty *ty, Eina_Bool clear);
|
|
|
|
void termpty_text_scroll_test(Termpty *ty, Eina_Bool clear);
|
|
|
|
void termpty_text_scroll_rev_test(Termpty *ty, Eina_Bool clear);
|
|
|
|
void termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len);
|
|
|
|
void termpty_clear_line(Termpty *ty, Termpty_Clear mode, int limit);
|
|
|
|
void termpty_clear_screen(Termpty *ty, Termpty_Clear mode);
|
|
|
|
void termpty_clear_all(Termpty *ty);
|
|
|
|
void termpty_reset_att(Termatt *att);
|
|
|
|
void termpty_reset_state(Termpty *ty);
|
|
|
|
void termpty_cursor_copy(Termpty *ty, Eina_Bool save);
|
2012-07-13 01:46:33 -07:00
|
|
|
|
|
|
|
#define _term_txt_write(ty, txt) termpty_write(ty, txt, sizeof(txt) - 1)
|
2014-01-06 13:29:18 -08:00
|
|
|
|
|
|
|
#endif
|