This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Changing already written text in console
- From: John Love-Jensen <eljay at adobe dot com>
- To: Antonio Eduardo Fermiano <blankmind at terra dot com dot br>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Mon, 01 Oct 2007 06:47:02 -0500
- Subject: 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