1 | sub on_keyboard_command { | 1 | sub on_keyboard_command { |
---|---|---|---|
2 | my ($term, $cmd) = @_; | 2 | my ($term, $cmd) = @_; |
3 | 3 | ||
4 | $cmd eq "selection:rot13" | 4 | $cmd eq "selection:rot13" |
5 | 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); |
6 | |||
7 | () | ||
6 | } | 8 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |