diff options
Diffstat (limited to '')
-rw-r--r-- | src/c_init.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/c_init.h b/src/c_init.h index c85f6b7..7924478 100644 --- a/src/c_init.h +++ b/src/c_init.h @@ -15,6 +15,8 @@ #include <termios.h> +#include "s_struct.h" + typedef struct s_caps { struct termios tios; char *cm_str; /*cursor mobility*/ @@ -33,6 +35,18 @@ typedef struct s_caps { } t_caps; -int16_t c_init_tcaps(void); +int16_t c_init_tcaps(t_msh *msh); #endif + + /* tcaps.cl = tgetstr("cl", &term); */ + /* tcaps.ks = tgetstr("ks", &term); */ + /* tcaps.kl = tgetstr("kl", &term); */ + /* tcaps.ke = tgetstr("ke", &term); */ + /* tcaps.kr = tgetstr("kr", &term); */ + /* tcaps.pc = tgetstr("pc", &term); */ + /* tcaps.bc = tgetstr("bc", &term); */ + /* tcaps.up = tgetstr("up", &term); */ + /* tcaps.nd = tgetstr("nd", &term); */ + /* tcaps.le = tgetstr("le", &term); */ + /* tcaps.DO = tgetstr("do", &term); */ |