slartibartfast
slartibartfast

Reputation: 4456

Cross platform, open source, console GUI

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

Command line GUI

Thank you.

Upvotes: 2

Views: 3898

Answers (5)

SasQ
SasQ

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

Cat Plus Plus
Cat Plus Plus

Reputation: 130004

PDCurses or ncurses (if you care only about *nixes). irssi uses the latter.

Upvotes: 1

Brian Roach
Brian Roach

Reputation: 76918

ncurses ?

Though if you need MS Windows support, you may find limitations.

Upvotes: 0

Erik
Erik

Reputation: 91320

You could use ncurses

Upvotes: 5

Related Questions