bug-ncurses
[Top][All Lists]
Advanced

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

Detecting if a terminal can do reverse video


From: Mike Aubury
Subject: Detecting if a terminal can do reverse video
Date: Thu, 16 Nov 2006 07:37:29 +0000
User-agent: KMail/1.9.1

Or more to the point - that it can't!

Is there any easy way to detect this ? 

Background..
I need to add some emphasis to the "current" menu option which I'm doing by 
making it in REVERSE video, but some terminals can't do reverse, so I'm 
supposed to put "[" and "]" around the option. I've got the code working with 
an environment variable, but it'd be nice if I could just detect it...

TIA..

-- 
Mike Aubury





reply via email to

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