You are not logged in.

#1 2015-12-27 00:54:48

smacz
Member
Registered: 2015-12-26
Posts: 8

Ncurses programs using legacy(?) black terminal colorscheme

When using `sudo cfdisk` to partition any drive, the terminal switches to the flat black colorscheme. This behavior also exists when executing `mutt` as a regular user (after downloading it via apt-get).

This is not persistent, as the color reverts back to normal after exiting the ncurses program, and does not change the colorscheme of any other terminal opened while the offending program is still open in the original.

I'm pretty sure that the colors I'm seeing are the same ones that the terminal _used_ to be, but I've only seen screenshots thereof. I haven't been around this place that long to have first-hand experience.

The other thing is that this may just be the individual programs' fault, as `htop` uses the system colors. Also see this linux.com thread - reinforcing the option that it may just be that the program does not attempt to recognize the default terminal colorscheme.

Offline

#2 2015-12-27 05:30:09

gako
Member
Registered: 2015-10-02
Posts: 241

Re: Ncurses programs using legacy(?) black terminal colorscheme

cfdisk as well as mutt uses color 01 as far as I can tell.

Here I changed it to obvious red #ff0000 for you to see
2015-12-27-002501_973x640_scrot.th.png


on a normal - semi-normal color scheme color 01 and 08 are black/dark
change color 01 , you'll see how it affects it

Offline

Board footer

Powered by FluxBB