renamed 'le' functions and created headers

This commit is contained in:
Maieul BOYER 2024-07-10 15:44:43 +02:00
parent 4303370d55
commit 46e96a2120
No known key found for this signature in database
6 changed files with 258 additions and 210 deletions

View file

@ -133,7 +133,7 @@ void ft_take_args(t_utils *shcat)
if (cmd == NULL)
ft_exit(shcat, 0);
shcat->str_input = cmd;
linenoise_history_add(shcat->str_input);
line_history_add(shcat->str_input);
shcat->current_node = parse_str(&shcat->parser, shcat->str_input);
exec_shcat(shcat);
mem_free(shcat->str_input);