summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index cab0b5ca92c..c7e50235b5d 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.343 2012/06/25 14:08:55 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.344 2012/06/25 14:27:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -852,8 +852,7 @@ struct window_choose_data {
struct session *session;
struct format_tree *ft;
char *ft_template;
- char *raw_format;
- char *action;
+ char *command;
u_int idx;
};
@@ -2135,16 +2134,19 @@ void window_copy_pageup(struct window_pane *);
/* window-choose.c */
extern const struct window_mode window_choose_mode;
-void window_choose_vadd(
- struct window_pane *, int, const char *, va_list);
void window_choose_add(struct window_pane *,
struct window_choose_data *);
void window_choose_ready(struct window_pane *,
u_int, void (*)(struct window_choose_data *),
void (*)(struct window_choose_data *));
-struct window_choose_data *window_choose_data_create(
- struct cmd_ctx *);
+struct window_choose_data *window_choose_data_create(struct cmd_ctx *);
void window_choose_ctx(struct window_choose_data *);
+struct window_choose_data *window_choose_add_window(struct window_pane *,
+ struct cmd_ctx *, 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 *,
+ char *, u_int);
/* names.c */
void queue_window_name(struct window *);