issue #44
This commit is contained in:
parent
9a29a9dcb3
commit
949d0b2c62
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/12/15 14:19:48 by gwojda #+# #+# */
|
/* Created: 2016/12/15 14:19:48 by gwojda #+# #+# */
|
||||||
/* Updated: 2017/02/16 12:45:32 by gwojda ### ########.fr */
|
/* Updated: 2017/02/28 10:43:33 by gwojda ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -101,6 +101,8 @@ char *readline(char *prompt)
|
||||||
|
|
||||||
readline_init(prompt);
|
readline_init(prompt);
|
||||||
input = ft_read_stdin();
|
input = ft_read_stdin();
|
||||||
|
if (STR)
|
||||||
|
ft_current_str(STR, POS);
|
||||||
ft_putchar('\n');
|
ft_putchar('\n');
|
||||||
if (!prompt)
|
if (!prompt)
|
||||||
input = ft_history_parsing();
|
input = ft_history_parsing();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue