summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-color.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-color.c')
-rw-r--r--src/plugins/irc/irc-color.c44
1 files changed, 28 insertions, 16 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c
index 6c0713aec..63cac5b73 100644
--- a/src/plugins/irc/irc-color.c
+++ b/src/plugins/irc/irc-color.c
@@ -32,22 +32,34 @@
char *irc_color_to_weechat[IRC_NUM_COLORS] =
-{ /* 0 */ "white",
- /* 1 */ "black",
- /* 2 */ "blue",
- /* 3 */ "green",
- /* 4 */ "lightred",
- /* 5 */ "red",
- /* 6 */ "magenta",
- /* 7 */ "brown",
- /* 8 */ "yellow",
- /* 9 */ "lightgreen",
- /* 10 */ "cyan",
- /* 11 */ "lightcyan",
- /* 12 */ "lightblue",
- /* 13 */ "lightmagenta",
- /* 14 */ "darkgray",
- /* 15 */ "gray"
+{ /* 0 */ "white",
+ /* 1 */ "black",
+ /* 2 */ "blue",
+ /* 3 */ "green",
+ /* 4 */ "lightred",
+ /* 5 */ "red",
+ /* 6 */ "magenta",
+ /* 7 */ "brown",
+ /* 8 */ "yellow",
+ /* 9 */ "lightgreen",
+ /* 10 */ "cyan",
+ /* 11 */ "lightcyan",
+ /* 12 */ "lightblue",
+ /* 13 */ "lightmagenta",
+ /* 14 */ "darkgray",
+ /* 15 */ "gray",
+ /* 16-23 */ "52", "94", "100", "58", "22", "29", "23", "24",
+ /* 24-31 */ "17", "54", "53", "89", "88", "130", "142", "64",
+ /* 32-39 */ "28", "35", "30", "25", "18", "91", "90", "125",
+ /* 40-47 */ "124", "166", "184", "106", "34", "49", "37", "33",
+ /* 48-55 */ "19", "129", "127", "161", "196", "208", "226", "154",
+ /* 56-63 */ "46", "86", "51", "75", "21", "171", "201", "198",
+ /* 64-71 */ "203", "215", "227", "191", "83", "122", "87", "111",
+ /* 72-79 */ "63", "177", "207", "205", "217", "223", "229", "193",
+ /* 80-87 */ "157", "158", "159", "153", "147", "183", "219", "212",
+ /* 88-95 */ "16", "233", "235", "237", "239", "241", "244", "247",
+ /* 96-98 */ "250", "254", "231",
+ /* 99 */ "default",
};
char irc_color_term2irc[IRC_COLOR_TERM2IRC_NUM_COLORS] =
{ /* term > IRC */