[Top][All Lists]

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

foreground/background colors

From: Bob Rossi
Subject: foreground/background colors
Date: Thu, 26 Jan 2006 21:40:35 -0500
User-agent: Mutt/1.5.9i

Hi All,

I search the mailing list and couldn't find exactly what I was
interested in. I was wondering if there was a way to determine what the
foreground and background colors of the terminal are, that an ncurses
application was started in.

I recently learned about use_default_colors() function and it is very
nice. However, I want a status bar (like vim), that displays the
opposite of the default color. So if the default is white on black, I
want a status bar that's black on white. And vice versa.

Any suggestions would be greatly appreciated.

Bob Rossi

reply via email to

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