Add support for copy/paste URL (`p' and `y' in vimb) - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
 (HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset 163aec66f03806cc2d56c1163887f17e31c53668
 (DIR) parent a04c302e02c7d7f5dc7d85b817646bd583abe2ec
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Mon, 21 Jan 2019 01:29:59 
       
       Add support for copy/paste URL (`p' and `y' in vimb)
       
       Diffstat:
        www/links-gui/patch-view.c |  20 ++++++++++++++++++++
        1 files changed, 20 insertions(+), 0 deletions(-)
       ---
       diff -r a04c302e02c7 -r 163aec66f038 www/links-gui/patch-view.c
       --- a/www/links-gui/patch-view.c        Mon Jan 21 00:38:13 2019 +0100
       +++ b/www/links-gui/patch-view.c        Mon Jan 21 01:29:59 2019 +0100
       @@ -42,3 +42,23 @@
                               unsigned char *s;
                               if (list_empty(ses->history) || !ses->screen->rq->url) goto quak;
                               s = display_url(ses->term, ses->screen->rq->url, 0);
       +@@ -3690,6 +3686,19 @@ void send_event(struct session *ses, str
       +                       mem_free(s);
       +                       goto x;
       +               }
       ++              if (ev->x == 'p') {
       ++                      unsigned char *clip = get_clipboard_text(ses->term);
       ++                      if (clip) {
       ++                              goto_url(ses, clip);
       ++                              mem_free(clip);
       ++                      }
       ++                      goto x;
       ++              }
       ++              if (ev->x == 'y') {
       ++                      if (ses->screen->rq->url)
       ++                              set_clipboard_text(ses->term, ses->screen->rq->url);
       ++                      goto x;
       ++              }
       +               if (ev->x == KBD_PROPS) {
       +                       dialog_html_options(ses);
       +                       goto x;