From ff258032adf915aa694feb9654e0a5e6019b3aba Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 1 Nov 2019 17:45:06 +0100 Subject: Now deals with history --- src/main.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index cf60fa2..372e04f 100644 --- a/src/main.c +++ b/src/main.c @@ -43,15 +43,9 @@ int if (c == '\n') break ; arg[i] = c; - if (!ft_strncmp("", arg, 4)) - { - arg = ft_get_last_line(); - break ; - } i++; } arg[i] = '\0'; - ft_history(arg); ft_process_arg(arg); } free(arg); -- cgit v1.2.3