summaryrefslogtreecommitdiff
path: root/src/gui.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-30 22:36:34 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit21f6eae107e9d9ead756923c65340b41fcef7249 (patch)
tree31697a80c1ac51120c288516e039c43c09b983c7 /src/gui.zig
parentcc173a821bd6fd84fa6e7c2f272b7e049c7a1aaa (diff)
downloadpardes-21f6eae107e9d9ead756923c65340b41fcef7249.tar.gz
pardes-21f6eae107e9d9ead756923c65340b41fcef7249.zip
openLink: hand URLs to the desktop opener (xdg-open / open) via double fork
Diffstat (limited to 'src/gui.zig')
-rw-r--r--src/gui.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.zig b/src/gui.zig
index 25abe905..4fa5d20e 100644
--- a/src/gui.zig
+++ b/src/gui.zig
@@ -2105,7 +2105,7 @@ fn drainEffects(
_ = posix.system.ioctl(pt.fd, TIOCSWINSZ, @intFromPtr(&ws));
}
},
- .open_link => {}, // native: look opens panes instead; nothing to launch
+ .open_link => |url| look.openLink(url.slice()), // desktop browser
.save_file => |sf| {
const pane = core.panes[sf.pane] orelse continue;
const f = pane.file orelse continue;