aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 11:05:10 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 11:05:10 +0000
commit6e03b50771134b68bf2c96d547ebe0fff675a84e (patch)
tree9bc25f2d494139e00f3bb2d6359d0889da448fe7
parent362c4607671621c4f4265a0089dd1d313e2b7608 (diff)
downloadrtmux-6e03b50771134b68bf2c96d547ebe0fff675a84e.tar.gz
rtmux-6e03b50771134b68bf2c96d547ebe0fff675a84e.tar.bz2
rtmux-6e03b50771134b68bf2c96d547ebe0fff675a84e.zip
Run session command before window in choose-tree.
-rw-r--r--cmd-choose-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c
index e12e4c30..51a329ec 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -203,8 +203,8 @@ windows_only:
cur_win = idx_ses;
}
- xasprintf(&final_win_action, "%s ; %s", win_action,
- wcd ? wcd->command : "");
+ xasprintf(&final_win_action, "%s ; %s",
+ wcd ? wcd->command : "", win_action);
if (win_ses != win_max)
cur_win_template = final_win_template_middle;