add cmd-choose-list to allow arbitrary options to be selected. From

Thomas Adam.
This commit is contained in:
Nicholas Marriott
2012-09-03 09:57:57 +00:00
parent adc9fad4ac
commit 7263fa36eb
6 changed files with 182 additions and 0 deletions

4
tmux.h
View File

@ -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 *);