diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-09-21 16:11:33 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-09-21 16:11:33 +0200 |
commit | fd7a2ba757e6382ce377e9f53fcff0c483099caa (patch) | |
tree | 6d5235b58ffa7466cb8d54a9573b3f9ef09c169d /src/c_init.c | |
parent | lets fucking go (diff) | |
download | 42-minishell-fd7a2ba757e6382ce377e9f53fcff0c483099caa.tar.gz 42-minishell-fd7a2ba757e6382ce377e9f53fcff0c483099caa.tar.bz2 42-minishell-fd7a2ba757e6382ce377e9f53fcff0c483099caa.tar.xz 42-minishell-fd7a2ba757e6382ce377e9f53fcff0c483099caa.tar.zst 42-minishell-fd7a2ba757e6382ce377e9f53fcff0c483099caa.zip |
DEL MULTILIGNEED
Diffstat (limited to '')
-rw-r--r-- | src/c_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_init.c b/src/c_init.c index 8f5a573..16f6cba 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -96,7 +96,7 @@ int16_t return (c_ctrl_l(line, tcaps, msh)); else if (ft_strncmp(buf, tgetstr("kb", NULL), ft_strlen(tgetstr("kb", NULL))) == 0) { - c_back_slash(&line, tcaps); + c_back_slash(&line, ft_strlen(msh->ps[0]), tcaps); return (1); } else if (buf[0] == '\n') |