From 7263fa36eb3d4488b89d01837dc4bd533e6f061a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 3 Sep 2012 09:57:57 +0000 Subject: add cmd-choose-list to allow arbitrary options to be selected. From Thomas Adam. --- tmux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 85f5fb68..c1095681 100644 --- a/tmux.h +++ b/tmux.h @@ -1716,6 +1716,7 @@ extern const struct cmd_entry cmd_break_pane_entry; extern const struct cmd_entry cmd_capture_pane_entry; extern const struct cmd_entry cmd_choose_buffer_entry; extern const struct cmd_entry cmd_choose_client_entry; +extern const struct cmd_entry cmd_choose_list_entry; extern const struct cmd_entry cmd_choose_session_entry; extern const struct cmd_entry cmd_choose_tree_entry; extern const struct cmd_entry cmd_choose_window_entry; @@ -2204,6 +2205,9 @@ struct window_choose_data *window_choose_add_window(struct window_pane *, struct window_choose_data *window_choose_add_session(struct window_pane *, struct cmd_ctx *, struct session *, const char *, char *, u_int); +struct window_choose_data *window_choose_add_item(struct window_pane *, + struct cmd_ctx *, struct winlink *, const char *, + char *, u_int); /* names.c */ void queue_window_name(struct window *); -- cgit