diff options
Diffstat (limited to 'libterm/term.h')
-rw-r--r-- | libterm/term.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libterm/term.h b/libterm/term.h index 010ed1b..b290a43 100644 --- a/libterm/term.h +++ b/libterm/term.h @@ -19,8 +19,8 @@ typedef struct term_screen { int ifd, ofd; - struct termios orig; - struct termios raw; + struct termios orig_i, orig_o; + struct termios raw_i, raw_o; screen_mode_e mode; int term_col, term_row; } term_screen; @@ -31,8 +31,8 @@ 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* ); -int term_cur_set_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* ); |