nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline a


From: Brand Huntsman
Subject: Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline attributes
Date: Tue, 20 Feb 2018 15:00:29 -0700

On Tue, 20 Feb 2018 21:03:25 +0100
Benno Schulenberg <address@hidden> wrote:

> > So, in light of all this, in order to get similar enough colors
> > working regardless, I need some way to set fallback colors.  
> 
> If the extra colors cause so many problems, let's just forget about
> them. (Needing two hundred lines of code just to map RGB values to
> color indexes is way too much.)

RGB colors do everything index colors can do, get rid of them, they are more 
useless than you say reverse/italic/underline are (nano's default UI uses 
A_REVERSE). Require a named color after every RGB value, get rid of the 8/16 
color lookup tables. The code would much smaller and all colors would be 
portable.




reply via email to

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