In trying to get input from the arrow keys via curses (ncurses) it won\'t catch as KEY_UP etc. I used the keypad function with a true argument but getch still returned an e
I was storing getch() calls as char's when they were supposed to be int's. Works perfectly after the switch.
getch()