[Top][All Lists]

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

Re: Background color detection

From: Thomas Dickey
Subject: Re: Background color detection
Date: Wed, 14 May 2003 17:22:50 -0400
User-agent: Mutt/1.3.27i

On Tue, May 13, 2003 at 11:18:23AM -0500, Rick Richardson wrote:
> terminal, konsole).  I'd like to add another mode, and make it
> the default:
>     mode 4:   autodetect user's background color and use_default_colors
> This mode would (somehow) query the underlying terminal emulator to find
> out what color the background is, then compute the luminosity of
> that background and then switch into either mode 2 or mode 3, as
> appropriate.
> Has anybody tried doing something like this?  Anyway to do this
> that works "for a large set" of terminal emulators?

Offhand I don't know of a method that works for even 2 emulators.

Thomas E. Dickey <address@hidden>

reply via email to

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