diff options
Diffstat (limited to 'src/c_input.h')
-rw-r--r-- | src/c_input.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/c_input.h b/src/c_input.h index c340194..f6fa54d 100644 --- a/src/c_input.h +++ b/src/c_input.h @@ -1,7 +1,7 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* c_input.c :+: :+: :+: */ +/* c_input.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ @@ -13,11 +13,9 @@ #ifndef C_INPUT_H #define C_INPUT_H -#include "s_struct.h" - -int16_t c_redraw_line(char *line, uint16_t cpos, t_msh *msh); -char *c_delchar(char *str, uint16_t cpos); -uint16_t c_get_win_size(struct winsize *ws); -int32_t c_catch_tcaps(char *buf, char **line, t_caps *tcaps, t_msh *msh); +int16_t c_key_right(uint32_t len, t_caps *tcaps); +int16_t c_key_left(uint32_t len, t_caps *tcaps); +int16_t c_new_line(char *buf, char **line, t_msh *msh, t_caps *tcaps); +int16_t c_back_slash(char **line, t_caps *tcaps); #endif |