From 42fb1935c4d34889d3939903eefb9b5a602727fd Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 23 Aug 2019 14:08:00 +0200 Subject: [PATCH] Add 256 colour info to /theme colours --- src/ui/console.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/console.c b/src/ui/console.c index 97064863..bf97727b 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -2428,6 +2428,13 @@ cons_theme_colours(void) win_print(console, THEME_BLACK, '-', " black "); win_appendln(console, THEME_BLACK_BOLD, " bold_black"); + if (COLORS >= 256) { + cons_show("Your terminal supports 256 colours."); + cons_show("But only basic colours are printed here."); + cons_show("To use them use their Xterm colour name."); + cons_show("See https://jonasjacek.github.io/colors/"); + } + cons_show(""); }