compatibility with urxvt 9.21+

This commit is contained in:
Stanislav Seletskiy 2015-01-22 22:28:44 +06:00
parent e68375c3d4
commit 10c64a552f
3 changed files with 19 additions and 0 deletions

View File

@ -86,6 +86,12 @@ sub paste_escaped {
()
}
sub on_action {
my ($self, $action) = @_;
on_user_command($self, "clipboard:" . $action);
}
sub on_user_command {
my ($self, $cmd) = @_;

View File

@ -40,6 +40,13 @@ sub on_start{
}
sub on_action {
my ($self, $action) = @_;
on_user_command($self, "keyboard-select:" . $action);
}
sub on_user_command {
my ($self, $cmd) = @_;

View File

@ -109,6 +109,12 @@ sub line_update {
()
}
sub on_action {
my ($self, $action) = @_;
on_user_command($self, "url-select:" . $action);
}
sub on_user_command {
my ($self, $cmd) = @_;