look in to getch i believe it is. It's beeen quite a while since I've coded in the command-line level, so I forget the library to include. Might be stdio, not sure though. Returns type char.