mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Add 256 colour info to /theme colours
This commit is contained in:
parent
56c77678f2
commit
42fb1935c4
@ -2428,6 +2428,13 @@ cons_theme_colours(void)
|
|||||||
win_print(console, THEME_BLACK, '-', " black ");
|
win_print(console, THEME_BLACK, '-', " black ");
|
||||||
win_appendln(console, THEME_BLACK_BOLD, " bold_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("");
|
cons_show("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user