summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-09-14 15:59:30 +0200
committersalad <fmoenne-@student.le-101.fr>2020-09-14 15:59:30 +0200
commitb6806c73f4ae94dd76ad7a51ad25255b3493e9c9 (patch)
tree6d5d530cdd8b282caff2436651697d273e0f315e /src/c_input.c
parentgrep TODO c_utils.c (diff)
download42-minishell-b6806c73f4ae94dd76ad7a51ad25255b3493e9c9.tar.gz
42-minishell-b6806c73f4ae94dd76ad7a51ad25255b3493e9c9.tar.bz2
42-minishell-b6806c73f4ae94dd76ad7a51ad25255b3493e9c9.tar.xz
42-minishell-b6806c73f4ae94dd76ad7a51ad25255b3493e9c9.tar.zst
42-minishell-b6806c73f4ae94dd76ad7a51ad25255b3493e9c9.zip
quelques additions
Diffstat (limited to '')
-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);
}