View Single Post
Old 08-27-2003, 02:08 PM   #18 (permalink)
ntws01
Registered User
 
ntws01's Avatar
 
Join Date: Mar 2003
Location: Canada
Posts: 15
ntws01 is on a distinguished road
Send a message via Yahoo to ntws01
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.
ntws01 is offline   Reply With Quote