test2 Simple prompt using the ncurses library install the ncurses library to run this program and compile linking the library. gcc -o test test.c -lncurses