summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-05-31 10:29:15 +0000
committernicm <nicm@openbsd.org>2017-05-31 10:29:15 +0000
commit37a4641a3df8a5fed8ad8afe2d56804a82503ca8 (patch)
tree0bd542a3e83c3d21e804bf5872871bd9e7a8e8f7 /usr.bin/tmux/tmux.h
parentBecause we defer actually resizing applications (calling TIOCSWINSZ) (diff)
downloadwireguard-openbsd-37a4641a3df8a5fed8ad8afe2d56804a82503ca8.tar.xz
wireguard-openbsd-37a4641a3df8a5fed8ad8afe2d56804a82503ca8.zip
It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size has
unchanged, because it may have changed and changed back in the time between us getting the signal and calling ioctl(). Always redraw when we see SIGWINCH.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index c9bba5b6b09..4253d4d96f7 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.777 2017/05/31 10:15:51 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.778 2017/05/31 10:29:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1661,8 +1661,8 @@ void tty_puts(struct tty *, const char *);
void tty_putc(struct tty *, u_char);
void tty_putn(struct tty *, const void *, size_t, u_int);
int tty_init(struct tty *, struct client *, int, char *);
-int tty_resize(struct tty *);
-int tty_set_size(struct tty *, u_int, u_int);
+void tty_resize(struct tty *);
+void tty_set_size(struct tty *, u_int, u_int);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);