version 1.45, 2009/07/22 15:55:32 |
version 1.46, 2009/07/22 16:45:31 |
|
|
TTY_REVERSEINDEX, |
TTY_REVERSEINDEX, |
}; |
}; |
|
|
|
struct tty_ctx { |
|
struct window_pane *wp; |
|
|
|
const struct grid_cell *cell; |
|
const struct grid_utf8 *utf8; |
|
|
|
u_int num; |
|
void *ptr; |
|
}; |
|
|
/* Message codes. */ |
/* Message codes. */ |
enum hdrtype { |
enum hdrtype { |
MSG_COMMAND, |
MSG_COMMAND, |
|
|
int tty_open(struct tty *, char **); |
int tty_open(struct tty *, char **); |
void tty_close(struct tty *, int); |
void tty_close(struct tty *, int); |
void tty_free(struct tty *, int); |
void tty_free(struct tty *, int); |
void tty_vwrite( |
void tty_write(struct tty *, enum tty_cmd, struct tty_ctx *); |
struct tty *, struct window_pane *, enum tty_cmd, va_list); |
|
|
|
/* tty-term.c */ |
/* tty-term.c */ |
extern struct tty_terms tty_terms; |
extern struct tty_terms tty_terms; |
|
|
int tty_keys_next(struct tty *, int *, u_char *); |
int tty_keys_next(struct tty *, int *, u_char *); |
|
|
/* tty-write.c */ |
/* tty-write.c */ |
void tty_write_cmd(struct window_pane *, enum tty_cmd, ...); |
void tty_write0(struct window_pane *, enum tty_cmd); |
|
void tty_writenum(struct window_pane *, enum tty_cmd, u_int); |
|
void tty_writeptr(struct window_pane *, enum tty_cmd, void *); |
|
void tty_write_cmd(enum tty_cmd, struct tty_ctx *); |
|
|
/* options-cmd.c */ |
/* options-cmd.c */ |
void set_option_string(struct cmd_ctx *, |
void set_option_string(struct cmd_ctx *, |