git: 9front

Download patch

ref: 22598197bb084a512322dffb5aed3af8c7129923
parent: 7fefad5879ece309e7fdfd011a28975af56f5930
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Sep 26 15:32:34 EDT 2012

mothra: fix url snarfing

--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -823,6 +823,7 @@
 	seturl(&url, urlname, current ? current->url->fullname : "");
 	selection=&url;
 	message("selected: %s", urlstr(selection));
+	plgrabkb(cmd);		/* for snarf */
 	return selection;
 }
 void seturl(Url *url, char *urlname, char *base){
--