[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detecting if a terminal can do reverse video
From: |
William McBrine |
Subject: |
Re: Detecting if a terminal can do reverse video |
Date: |
Thu, 16 Nov 2006 06:54:30 -0500 (EST) |
On Thu, 16 Nov 2006, Mike Aubury wrote:
> Or more to the point - that it can't!
>
> Is there any easy way to detect this ?
The canonical way is termattrs(), though it's only as accurate as the
terminfo description.
Perhaps you could prompt the user at startup -- print some reversed text
and ask them if it shows up reversed?
--
William McBrine <address@hidden>