diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-09-11 11:54:03 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-09-11 11:54:03 +0200 |
commit | 1692db53ad552b34db7f321e603c32ca7453b253 (patch) | |
tree | e214bc4fc9223e9287c726a32a8897940185dfbc /src/c_init.h | |
parent | LITERALLY C89 (diff) | |
download | 42-minishell-1692db53ad552b34db7f321e603c32ca7453b253.tar.gz 42-minishell-1692db53ad552b34db7f321e603c32ca7453b253.tar.bz2 42-minishell-1692db53ad552b34db7f321e603c32ca7453b253.tar.xz 42-minishell-1692db53ad552b34db7f321e603c32ca7453b253.tar.zst 42-minishell-1692db53ad552b34db7f321e603c32ca7453b253.zip |
might finish today, ctrl + a few bugs
Diffstat (limited to '')
-rw-r--r-- | src/c_init.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/c_init.h b/src/c_init.h index 1d298c4..9728c9a 100644 --- a/src/c_init.h +++ b/src/c_init.h @@ -18,7 +18,11 @@ #include "s_struct.h" -typedef struct s_caps { +typedef struct s_caps +{ + char KL[4]; + char KR[4]; + char CL[4]; struct termios tios; struct winsize ws; uint8_t cpos; /*cursor position (column)*/ @@ -26,7 +30,6 @@ typedef struct s_caps { char *nl; /*newline, returned by tgoto()*/ char *ks; /*indicate that keys transmit from now on*/ char *ke; /*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*/ |