ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection
Revision: 1.6
Committed: Tue Jan 3 19:12:53 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.5: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.4 #! perl
2    
3 elmex 1.1 sub on_keyboard_command {
4 elmex 1.2 my ($term, $cmd) = @_;
5    
6     $cmd eq "selection:rot13"
7     and $term->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $term->selection);
8 elmex 1.3
9     ()
10 elmex 1.1 }
11 root 1.5
12 root 1.6 sub on_sel_extend {
13 root 1.5 warn "hiya\n";#d#
14     ()
15     }