diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-08-23 14:08:00 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-08-23 14:08:00 +0200 |
commit | 42fb1935c4d34889d3939903eefb9b5a602727fd (patch) | |
tree | 30011bef01839971b81c7a0942a733558b55ae9b | |
parent | 56c77678f20c7c565f0f6edd5ccb003a4634afc0 (diff) | |
download | profani-tty-42fb1935c4d34889d3939903eefb9b5a602727fd.tar.gz |
Add 256 colour info to /theme colours
-rw-r--r-- | src/ui/console.c | 7 |
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(""); } |