summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-10-07 14:59:18 +0200
committersalad <fmoenne-@student.le-101.fr>2020-10-07 14:59:18 +0200
commite93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c (patch)
tree9f508e0e515f879eae6476d7998d50005dfafc13 /src/c_init.c
parentC-b + C-f (diff)
download42-minishell-e93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c.tar.gz
42-minishell-e93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c.tar.bz2
42-minishell-e93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c.tar.xz
42-minishell-e93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c.tar.zst
42-minishell-e93ce58b0dec4d6ab4ac03e137d2e37c161eeb9c.zip
qsd
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c_init.c b/src/c_init.c
index 745fad9..9196d51 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -102,7 +102,10 @@ static char
tcaps->cpos++;
}
else if ((*((unsigned int *)buf)) == DEL_K)
+ {
c_back_slash(&line, ft_strlen(msh->ps[tcaps->psx]), tcaps);
+ c_redraw_line(line, tcaps, msh);
+ }
else
c_read_cap(buf, line, tcaps, msh);
if (buf[0] == '\n')