http://stackoverflow.com/questions/20276738/reading-a-character-without-requiring-the-enter-button-pressed