1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
From db1218712b39348f03925878963a24a7573ef83f Mon Sep 17 00:00:00 2001
From: Gregory P. Smith <greg@electricrain.com>
Date: Wed, 29 Nov 2006 23:47:38 -0800
Subject: ircII goes reverse color when switching colour to on in xterms
Bug-Debian: http://bugs.debian.org/61008
---
include/config.h.dist | 4 +-
include/screen.h | 2 +
source/screen.c | 87 ++++++++++++++++++++++++++++++++++++++++++------
3 files changed, 80 insertions(+), 13 deletions(-)
Index: ircii-20240918/include/config.h.dist
===================================================================
--- ircii-20240918.orig/include/config.h.dist
+++ ircii-20240918/include/config.h.dist
@@ -111,7 +111,7 @@
#define DEFAULT_ALWAYS_SPLIT_BIGGEST 1
#define DEFAULT_AUTO_UNMARK_AWAY 0
#define DEFAULT_AUTO_WHOWAS 0
-#define DEFAULT_BACKGROUND_COLOUR 1
+#define DEFAULT_BACKGROUND_COLOUR 16
#define DEFAULT_BEEP 1
#define DEFAULT_BEEP_MAX 3
#define DEFAULT_BEEP_ON_MSG "NONE"
@@ -141,7 +141,7 @@
#define DEFAULT_FLOOD_RATE 3
#define DEFAULT_FLOOD_USERS 3
#define DEFAULT_FLOOD_WARNING 0
-#define DEFAULT_FOREGROUND_COLOUR 15
+#define DEFAULT_FOREGROUND_COLOUR 16
#define DEFAULT_FULL_STATUS_LINE 1
#define DEFAULT_HELP_PAGER 1
#define DEFAULT_HELP_PROMPT 1
Index: ircii-20240918/include/screen.h
===================================================================
--- ircii-20240918.orig/include/screen.h
+++ ircii-20240918/include/screen.h
@@ -44,6 +44,8 @@
#define WAIT_PROMPT_LINE 0x01
#define WAIT_PROMPT_KEY 0x02
+#define COLOUR_DEFAULT 16
+
/* Stuff for the screen/xterm junk */
#define ST_NOTHING -1
|