bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting background bold to color


From: Thomas Dickey
Subject: Re: setting background bold to color
Date: Tue, 3 Feb 2015 04:44:38 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Feb 03, 2015 at 09:46:10AM +0100, daggs wrote:
> Greetings,
> 
> I'm trying modify an existing cdk based code to use dynamic colors.
> in fg color, if I take the first 8 color and set the bold attrib for them I 
> get a new set of 8 colors more.
> I'm trying to do the same with the background color but unable to, how can I 
> set a bg color from the range of the same 16 colors I have in the fg color?

generally, you cannot do this.  A few terminals (offhand I don't recall which)
can set an additional video attribute on the background.  But they are so
rare that no one provides for these in (n)curses.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]