summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-12-11 16:37:21 +0000
committernicm <nicm@openbsd.org>2015-12-11 16:37:21 +0000
commitd5221700c6b0cae5496ce4c8cadd738aa68101d5 (patch)
tree3f81070453e52d6fdb888e511fb877f7cd21ff0d /usr.bin/tmux/tty.c
parentMention {src,dst}-{window,pane} where we define target-{window,pane}. (diff)
downloadwireguard-openbsd-d5221700c6b0cae5496ce4c8cadd738aa68101d5.tar.xz
wireguard-openbsd-d5221700c6b0cae5496ce4c8cadd738aa68101d5.zip
Style nits and line wrapping of function declarations.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 01f1f0851eb..faaa207a16a 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.195 2015/11/23 20:53:09 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.196 2015/12/11 16:37:21 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);
}