From e54f2aa38a17188c61cf268dba8b7ff3b658dcc8 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 9 Nov 2014 01:37:26 +0100 Subject: [PATCH] doc: mention support of 256 colors and describe setting background color --- NEWS | 1 + doc/config | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/NEWS b/NEWS index d01d58bb..a677acc2 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ ncmpcpp-0.7 (????-??-??) * It is now possible to define startup slave screen using -S/--slave-screen command line option or startup_slave_screen configuration variable. * List filtering has been removed due to the major part of its functionality overlapping with find forward/backward. * Find backward/forward function is now incremental. +* Support for 256 colors and customization of background colors has been added. ncmpcpp-0.6.2 (????-??-??) diff --git a/doc/config b/doc/config index a9091af6..0ecf3078 100644 --- a/doc/config +++ b/doc/config @@ -98,6 +98,10 @@ # #visualizer_color = blue, cyan, green, yellow, magenta, red # +## Alternative subset of 256 colors for terminals that support it. +## +#visualizer_color = 41, 83, 119, 155, 185, 215, 216, 209, 203, 197, 161 +# ##### system encoding ##### ## ## ncmpcpp should detect your charset encoding @@ -481,6 +485,24 @@ #use_console_editor = yes # ##### colors definitions ##### +## +## It is possible to set a background color by setting a color +## value "_", e.g. red_black will set +## foregound color to red and background color to black. +## +## In addition, for terminals that support 256 colors it +## is possible to set one of them by using a number in range +## [1, 256] instead of color name, e.g. numerical value +## corresponding to red_black is 2_1. To find out if the +## terminal supports 256 colors, run ncmpcpp and check out +## the bottom of the help screen for list of available colors +## and their numerical values. +## +## Note: due to technical limitations of ncurses, if 256 colors +## are used, it is possible to either use only the colors with +## default background color, or all pairs from 1_1 up to 254_127, +## depending on the ncurses version used. +## # #colors_enabled = yes #