summary refs log tree commit diff
path: root/url.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-09-10 19:18:26 -0400
committerCurtis McEnroe2018-09-10 19:18:26 -0400
commit86e80edfcd3ba660dea1ce337467a10e2e878b18 (patch)
treed32d05f2cb51c08d963ffe3d2f4b4caf84ad12cb /url.c
parentc9968aadb959aeee1e999880089a9b6d923a6f26 (diff)
Add /man command
Diffstat (limited to 'url.c')
-rw-r--r--url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.c b/url.c
index 49bea65..902128a 100644
--- a/url.c
+++ b/url.c
@@ -82,5 +82,6 @@ void urlOpen(struct Tag tag, size_t at, size_t to) {
 		if (tagIndex >= at && tagIndex < to) argv[argc++] = entry.url;
 		tagIndex++;
 	}
-	if (argc > 1) eventSpawn(argv);
+	argv[argc] = NULL;
+	if (argc > 1) eventPipe(argv);
 }