[m-rev.] for review: options to control the use of color

Zoltan Somogyi zoltan.somogyi at runbox.com
Sat Apr 27 12:08:36 AEST 2024


On 2024-04-26 20:44 +10:00 AEST, "Julien Fischer" <jfischer at opturion.com> wrote:
> What you refer to as "intense" red is usually referred to as "bright"
> red, so I suggest bright-red, bright-yellow for those versions.

The attached diff, which I am committing, does this. However, we will
need to warn users about two things.

First, the names of the bright versions contain spaces, and so will
need to be quoted on command lines.

Second, when you ask for a named color, you will get that color
*only* if your terminal's color setup has the color scheme
described on the wikipedia page. For example, my xterm
preferences are set to use a custom color scheme, so
any request for the color names added by this diff will get
different colors from what was asked for.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.nc
Type: application/octet-stream
Size: 141 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240427/5c100c93/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.nc
Type: application/octet-stream
Size: 3326 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240427/5c100c93/attachment-0001.obj>


More information about the reviews mailing list