le merge avait remi l'issue #44 au gout du jour

This commit is contained in:
gwojda 2017-03-10 15:49:48 +01:00
parent b7a1f9e92f
commit 2d4d6f7c2b

View file

@ -6,7 +6,7 @@
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/15 14:19:48 by gwojda #+# #+# */
/* Updated: 2017/03/09 00:09:19 by ariard ### ########.fr */
/* Updated: 2017/03/10 15:48:30 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */
@ -22,6 +22,8 @@ int readline(int fd, int prompt, char **input)
}
readline_init(prompt);
*input = ft_read_stdin();
if (STR)
ft_current_str(STR, POS);
ft_putchar('\n');
if (!prompt)
*input = ft_history_parsing();