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) = @_;