fix: issue #3

This commit is contained in:
Camille Chauvet 2023-02-24 15:53:46 +01:00
parent 51f892350a
commit fc82eefd7b

1
main.c
View File

@ -113,6 +113,7 @@ void ft_ctrlc(int num)
} }
else else
{ {
rl_replace_line("", 0);
rl_on_new_line(); rl_on_new_line();
ft_putchar_fd('\n', 1); ft_putchar_fd('\n', 1);
rl_redisplay(); rl_redisplay();