Compiling with: gcc -o test main.c -lcurses ============== Source Code ===================== #include #include int main (void) { char option; do { system("clear"); printf("Hit a key:"); option = getch(); printf("\nYou typed %c\n", option); }while(option != 27); } ===================== End of Source Code ===================