--- rxvt-unicode/src/urxvt.pm 2006/01/09 22:41:41 1.69 +++ rxvt-unicode/src/urxvt.pm 2006/01/09 23:18:49 1.71 @@ -503,7 +503,7 @@ my $source = untaint "package $pkg; use strict; use utf8;\n" - . "use base urxvt::term::proxy::;\n" + . "use base urxvt::term::extension::;\n" . "#line 1 \"$path\"\n{\n" . (do { local $/; <$fh> }) . "\n};\n1"; @@ -590,9 +590,9 @@ $retval } -# urxvt::term::proxy +# urxvt::term::extension -package urxvt::term::proxy; +package urxvt::term::extension; sub enable { my ($self, %hook) = @_; @@ -943,6 +943,19 @@ Convert the given locale-encoded octets into a perl string. +=item $term->scr_xor_span ($beg_row, $beg_col, $end_row, $end_col[, $rstyle]) + +XORs the rendition values in the given span with the provided value +(default: C). Useful in refresh hooks to provide effects similar +to the selection. + +=item $term->scr_xor_rect ($beg_row, $beg_col, $end_row, $end_col[, $rstyle1[, $rstyle2]]) + +Similar to C, but xors a rectangle instead. Trailing +whitespace will additionally be xored with the C<$rstyle2>, which defaults +to C, which removes reverse video again and underlines +it instead. + =item $term->scr_bell Ring the bell!