aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 77901477..90d4549f 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.109 2007-12-06 09:46:23 nicm Exp $ */
+/* $Id: tmux.h,v 1.110 2007-12-06 10:04:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -467,7 +467,7 @@ struct input_ctx {
* right function to handle input and output.
*/
struct window_mode {
- void (*init)(struct window *);
+ struct screen *(*init)(struct window *);
void (*free)(struct window *);
void (*resize)(struct window *, u_int, u_int);
void (*key)(struct window *, int);
@@ -905,6 +905,8 @@ struct window *window_create(
const char *, const char *, const char **, u_int, u_int);
void window_destroy(struct window *);
int window_resize(struct window *, u_int, u_int);
+int window_set_mode(struct window *, const struct window_mode *);
+void window_reset_mode(struct window *);
void window_parse(struct window *);
void window_key(struct window *, int);