From 10c64a552fad22de0b6e7f1f8da81b445e7abc70 Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Thu, 22 Jan 2015 22:28:44 +0600 Subject: [PATCH] compatibility with urxvt 9.21+ --- clipboard | 6 ++++++ keyboard-select | 7 +++++++ url-select | 6 ++++++ 3 files changed, 19 insertions(+) diff --git a/clipboard b/clipboard index 8e71792..05e1601 100644 --- a/clipboard +++ b/clipboard @@ -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) = @_; diff --git a/keyboard-select b/keyboard-select index d4d5752..3627360 100644 --- a/keyboard-select +++ b/keyboard-select @@ -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) = @_; diff --git a/url-select b/url-select index 1f6c679..205af6a 100644 --- a/url-select +++ b/url-select @@ -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) = @_;