summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_input.c')
-rw-r--r--src/c_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/c_input.c b/src/c_input.c
index ed60ae4..478c29e 100644
--- a/src/c_input.c
+++ b/src/c_input.c
@@ -20,7 +20,6 @@
#include "m_prompt.h"
#include "m_loop.h"
-
int16_t
c_back_slash(char **line,
t_caps *tcaps)
@@ -42,7 +41,7 @@ int16_t
{
tputs(tgetstr("cl", NULL), 1, ft_putchar);
m_prompt_psx(1, msh);
- c_redraw_line(line, tcaps->cpos, msh);
+ c_redraw_line(line, tcaps, msh);
return (1);
}
@@ -53,7 +52,7 @@ int16_t
{
tputs(tgetstr("cl", NULL), 1, ft_putchar);
m_prompt_psx(1, msh);
- c_redraw_line(line, tcaps->cpos, msh);
+ c_redraw_line(line, tcaps, msh);
return (1);
}