diff options
Diffstat (limited to 'libterm/term.h')
-rw-r--r-- | libterm/term.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/libterm/term.h b/libterm/term.h index de4fede..0be7391 100644 --- a/libterm/term.h +++ b/libterm/term.h @@ -14,6 +14,7 @@ #include <unistd.h> #include "screen_modes.h" +#include "debug.h" typedef struct term_screen @@ -24,19 +25,19 @@ typedef struct term_screen screen_mode_e mode; } term_screen; -int term_init( term_screen* ); -int term_get_maxcol( term_screen* ); -int term_get_maxrow( term_screen* ); -int term_cur_pos( term_screen* ); -int term_cur_pos_c( term_screen* ); -int term_cur_pos_r( term_screen* ); -int term_cur_set_c( term_screen*, unsigned int ); -int term_cur_set_r( term_screen*, unsigned int ); -int term_set_speed( term_screen* ); -int term_clr_scr( term_screen* ); -int term_set_raw_mode( term_screen* ); -int term_mode_rows( term_screen* ); -int term_mode_columns( term_screen* ); -void term_set_orig_mode( term_screen* ); +int term_init( term_screen *ts ); +int term_get_maxcol( term_screen *ts ); +int term_get_maxrow( term_screen *ts ); +int term_cur_get_c( term_screen *ts ); +int term_cur_get_r( term_screen *ts ); +int term_cur_set_c( term_screen *ts, unsigned int pc ); +int term_cur_set_r( term_screen *ts, unsigned int pr ); +int term_cur_set_cr( term_screen *ts, unsigned int pc , unsigned int pr ); +int term_set_speed( term_screen *ts ); +int term_clr_scr( term_screen *ts ); +int term_set_raw_mode( term_screen *ts ); +int term_mode_rows( term_screen *ts ); +int term_mode_columns( term_screen *ts ); +void term_set_orig_mode( term_screen *ts ); #endif |