summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-01-08 06:38:56 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-01-08 06:38:56 +0000
commit2e04b11a85b97d3ec38b56c39bbde71092b79e4e (patch)
tree6d46d74da2a03f39d7241d30bd0056d24bc84328
parent54963f0d02b53c9c299531908fdc7ba8cae6c53d (diff)
Add -Z to default switch-client command in tree mode, matches previous
behaviour.
-rw-r--r--usr.bin/tmux/window-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-tree.c b/usr.bin/tmux/window-tree.c
index f3349074068..f4f80e59d74 100644
--- a/usr.bin/tmux/window-tree.c
+++ b/usr.bin/tmux/window-tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-tree.c,v 1.43 2019/12/03 10:47:23 nicm Exp $ */
+/* $OpenBSD: window-tree.c,v 1.44 2020/01/08 06:38:55 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -33,7 +33,7 @@ static void window_tree_key(struct window_mode_entry *,
struct client *, struct session *,
struct winlink *, key_code, struct mouse_event *);
-#define WINDOW_TREE_DEFAULT_COMMAND "switch-client -t '%%'"
+#define WINDOW_TREE_DEFAULT_COMMAND "switch-client -Zt '%%'"
#define WINDOW_TREE_DEFAULT_FORMAT \
"#{?pane_format," \