1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

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
This commit is contained in:
Timo Sirainen 2002-01-19 18:46:23 +00:00 committed by cras
parent 9941ad52bf
commit 8cf0d71c5c
2 changed files with 18 additions and 17 deletions

View File

@ -29,26 +29,27 @@
foreground (fg) background (bg) foreground (fg) background (bg)
------------------------------------------------------- -------------------------------------------------------
0 white black with 0 as fg 0 white light gray + blinking fg
light gray with fg > 0 1 black black
1 ligh gray black
2 blue blue 2 blue blue
3 green green 3 green green
4 light red red + blinking fg 4 light red red + blinking fg
5 orange orange 5 red red
6 magenta (purple) magenta 6 magenta (purple) magenta
7 red red 7 orange orange
8 yellow orange + blinking fg 8 yellow orange + blinking fg
9 light green light green + blinking fg 9 light green green + blinking fg
10 cyan cyan 10 cyan cyan
11 light cyan cyan + blinking fg 11 light cyan cyan + blinking fg
12 light blue blue + blinking fg 12 light blue blue + blinking fg
13 light magenta magenta + blinking fg 13 light magenta magenta + blinking fg
14 gray black + blinking fg 14 gray black + blinking fg
15 light gray black on black 15 light gray light gray
gray on light gray (with bold)
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): How to use these colors ('#' means a number as MIRC color code):

View File

@ -29,7 +29,7 @@
#include "gui-printtext.h" #include "gui-printtext.h"
#include "gui-windows.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 scrollback_lines, scrollback_hours, scrollback_burst_remove;
static int last_fg, last_bg, last_flags; static int last_fg, last_bg, last_flags;