Skip to main content
GameDev.net gamedev.net
🔒 Locked

Terminal

Started by ToohrVyk Jan 9, 2005 at 11:21 AM 1 replies 700+ views
Original Post
ToohrVyk
ToohrVyk
Hello, I'm currently trying to develop an application that should be able to run, at least, in an X11 XTerm. However, using only stdout to output things to the terminal is not not enough, because I need to do the following: - Make some parts of the text bold, or underline them - Change the color of the font or the background - Move the write cursor to an arbitrary position in the terminal I am perfectly willing to restrict myself to less than an X11 XTerm if there is no general API for this, however I would like pointers to what kind of library I should use to do this. Thank you.
SiCrane
SiCrane
I think that ncurses should be able to do everything you want, as long as the terminfo is setup correctly, though I'm not sure about the underlining thing.
ToohrVyk
ToohrVyk
I have checked NCurses, and it does everything I need, including underlining.

Thank you. I'd rate you up if I could rate you any higher ;)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.