1 | sub on_keyboard_command { | 1 | sub 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |