diff options
Diffstat (limited to 'libterm/term.h')
-rw-r--r-- | libterm/term.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libterm/term.h b/libterm/term.h new file mode 100644 index 0000000..4565571 --- /dev/null +++ b/libterm/term.h @@ -0,0 +1,22 @@ +#ifndef __LIBTERM_TERM_H +#define __LIBTERM_TERM_H + +#include <stdlib.h> +#include <stdio.h> +#include <string.h> + +#include <sys/ioctl.h> + +#include "screen_modes.h" + +typedef struct term_screen +{ + screen_mode_e mode; + int term_col, term_row; +} term_screen; + +int term_init_data( term_screen* ); +int term_get_col( ); +int term_get_row( ); + +#endif |