Add OSC 19 to change highlightTextColor.
authorsf-exg <sf-exg>
Sun, 18 Apr 2010 11:11:28 +0000 (11:11 +0000)
committersf-exg <sf-exg>
Sun, 18 Apr 2010 11:11:28 +0000 (11:11 +0000)
doc/rxvt.7.pod
src/command.C
src/rxvt.h

index ca40d4e..47c3e14 100644 (file)
@@ -2021,7 +2021,8 @@ B<octet> can be escaped by prefixing it with SYN (0x16, ^V).
        B<< C<Ps = 11> >>       Change colour of text background to B<< C<Pt> >>
        B<< C<Ps = 12> >>       Change colour of text cursor foreground to B<< C<Pt> >>
        B<< C<Ps = 13> >>       Change colour of mouse foreground to B<< C<Pt> >>
-       B<< C<Ps = 17> >>       Change colour of highlight characters to B<< C<Pt> >>
+       B<< C<Ps = 17> >>       Change background colour of highlight characters to B<< C<Pt> >>
+       B<< C<Ps = 19> >>       Change foreground colour of highlight characters to B<< C<Pt> >>
        B<< C<Ps = 20> >>       Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage).
        B<< C<Ps = 39> >>       Change default foreground colour to B<< C<Pt> >>. [deprecated, use 10]
        B<< C<Ps = 46> >>       Change Log File to B<< C<Pt> >> I<unimplemented>
index fb156f8..85f27d5 100644 (file)
@@ -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:
index 0d03b21..d2cda9e 100644 (file)
@@ -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,