tests heredocs

This commit is contained in:
hugogogo
2021-12-03 07:01:20 +01:00
parent 687b1d8631
commit 294a818924
5 changed files with 12 additions and 122 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 09:22:12 by lperrey #+# #+# */
/* Updated: 2021/12/02 01:38:22 by lperrey ### ########.fr */
/* Updated: 2021/12/03 06:55:40 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,7 +18,9 @@ static int init_readline_hook(void);
int init(t_all *c)
{
ft_bzero(c, sizeof (*c));
// rl_instream = stdin;
rl_outstream = stderr;
// rl_outstream = stdout;
rl_startup_hook = init_readline_hook;
readline(NULL);
rl_startup_hook = NULL;