nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] bright colors without bold


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] bright colors without bold
Date: Sat, 27 Jan 2018 12:34:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 23-01-18 om 02:48 schreef Brand Huntsman:
With index colors patch, it is possible to use 8-15 for bright foreground and
background colors. But if you then switch to linux console nano will complain
and ignore the color command.

When an index is above the number of colors that the terminal supports, nano
should simply bring the index into range: blank the upper bits.

The first patch adds a "brightisnotbold" command that changes the behavior of
the bright prefix on named colors. If used in nanorc it only applies to colors
used in the global scope, currently only UI colors. When used in a syntax, it
alters all color commands below it.

Bright should never mean bold.  Bright should stop meaning also bold, as it
does now.

Second patch adds a new ! prefix to make bright colors.

No.  "!" means "not"; to make it mean something else is confusing.

Benno



reply via email to

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