ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection
(Generate patch)

Comparing rxvt-unicode/src/perl/selection (file contents):
Revision 1.1 by elmex, Mon Jan 2 21:33:25 2006 UTC vs.
Revision 1.2 by elmex, Mon Jan 2 21:35:01 2006 UTC

1sub on_keyboard_command { 1sub on_keyboard_command {
2 my ($term, $cmd) = @_; 2 my ($term, $cmd) = @_;
3
3 $cmd eq "selection:rot13" 4 $cmd eq "selection:rot13"
4 and $term->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $term->selection); 5 and $term->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $term->selection);
5} 6}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines