Standard Input Max Length Limitation
- Posted by Bryan So <sohim at yahoo.com> Jun 25, 2007
- 816 views
I realized after a little experimentation that gets(0) has a pretty small max limit. I think it can get only 128 characters. Is there a simple command to expand this limit? Or must one write a complex getkey() input routine to get around this for longer (say 1K max) input? I think getkey style input routine will involve complex screen scrolling/cursor positioning handling too, correct? Thanks for any pointers. Bryan