Re: Changing already written text in console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



just stay away from ncourses, that is a can of worms
and more problems that it worth :)

--- Tom St Denis <tstdenis@xxxxxxxxxxxxxxxx> escribió:

> Antonio Eduardo Fermiano wrote:
> > I want to make a console program where I can
> modify certain parts of already written text, like a
> progress %
> > number and some indicators written some lines
> above. Can someone give me a way to do it?
> >
> > Don't know if helps, but I'm using the GCC port
> for windows that comes with Dev-cpp.
> >
> >   
> Kids these days ...
> 
> Look up what terminal your console is emulating. 
> (hint:  think ANSI).
> 
> Most likely the basics like "\r" will work to return
> to the start of a 
> line.  But if you want to get more fancy you'll have
> to look up the 
> other escape codes.  If you want to go all portable,
> consider learning 
> ncurses which does most of this for you.
> 
> Tom
> 
> 



       
____________________________________________________________________________________
Sé un Mejor Amante del Cine                         
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux