diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-12-11 19:59:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-12-11 19:59:08 +0000 |
commit | 5a5db02b8514eff40b97b3f3e4e85a3d948b57da (patch) | |
tree | b365177fbccd29ab040ae598fa22a6bf2e10638d /tty.c | |
parent | 38cc1a1843b370eaeff749802d1d8803b73c4b93 (diff) | |
parent | 2a6b2153280278d356dfbdd2af36887d5a1c8763 (diff) | |
download | rtmux-5a5db02b8514eff40b97b3f3e4e85a3d948b57da.tar.gz rtmux-5a5db02b8514eff40b97b3f3e4e85a3d948b57da.tar.bz2 rtmux-5a5db02b8514eff40b97b3f3e4e85a3d948b57da.zip |
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -48,8 +48,8 @@ void tty_colours_bg(struct tty *, const struct grid_cell *); int tty_large_region(struct tty *, const struct tty_ctx *); int tty_fake_bce(const struct tty *, const struct window_pane *); void tty_redraw_region(struct tty *, const struct tty_ctx *); -void tty_emulate_repeat( - struct tty *, enum tty_code_code, enum tty_code_code, u_int); +void tty_emulate_repeat(struct tty *, enum tty_code_code, enum tty_code_code, + u_int); void tty_repeat_space(struct tty *, u_int); void tty_cell(struct tty *, const struct grid_cell *, const struct window_pane *); @@ -161,8 +161,8 @@ tty_open(struct tty *tty, char **cause) tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_TIMER); - tty->event = bufferevent_new( - tty->fd, tty_read_callback, NULL, tty_error_callback, tty); + tty->event = bufferevent_new(tty->fd, tty_read_callback, NULL, + tty_error_callback, tty); tty_start_tty(tty); @@ -1188,8 +1188,8 @@ tty_reset(struct tty *tty) /* Set region inside pane. */ void -tty_region_pane( - struct tty *tty, const struct tty_ctx *ctx, u_int rupper, u_int rlower) +tty_region_pane(struct tty *tty, const struct tty_ctx *ctx, u_int rupper, + u_int rlower) { tty_region(tty, ctx->yoff + rupper, ctx->yoff + rlower); } |