Ticket #229 (new defect) — at Version 1

Opened 16 years ago

Last modified 15 years ago

ncurses "default color" change to -1 when available

Reported by: robert.david.public@… Owned by:
Priority: major Milestone: 4.7
Component: mc-core Version: 4.6.2
Keywords: commited-master Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by metux) (diff)

When using ncurses, there is problem with setting default color to transparent on capable terminals. This is caused by color index going from 0+ but the default terminal color is -1 in ncurses. So mc doesnt show true default color, but BLACK.

This also has to be dependant on terminal support, if it supports default colors or not. Good inspiration about this is in htop source -> CRT.c -> CRT_setColors


branch:229_ncurses_colors
changeset:2f2acb9a0aa2c403d4257a682ebb98d134a48cfd

Change History

Changed 16 years ago by Robert

Ncurses fix default color patch

comment:1 Changed 16 years ago by metux

  • Keywords review added
  • Description modified (diff)
  • Milestone changed from 4.7 to 4.6.3

as its a bug, moving to 4.6.3

Note: See TracTickets for help on using tickets.