Report question

Question: Create a function to check for key press in Unix using ncurses