help-nano
[Top][All Lists]
Advanced

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

Re: White fg color, black bg color, though terminal is opposite in MSYS2


From: Benno Schulenberg
Subject: Re: White fg color, black bg color, though terminal is opposite in MSYS2
Date: Mon, 30 Sep 2024 16:57:23 +0200
User-agent: Mozilla Thunderbird


Op 30-09-2024 om 15:10 schreef Ivan Vorontsov:
I use MSYS2 system on Windows 10. For quite some time (let's suppose year)
I used system without update. I used nano as well. Version 7.2
particularly. Terminal in MSYS2 is called mintty. It supports themes. I use
theme called kohlrausch. It is bright theme with white bg and black fg.

All was good before I decided to update. Nano draws black bg and white fg
now, which is not what I want.

You're not saying to which version of nano you upgraded.
I'm assuming from 7.2 to 8.2, right?


Did you compile nano yourself?  If yes, then try commenting out
these two lines in src/rcfile.c:

   else if (red == green && green == blue && 0 < red && red < 0xF)
return 232 + gray[red - 1];

That is the only color-related change I could find since 7.2.

With those lines commented out, does nano then again follow the
terminal's theme?


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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