-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 72d4b527deb50ff22cbef8983f1a2cfc95c09bb8:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 72d4b527deb50ff22cbef8983f1a2cfc95c09bb8
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Mon Jun 9 19:54:26 2014 +0000

    Restore on_user_command hooks for backward compatibility.

diff --git a/src/perl/searchable-scrollback b/src/perl/searchable-scrollback

index 2b2b7944d2e83a2506d779aa501535f9ed70207a..

index ..52f0a6419d4a42bff388b52b2f1c5a3ce0824019 100644

--- a/src/perl/searchable-scrollback
+++ b/src/perl/searchable-scrollback
@@ -46,6 +46,15 @@ sub on_init {
    ()
 }

+sub on_user_command {
+   my ($self, $cmd) = @_;
+
+   $cmd eq "searchable-scrollback:start"
+      and $self->enter;
+
+   ()
+}
+
 sub on_action {
    my ($self, $action) = @_;

diff --git a/src/perl/selection b/src/perl/selection

index 5eebccf7ce55dfa6b40b056788697d61f9671006..

index ..509423ac2a9788fa64e4904801abd4178a7c80d3 100644

--- a/src/perl/selection
+++ b/src/perl/selection
@@ -57,6 +57,15 @@ Example:

 =cut

+sub on_user_command {
+   my ($self, $cmd) = @_;
+
+   $cmd eq "selection:rot13"
+      and $self->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $self->selection);
+
+   ()
+}
+
 sub on_action {
    my ($self, $action) = @_;

diff --git a/src/perl/selection-pastebin b/src/perl/selection-pastebin

index 5b0689aa01a9c2e1fa40e59858a75044f4f7e6f3..

index ..0d433c32f9275e654f634113d54cea8ecaa776f6 100644

--- a/src/perl/selection-pastebin
+++ b/src/perl/selection-pastebin
@@ -115,6 +115,16 @@ sub on_start {
    ()
 }

+sub on_user_command {
+   my ($self, $cmd) = @_;
+
+   if ($cmd eq "selection-pastebin:remote-pastebin") {
+      $self->upload_paste;
+   }
+
+   ()
+}
+
 sub on_action {
    my ($self, $action) = @_;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:03:29 2024