How do I get a character to recognize input?