diff options
author | 2017-02-03 11:57:27 +0000 | |
---|---|---|
committer | 2017-02-03 11:57:27 +0000 | |
commit | 134e9c117fe89ae8d41181b1409e96985cbe0b1a (patch) | |
tree | 8aa142897fcc1e7ce52926beed78e882da4a2316 /usr.bin/tmux/cmd-if-shell.c | |
parent | Set the context id and counter offset to a known value. Enable access (diff) | |
download | wireguard-openbsd-134e9c117fe89ae8d41181b1409e96985cbe0b1a.tar.xz wireguard-openbsd-134e9c117fe89ae8d41181b1409e96985cbe0b1a.zip |
Add a window or pane id "tag" to each format tree and use it to separate
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 9651287817d..f71b6865b5b 100644 --- a/usr.bin/tmux/cmd-if-shell.c +++ b/usr.bin/tmux/cmd-if-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-if-shell.c,v 1.49 2017/01/15 22:00:56 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.50 2017/02/03 11:57:27 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -82,7 +82,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item) else cwd = NULL; - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, item->state.c, s, wl, wp); shellcmd = format_expand(ft, args->argv[0]); format_free(ft); |