diff --git a/csoundbox.c b/csoundbox.c index d76219b..edfa5fc 100644 --- a/csoundbox.c +++ b/csoundbox.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include //needed to release on close (ao_shutdown) #include "csoundbox.h" #include "config.h" @@ -59,6 +59,7 @@ void inputLocal(void) { initscr(); nonl(); //no newline noecho(); + raw(); //raw input (suppress ctrl + c) keypad(stdscr, TRUE); //Disable the F1-12 keypad curs_set(0); //Disable the cursor @@ -78,6 +79,7 @@ void inputNetwork(char *server) { initscr(); nonl(); //no newline noecho(); + raw(); //raw input (suppress ctrl + c) keypad(stdscr, TRUE); //Disable the F1-12 keypad curs_set(0); //Disable the cursor