diff options
author | joe <rbousset@42lyon.fr> | 2020-11-30 18:21:47 +0100 |
---|---|---|
committer | joe <rbousset@42lyon.fr> | 2020-11-30 18:21:47 +0100 |
commit | 9deb36310009688683e064fe1a2021ba70eed23c (patch) | |
tree | c3f5748b54644eb12c079465010c7227ca2860e6 /src/c_init.c | |
parent | In progress (diff) | |
download | 42-minishell-9deb36310009688683e064fe1a2021ba70eed23c.tar.gz 42-minishell-9deb36310009688683e064fe1a2021ba70eed23c.tar.bz2 42-minishell-9deb36310009688683e064fe1a2021ba70eed23c.tar.xz 42-minishell-9deb36310009688683e064fe1a2021ba70eed23c.tar.zst 42-minishell-9deb36310009688683e064fe1a2021ba70eed23c.zip |
Hey at least I tried
Diffstat (limited to '')
-rw-r--r-- | src/c_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_init.c b/src/c_init.c index 5e09031..84f91db 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -20,6 +20,7 @@ #include "c_ctrls.h" #include "c_init.h" #include "c_keys.h" +#include "c_keys_next.h" #include "c_input.h" #include "c_utils.h" #include "b_exit.h" @@ -90,7 +91,7 @@ static short return (c_ctrl_l(line, tcaps, msh)); else if (((*((unsigned int *)buf)) == UP_K) || ((*((unsigned int *)buf)) == CTRL_P)) - return (ft_dprintf(0, "qweqwe\n")); + return (c_key_up(tcaps)); else if ((*((unsigned int *)buf)) == CTRL_D && line[0] == '\0') { |