|
From: | Thomas Dickey |
Subject: | Re: [NCURSES/CDK] how to get the default background color? |
Date: | Thu, 21 May 2009 11:44:31 -0400 (EDT) |
On Thu, 21 May 2009, bugzilla wrote:
hi, i need to get the default background color of the current terminal. i use "use_default_colors" routine and i want to set the foreground color of text with color_pair but i don't know the value of the background color. :/
ncurses doesn't know either. You would give a -1 (negative one) value for the color, and it will keep track of that. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |