RE: A newbie question about get()
- Posted by "Kat" <gertie at visionsix.com> Dec 30, 2003
- 403 views
> If you simply want to get a string sequence (not an atom) from the keyboard, > use > gets(). And for the screen, to avoid it scrolling for each input, take a peek at '\r' instead of '\n'. Do a \r, clean the line out with a puts(), or a real clearline, and then wait for input again. It looks to the user like you just erased their input. Kat