This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changing already written text in console


Hi Antonio,

For very simple output, you can use \r.

For anything non-trivial, you should consider using ncurses.

Even though some folks think it is a can of worms -- and I can sympathize
with that opinion.

If you need anything beyond non-trivial, you'll end up recreating a good
chunk of the ncurses functionality.  Why re-invent that particular very
painful wheel?

http://www.gnu.org/software/ncurses/

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]