Allow choose commands to be used outside tmux, so long as at least one client

is attached.
This commit is contained in:
Nicholas Marriott
2013-02-10 17:52:51 +00:00
parent aadc87f5a7
commit f1ce95915c
8 changed files with 30 additions and 40 deletions

6
tmux.h
View File

@ -2204,13 +2204,13 @@ struct window_choose_data *window_choose_data_create (int,
void window_choose_data_free(struct window_choose_data *);
void window_choose_data_run(struct window_choose_data *);
struct window_choose_data *window_choose_add_window(struct window_pane *,
struct cmd_ctx *, struct session *, struct winlink *,
struct client *, struct session *, struct winlink *,
const char *, char *, u_int);
struct window_choose_data *window_choose_add_session(struct window_pane *,
struct cmd_ctx *, struct session *, const char *,
struct client *, 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 *,
struct client *, struct winlink *, const char *,
char *, u_int);
void window_choose_expand_all(struct window_pane *);