diff options
Diffstat (limited to 'src/c_init.h')
-rw-r--r-- | src/c_init.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/c_init.h b/src/c_init.h index da3d549..69d626a 100644 --- a/src/c_init.h +++ b/src/c_init.h @@ -13,7 +13,23 @@ #ifndef U_INIT_H #define U_INIT_H -int c_init_tcaps(void); -void u_handle_sigwinch(int dummy_signal); +#include <termios.h> + +typedef struct s_caps { + struct termios tios; + char *cm_str; /*cursor mobility*/ + char *nl; /*newline, returned by tgoto()*/ + char *ks; /*indicate that keys transmit from now on*/ + char *kl; /*Key Left Key Right*/ + char *kr; + char *pc; /*padding char --> do not touch (default 0)*/ + char *bc; /*left one char*/ + char *up; /*up one line*/ + char *nd; /*right one char*/ + char *lc; /*line clear*/ + +} t_caps; + +int16_t c_init_tcaps(void); #endif |