summaryrefslogtreecommitdiff
path: root/libterm/term.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-01-07 21:00:59 +0900
committerFreeArtMan <dos21h@gmail.com>2015-01-07 21:00:59 +0900
commit03e459e7dff84c44644b1eccc0e00b73d846fe2a (patch)
tree00269e56bdf53906396199e22dcabe8bbee9592f /libterm/term.h
parent0ab31d63699467d72f09327171b735ed2152bf2c (diff)
downloadmicrobbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.tar.gz
microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.zip
Small fixes about loging and libterm
Diffstat (limited to 'libterm/term.h')
-rw-r--r--libterm/term.h8
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* );