about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-08-23 14:08:00 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-08-23 14:08:00 +0200
commit42fb1935c4d34889d3939903eefb9b5a602727fd (patch)
tree30011bef01839971b81c7a0942a733558b55ae9b /src/ui
parent56c77678f20c7c565f0f6edd5ccb003a4634afc0 (diff)
downloadprofani-tty-42fb1935c4d34889d3939903eefb9b5a602727fd.tar.gz
Add 256 colour info to /theme colours
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c7
1 files changed, 7 insertions, 0 deletions
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("");
 }