Reputation: 4456
What would be the best, most portable, simplest way to create a GUI-like feeling in the command line?
Basically I'm asking for a library that allows you to change background and text colors, have a text input area on the bottom of the console, and be able to edit a certain area in the command line without having to clear the whole screen. Does such a library exist?
Example from IRSSI
Thank you.
Upvotes: 2
Views: 3898
Reputation: 14699
NCurses always clears the whole screen. Is there any alternative which only changes the colors but not mess with the current console content?
Upvotes: 0
Reputation: 130004
PDCurses or ncurses (if you care only about *nixes). irssi uses the latter.
Upvotes: 1
Reputation: 11467
Here is a HowTo: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html
Upvotes: 2
Reputation: 76918
ncurses ?
Though if you need MS Windows support, you may find limitations.
Upvotes: 0