From 8cf0d71c5cb7db80716e19ae681a754359b6b0d7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 19 Jan 2002 18:46:23 +0000 Subject: Some MIRC color changes, patch by qrczak@knm.org.pl git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2320 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- docs/formats.txt | 33 +++++++++++++++++---------------- src/fe-text/gui-printtext.c | 2 +- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/formats.txt b/docs/formats.txt index 6dabc43c..e98f2719 100644 --- a/docs/formats.txt +++ b/docs/formats.txt @@ -29,26 +29,27 @@ foreground (fg) background (bg) ------------------------------------------------------- - 0 white black with 0 as fg - light gray with fg > 0 - 1 ligh gray black + 0 white light gray + blinking fg + 1 black black 2 blue blue 3 green green - 4 light red red + blinking fg - 5 orange orange + 4 light red red + blinking fg + 5 red red 6 magenta (purple) magenta - 7 red red - 8 yellow orange + blinking fg - 9 light green light green + blinking fg - 10 cyan cyan - 11 light cyan cyan + blinking fg - 12 light blue blue + blinking fg - 13 light magenta magenta + blinking fg - 14 gray black + blinking fg - 15 light gray black on black - gray on light gray (with bold) + 7 orange orange + 8 yellow orange + blinking fg + 9 light green green + blinking fg + 10 cyan cyan + 11 light cyan cyan + blinking fg + 12 light blue blue + blinking fg + 13 light magenta magenta + blinking fg + 14 gray black + blinking fg + 15 light gray light gray - These colors may differ depending on your terminal. + These colors may differ depending on your terminal. In particular + the meaning for background may be the same as for the foreground + (bright colors, no blinking), and orange often looks like brown or + dark yellow. How to use these colors ('#' means a number as MIRC color code): diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 2a12f440..930ed4a5 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -29,7 +29,7 @@ #include "gui-printtext.h" #include "gui-windows.h" -int mirc_colors[] = { 15, 0, 1, 2, 4, 6, 5, 12, 14, 10, 3, 11, 9, 13, 8, 7 }; +int mirc_colors[] = { 15, 0, 1, 2, 12, 4, 5, 6, 14, 10, 3, 11, 9, 13, 8, 7 }; static int scrollback_lines, scrollback_hours, scrollback_burst_remove; static int last_fg, last_bg, last_flags; -- cgit v1.2.3