diff --git a/main.c b/main.c
index 3fc122f..becc14a 100644
--- a/main.c
+++ b/main.c
@@ -4,6 +4,7 @@
 pid_t main_proc_pid;
 void sigint_handler() 
 {
+    fflush(NULL);
     pid_t pid = getpid();
     if(pid != main_proc_pid)
     {