cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
how to clear just 1 line in a terminal
how to clear just 1 line in a terminal
Sep 25, 2008 at 2:09pm UTC
flyersender
(3)
hi, guys...
I'd like to know how to clear just one line in a terminal...
if I use "clear"...it clears all the screen
thanx
evandro
Sep 25, 2008 at 2:27pm UTC
Duthomhas
(13282)
Use
NCurses
.
http://www.gnu.org/software/ncurses/
If you are on Unix, you've probably already got it installed. If you are on Linux, you'll need to sudo apt-get ncurses-dev or somesuch.
Getting started.
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
Good luck!
Sep 25, 2008 at 2:41pm UTC
flyersender
(3)
thanx...very useful!
Topic archived. No new replies allowed.