summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
authorjoe <rbousset@42lyon.fr>2020-11-30 18:58:08 +0100
committerjoe <rbousset@42lyon.fr>2020-11-30 18:58:08 +0100
commitcb1b766ec085ad051d1c2402476089a47606912c (patch)
tree8863133ade31deac025ec03c24e12a360dff9156 /src/c_init.c
parentHey at least I tried (diff)
download42-minishell-cb1b766ec085ad051d1c2402476089a47606912c.tar.gz
42-minishell-cb1b766ec085ad051d1c2402476089a47606912c.tar.bz2
42-minishell-cb1b766ec085ad051d1c2402476089a47606912c.tar.xz
42-minishell-cb1b766ec085ad051d1c2402476089a47606912c.tar.zst
42-minishell-cb1b766ec085ad051d1c2402476089a47606912c.zip
Not quite done
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_init.c b/src/c_init.c
index 84f91db..1ab6743 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -91,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 (c_key_up(tcaps));
+ return (c_key_up(tcaps, msh));
else if ((*((unsigned int *)buf)) == CTRL_D &&
line[0] == '\0')
{