From fc82eefd7b4258d829b570998acfa750a81ef7ab Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Fri, 24 Feb 2023 15:53:46 +0100 Subject: [PATCH] fix: issue #3 --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 7d4ffc8..c3bee52 100644 --- a/main.c +++ b/main.c @@ -113,6 +113,7 @@ void ft_ctrlc(int num) } else { + rl_replace_line("", 0); rl_on_new_line(); ft_putchar_fd('\n', 1); rl_redisplay();