diff options
author | joe <rbousset@42lyon.fr> | 2020-12-01 18:36:35 +0100 |
---|---|---|
committer | joe <rbousset@42lyon.fr> | 2020-12-01 18:36:35 +0100 |
commit | 4f3d3364de8f1c23819051cb9f392fc651565b95 (patch) | |
tree | d7574f821dc02a27dcc5a0b8b63cf40e60dd023e /src/c_init.h | |
parent | Bav (diff) | |
download | 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.gz 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.bz2 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.xz 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.zst 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.zip |
commit
Diffstat (limited to '')
-rw-r--r-- | src/c_init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c_init.h b/src/c_init.h index a41202d..dae8513 100644 --- a/src/c_init.h +++ b/src/c_init.h @@ -13,6 +13,7 @@ #ifndef C_INIT_H # define C_INIT_H +# include <libft.h> # include <termios.h> # include <sys/ioctl.h> @@ -34,6 +35,7 @@ # define CTRL_E 0x05 # define CTRL_F 0x06 # define CTRL_L 0x0c +# define CTRL_N 0x0e # define CTRL_P 0x10 typedef struct s_caps @@ -47,6 +49,7 @@ typedef struct s_caps unsigned short plen; } t_caps; +char *c_set_ptr(t_bool reset, char key, t_msh *msh); short c_gnl(int fd, char **line, char psx, t_msh *msh); short c_set_term_raw(char mode); |