[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: |
Avery Pennarun |
Subject: |
Re: Detecting if a terminal can do reverse video |
Date: |
Thu, 16 Nov 2006 10:55:00 -0500 |
On 11/16/06, Dan Nelson <address@hidden> wrote:
The belt-and-suspenders way would be to do both :) That way it works
even in odd cases like "start a screen session with a reverse-capable
terminal, detach, reattach with a noreverse terminal".
I might suggest that as well. Highlighting options with *only*
reverse video can be confusing in the case where there are exactly two
options (eg. Yes and No) - you don't know which one is supposedly
"reversed."
Alternatively, you could just assume that all terminals support
reverse video nowadays. It should be unbelievably, stunningly rare to
find one that doesn't.
Have fun,
Avery