version 1.209, 2010/03/02 00:32:41 |
version 1.210, 2010/03/22 19:02:54 |
|
|
#define screen_hsize(s) ((s)->grid->hsize) |
#define screen_hsize(s) ((s)->grid->hsize) |
#define screen_hlimit(s) ((s)->grid->hlimit) |
#define screen_hlimit(s) ((s)->grid->hlimit) |
|
|
/* Input parser sequence argument. */ |
|
struct input_arg { |
|
u_char data[64]; |
|
size_t used; |
|
}; |
|
|
|
/* Input parser context. */ |
/* Input parser context. */ |
struct input_ctx { |
struct input_ctx { |
struct window_pane *wp; |
struct window_pane *wp; |
struct screen_write_ctx ctx; |
struct screen_write_ctx ctx; |
|
|
u_char *buf; |
struct grid_cell cell; |
size_t len; |
|
size_t off; |
|
size_t was; |
|
|
|
struct grid_cell cell; |
struct grid_cell old_cell; |
|
u_int old_cx; |
|
u_int old_cy; |
|
|
struct grid_cell saved_cell; |
u_char interm_buf[4]; |
u_int saved_cx; |
size_t interm_len; |
u_int saved_cy; |
|
|
|
#define MAXSTRINGLEN 1024 |
u_char param_buf[64]; |
u_char *string_buf; |
size_t param_len; |
size_t string_len; |
|
int string_type; |
|
#define STRING_SYSTEM 0 |
|
#define STRING_APPLICATION 1 |
|
#define STRING_NAME 2 |
|
|
|
struct utf8_data utf8data; |
u_char input_buf[256]; |
|
size_t input_len; |
|
|
u_char intermediate; |
int param_list[24]; /* -1 not present */ |
void *(*state)(u_char, struct input_ctx *); |
u_int param_list_len; |
|
|
u_char private; |
struct utf8_data utf8data; |
ARRAY_DECL(, struct input_arg) args; |
|
|
int ch; |
|
int flags; |
|
#define INPUT_DISCARD 0x1 |
|
|
|
const struct input_state *state; |
}; |
}; |
|
|
/* |
/* |
|
|
const char *, const char *, struct environ *, |
const char *, const char *, struct environ *, |
struct termios *, char **); |
struct termios *, char **); |
void window_pane_resize(struct window_pane *, u_int, u_int); |
void window_pane_resize(struct window_pane *, u_int, u_int); |
|
void window_pane_alternate_on( |
|
struct window_pane *, struct grid_cell *); |
|
void window_pane_alternate_off( |
|
struct window_pane *, struct grid_cell *); |
int window_pane_set_mode( |
int window_pane_set_mode( |
struct window_pane *, const struct window_mode *); |
struct window_pane *, const struct window_mode *); |
void window_pane_reset_mode(struct window_pane *); |
void window_pane_reset_mode(struct window_pane *); |