aboutsummaryrefslogtreecommitdiff
path: root/spawn.c
diff options
context:
space:
mode:
authornicm <nicm>2021-03-02 10:56:45 +0000
committernicm <nicm>2021-03-02 10:56:45 +0000
commitc44750792a9683c5cd6f9df5a69e7417b88772d2 (patch)
treec60638c0067f6238a670260ce48c94a42e03acfb /spawn.c
parentde3a898e8af335325039a4165525fff1d5e1a1b0 (diff)
downloadrtmux-c44750792a9683c5cd6f9df5a69e7417b88772d2.tar.gz
rtmux-c44750792a9683c5cd6f9df5a69e7417b88772d2.tar.bz2
rtmux-c44750792a9683c5cd6f9df5a69e7417b88772d2.zip
Drop support for popups where the content is provided directly to tmux
(which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
Diffstat (limited to 'spawn.c')
-rw-r--r--spawn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/spawn.c b/spawn.c
index 41ffe612..9a801a38 100644
--- a/spawn.c
+++ b/spawn.c
@@ -265,8 +265,9 @@ spawn_pane(struct spawn_context *sc, char **cause)
}
/*
- * Now we have a pane with nothing running in it ready for the new process.
- * Work out the command and arguments and store the working directory.
+ * Now we have a pane with nothing running in it ready for the new
+ * process. Work out the command and arguments and store the working
+ * directory.
*/
if (sc->argc == 0 && (~sc->flags & SPAWN_RESPAWN)) {
cmd = options_get_string(s->options, "default-command");