Twisted871
June 22nd, 2011, 11:06 PM
Hey all,
I am trying to use the ncurses (http://en.wikipedia.org/wiki/Ncurses) library for a little side project and am currently trying to display text with varying colors on the screen. I would like for my program to be able to change the hues of the default colors(e.g. make red a little dark, blue a little lighter, etc).
However, according to the ncurses function can_change_color() (http://linux.die.net/man/3/has_colors) my terminal does not allow for colors to be altered. I know how to change the palette of colors that my terminal is using but I was wondering if there was a way to allow my colors to be "editable" in a sense.
My terminal is Gnome 2.30.2 and I'm running Ubuntu 10.04LTS, thanks for any help!
I am trying to use the ncurses (http://en.wikipedia.org/wiki/Ncurses) library for a little side project and am currently trying to display text with varying colors on the screen. I would like for my program to be able to change the hues of the default colors(e.g. make red a little dark, blue a little lighter, etc).
However, according to the ncurses function can_change_color() (http://linux.die.net/man/3/has_colors) my terminal does not allow for colors to be altered. I know how to change the palette of colors that my terminal is using but I was wondering if there was a way to allow my colors to be "editable" in a sense.
My terminal is Gnome 2.30.2 and I'm running Ubuntu 10.04LTS, thanks for any help!