Subj : Input without Carriage Return (Enter) To : Jon Justvig From : Nightfox Date : Fri Aug 07 2009 09:14 am Re: Input without Carriage Return (Enter) By: Jon Justvig to Nightfox on Fri Aug 07 2009 06:43:49 > > Hmmm...you don't suppose nCurses also includes normal color ANSi as well? > > Right now my code does not have any color in it. If so, I could tolerate > > clear screens as long as it doesn't interfere with game play. nCurses can do color, but as far as I know, it doesn't output ANSI codes, unfortunately. > > > I imagine there must be some C or C++ function in Linux that does what > > > want to do. > > I'm hoping there is. I used the header, windows.h, I believe, but, it wo > > not work with linux obviously and I wanted the code to be portable to bot > > dos and linux. So, I've been looking around. I'll be glad when I start C and C++ are kinda tough to work with sometimes because they were meant to be portable languages, yet there are things not in their standard libraries that would be nice to do - like being able to input just 1 character without the user having to press Enter. Also, part of what I've read about C and C++ is that since they were meant to be portable, the designers left out features that aren't common on all platforms; thus, it doesn't include a GUI library, for example, because not all systems have a GUI OS. Thus, there are several different GUI libraries to choose from if you want to develop a GUI app, and some GUI libraries limit you to just one platform, while others are multi-platform, and of course, it isn't all universal. :) Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .