From ea6428a5d2c3c753c3123b3ecace7357e97eae50 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 31 May 2017 10:29:15 +0000 Subject: 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. --- tmux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index f56f3b1b..79ae8ddc 100644 --- a/tmux.h +++ b/tmux.h @@ -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 *); -- cgit