From d9ef92f636f551ae9a14ff7ea4d98db94baddbcd Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 3 Feb 2017 11:57:29 +0000 Subject: 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. --- usr.bin/tmux/cmd-pipe-pane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-pipe-pane.c') diff --git a/usr.bin/tmux/cmd-pipe-pane.c b/usr.bin/tmux/cmd-pipe-pane.c index 761a931558c..4eb6f567eb2 100644 --- a/usr.bin/tmux/cmd-pipe-pane.c +++ b/usr.bin/tmux/cmd-pipe-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-pipe-pane.c,v 1.39 2016/10/16 19:04:05 nicm Exp $ */ +/* $OpenBSD: cmd-pipe-pane.c,v 1.40 2017/02/03 11:57:27 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -90,7 +90,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item) } /* Expand the command. */ - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, c, s, wl, wp); cmd = format_expand_time(ft, args->argv[0], time(NULL)); format_free(ft); -- cgit v1.2.3