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