--- rxvt-unicode/src/urxvt.pm 2006/01/09 22:41:41 1.69 +++ rxvt-unicode/src/urxvt.pm 2006/01/09 23:30:01 1.72 @@ -265,6 +265,11 @@ might be very slow, however, as your hook is called for B text being output. +=item on_tt_write $term, $octets + +Called whenever some data is written to the tty/pty and can be used to +suppress or filter tty input. + =item on_line_update $term, $row Called whenever a line was updated or changed. Can be used to filter @@ -503,7 +508,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 +595,9 @@ $retval } -# urxvt::term::proxy +# urxvt::term::extension -package urxvt::term::proxy; +package urxvt::term::extension; sub enable { my ($self, %hook) = @_; @@ -943,6 +948,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!