diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-11-06 23:13:26 +0100 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-11-06 23:13:26 +0100 |
commit | 296f228966acfe2c645a750b6f8c3fed9bddf615 (patch) | |
tree | eb15406a14216e01493c69a6dbaf1416e78db3e5 /src/c_keys.c | |
parent | static something (diff) | |
download | 42-minishell-296f228966acfe2c645a750b6f8c3fed9bddf615.tar.gz 42-minishell-296f228966acfe2c645a750b6f8c3fed9bddf615.tar.bz2 42-minishell-296f228966acfe2c645a750b6f8c3fed9bddf615.tar.xz 42-minishell-296f228966acfe2c645a750b6f8c3fed9bddf615.tar.zst 42-minishell-296f228966acfe2c645a750b6f8c3fed9bddf615.zip |
c_ctrls
Diffstat (limited to 'src/c_keys.c')
-rw-r--r-- | src/c_keys.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/c_keys.c b/src/c_keys.c index 8c06a85..3d80327 100644 --- a/src/c_keys.c +++ b/src/c_keys.c @@ -19,25 +19,6 @@ #include "m_prompt.h" short - c_ctrl_l(char *line, t_caps *tcaps, t_msh *msh) -{ - tputs(tgetstr("cl", NULL), 1, ft_putchar); - m_prompt_psx(1, msh); - c_redraw_line(line, tcaps, msh); - return (1); -} - -char - *c_ctrl_c(char **line, char *buf, t_msh *msh) -{ - msh->ret = 130; - buf[0] = '\n'; - write(1, "\n", 1); - ft_memdel((void**)line); - return (ft_strdup("\0")); -} - -short c_home_key(unsigned int plen, t_caps *tcaps) { unsigned int i; |