aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-15 19:27:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-15 19:27:31 +0000
commitd29ca39e0eb6a47986d05ebefce23349e1635c00 (patch)
tree0a087fa32b7bd8746443c21e5f473aa14cbc1004 /cmd.c
parentc5c4cc7557f107547d3de8f530395f87fa37d1ee (diff)
downloadrtmux-d29ca39e0eb6a47986d05ebefce23349e1635c00.tar.gz
rtmux-d29ca39e0eb6a47986d05ebefce23349e1635c00.tar.bz2
rtmux-d29ca39e0eb6a47986d05ebefce23349e1635c00.zip
Two new commands, choose-window and choose-session which work only when bound to a key and allow the window or session to be selected from a list.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index e4b45243..0b110bef 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.78 2009-01-14 19:56:55 nicm Exp $ */
+/* $Id: cmd.c,v 1.79 2009-01-15 19:27:31 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -28,6 +28,8 @@
const struct cmd_entry *cmd_table[] = {
&cmd_attach_session_entry,
&cmd_bind_key_entry,
+ &cmd_choose_session_entry,
+ &cmd_choose_window_entry,
&cmd_clock_mode_entry,
&cmd_command_prompt_entry,
&cmd_copy_mode_entry,