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
committed by Thomas Adam
parent 996a636713
commit 28fd3a3835
5 changed files with 181 additions and 0 deletions

4
tmux.h
View File

@ -1712,6 +1712,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;
@ -2200,6 +2201,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 *);