From f043b95fb097b18e9e1157e07ca273a6603d5530 Mon Sep 17 00:00:00 2001 From: sf-exg Date: Sun, 18 Apr 2010 11:11:28 +0000 Subject: [PATCH] Add OSC 19 to change highlightTextColor. --- doc/rxvt.7.pod | 3 ++- src/command.C | 3 +++ src/rxvt.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod index ca40d4e..47c3e14 100644 --- a/doc/rxvt.7.pod +++ b/doc/rxvt.7.pod @@ -2021,7 +2021,8 @@ B can be escaped by prefixing it with SYN (0x16, ^V). B<< C >> Change colour of text background to B<< C >> B<< C >> Change colour of text cursor foreground to B<< C >> B<< C >> Change colour of mouse foreground to B<< C >> - B<< C >> Change colour of highlight characters to B<< C >> + B<< C >> Change background colour of highlight characters to B<< C >> + B<< C >> Change foreground colour of highlight characters to B<< C >> B<< C >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage). B<< C >> Change default foreground colour to B<< C >>. [deprecated, use 10] B<< C >> Change Log File to B<< C >> I diff --git a/src/command.C b/src/command.C index fb156f8..85f27d5 100644 --- a/src/command.C +++ b/src/command.C @@ -3400,6 +3400,9 @@ rxvt_term::process_xterm_seq (int op, char *str, char resp) case XTerm_Color_HC: process_color_seq (op, Color_HC, str, resp); break; + case XTerm_Color_HTC: + process_color_seq (op, Color_HTC, str, resp); + break; #endif #ifndef NO_BOLD_UNDERLINE_REVERSE case URxvt_Color_BD: diff --git a/src/rxvt.h b/src/rxvt.h index 0d03b21..d2cda9e 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -393,7 +393,8 @@ enum { XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color XTerm_Color05 = 15, // not implemented (tektronix fg) XTerm_Color06 = 16, // not implemented (tektronix bg) - XTerm_Color_HC = 17, // change actual 'Highlight' color + XTerm_Color_HC = 17, // change actual 'Highlight' bg color + XTerm_Color_HTC = 19, // change actual 'Highlight' fg color XTerm_logfile = 46, // not implemented XTerm_font = 50, -- 1.9.1