summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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')