diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 10:04:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 10:04:43 +0000 |
commit | 7dc18f68e3dd016d381bef43b943c0c482057e57 (patch) | |
tree | 39e3ad8d1ff8dbebde3188ac8541a53b01a5ddbc /tmux.h | |
parent | 103748d6adfe1b2d706cb0a1e1a128be5366d655 (diff) | |
download | rtmux-7dc18f68e3dd016d381bef43b943c0c482057e57.tar.gz rtmux-7dc18f68e3dd016d381bef43b943c0c482057e57.tar.bz2 rtmux-7dc18f68e3dd016d381bef43b943c0c482057e57.zip |
set/reset mode window functions.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |