version 1.195, 2015/11/23 20:53:09 |
version 1.196, 2015/12/11 16:37:21 |
|
|
int tty_large_region(struct tty *, const struct tty_ctx *); |
int tty_large_region(struct tty *, const struct tty_ctx *); |
int tty_fake_bce(const struct tty *, const struct window_pane *); |
int tty_fake_bce(const struct tty *, const struct window_pane *); |
void tty_redraw_region(struct tty *, const struct tty_ctx *); |
void tty_redraw_region(struct tty *, const struct tty_ctx *); |
void tty_emulate_repeat( |
void tty_emulate_repeat(struct tty *, enum tty_code_code, enum tty_code_code, |
struct tty *, enum tty_code_code, enum tty_code_code, u_int); |
u_int); |
void tty_repeat_space(struct tty *, u_int); |
void tty_repeat_space(struct tty *, u_int); |
void tty_cell(struct tty *, const struct grid_cell *, |
void tty_cell(struct tty *, const struct grid_cell *, |
const struct window_pane *); |
const struct window_pane *); |
|
|
|
|
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_TIMER); |
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_TIMER); |
|
|
tty->event = bufferevent_new( |
tty->event = bufferevent_new(tty->fd, tty_read_callback, NULL, |
tty->fd, tty_read_callback, NULL, tty_error_callback, tty); |
tty_error_callback, tty); |
|
|
tty_start_tty(tty); |
tty_start_tty(tty); |
|
|
|
|
|
|
/* Set region inside pane. */ |
/* Set region inside pane. */ |
void |
void |
tty_region_pane( |
tty_region_pane(struct tty *tty, const struct tty_ctx *ctx, u_int rupper, |
struct tty *tty, const struct tty_ctx *ctx, u_int rupper, u_int rlower) |
u_int rlower) |
{ |
{ |
tty_region(tty, ctx->yoff + rupper, ctx->yoff + rlower); |
tty_region(tty, ctx->yoff + rupper, ctx->yoff + rlower); |
} |
} |