From 8781283fbdffc5f362c64791d5c0f0f641010b34 Mon Sep 17 00:00:00 2001 From: Sigrid Date: Tue, 19 Jan 2021 14:14:28 +0100 Subject: mothra: resolve urls on middle click. helps with snarfing of relative urls --- sys/src/cmd/mothra/mothra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c index ed613ad82..8eab20806 100644 --- a/sys/src/cmd/mothra/mothra.c +++ b/sys/src/cmd/mothra/mothra.c @@ -776,7 +776,7 @@ void search(void){ void hiturl(int buttons, char *url, int map){ switch(buttons){ case 1: geturl(url, -1, 0, map); break; - case 2: selurl(url); break; + case 2: urlresolve(selurl(url)); break; case 4: message("Button 3 hit on url can't happen!"); break; } } -- cgit v1.2.3