summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-07-08 16:04:39 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-07-08 16:04:39 +0000
commit3abbd2e63f0d25cc1ca370763f9ce9cb118fe5a3 (patch)
tree0ddd9fc9d8891642e08318f2ae656a86fb19d596 /usr.bin/tmux/cmd.c
parent4d53f9cdd193f54fe8ce85711f0515f729de1aa9 (diff)
Add choose-tree command to show windows and sessions in the same
list. Change choose-window and -session to use the same code. From Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r--usr.bin/tmux/cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c
index d69b2f6a660..e3b89eb1d55 100644
--- a/usr.bin/tmux/cmd.c
+++ b/usr.bin/tmux/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.66 2012/06/18 09:20:19 nicm Exp $ */
+/* $OpenBSD: cmd.c,v 1.67 2012/07/08 16:04:38 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -36,6 +36,7 @@ const struct cmd_entry *cmd_table[] = {
&cmd_choose_buffer_entry,
&cmd_choose_client_entry,
&cmd_choose_session_entry,
+ &cmd_choose_tree_entry,
&cmd_choose_window_entry,
&cmd_clear_history_entry,
&cmd_clock_mode_entry,