--- rxvt-unicode/src/perl/selection 2006/01/02 21:33:25 1.1 +++ rxvt-unicode/src/perl/selection 2006/01/03 19:42:53 1.7 @@ -1,5 +1,16 @@ +#! perl + sub on_keyboard_command { - my ($term, $cmd) = @_; - $cmd eq "selection:rot13" - and $term->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $term->selection); + my ($self, $cmd) = @_; + + $cmd eq "selection:rot13" + and $self->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $self->selection); + + () +} + +sub on_sel_extend { + my ($self) = @_; + warn $self->selection; + () }