summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-tree.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-01-08 06:38:55 +0000
committernicm <nicm@openbsd.org>2020-01-08 06:38:55 +0000
commitec12dec931cd9ecfb680373caa28ef8ef309ee02 (patch)
treec1bb6d73e589a4e221168fad95baab36af2696e6 /usr.bin/tmux/window-tree.c
parentallow using the session username in builtin filters when available (diff)
downloadwireguard-openbsd-ec12dec931cd9ecfb680373caa28ef8ef309ee02.tar.xz
wireguard-openbsd-ec12dec931cd9ecfb680373caa28ef8ef309ee02.zip
Add -Z to default switch-client command in tree mode, matches previous
behaviour.
Diffstat (limited to 'usr.bin/tmux/window-tree.c')
-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," \