Quote:
Originally posted by Belisarius Sorry about the numerous posts, I'm just replying to various points 
Anyways, it didn't look like anyone explained the problem. The \n is actually a carraige return (IE "Enter"). That keystroke, as I understand what joe_bruin is saying, gets passed along with the 'y', so you need to account for it. |
Oh I think I understand that now.
I'm only getting one char, but the '\n' is automatically appended to the end of the users input because the user has to press enter to submit the value.