diff options
author | Sigrid <ftrvxmtrx@gmail.com> | 2021-01-19 14:14:28 +0100 |
---|---|---|
committer | Sigrid <ftrvxmtrx@gmail.com> | 2021-01-19 14:14:28 +0100 |
commit | 8781283fbdffc5f362c64791d5c0f0f641010b34 (patch) | |
tree | 1eef1316beb0850c1c694838f670898f53767cb2 | |
parent | b3548406b5298a0840a4001316276ed2e6491964 (diff) | |
download | plan9front-8781283fbdffc5f362c64791d5c0f0f641010b34.tar.xz |
mothra: resolve urls on middle click. helps with snarfing of relative urls
-rw-r--r-- | sys/src/cmd/mothra/mothra.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |