diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-01-07 21:00:59 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-01-07 21:00:59 +0900 |
commit | 03e459e7dff84c44644b1eccc0e00b73d846fe2a (patch) | |
tree | 00269e56bdf53906396199e22dcabe8bbee9592f /libterm/term.h | |
parent | 0ab31d63699467d72f09327171b735ed2152bf2c (diff) | |
download | microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.tar.gz microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.zip |
Small fixes about loging and libterm
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* ); |