It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size has
authornicm <nicm@openbsd.org>
Wed, 31 May 2017 10:29:15 +0000 (10:29 +0000)
committernicm <nicm@openbsd.org>
Wed, 31 May 2017 10:29:15 +0000 (10:29 +0000)
commit37a4641a3df8a5fed8ad8afe2d56804a82503ca8
tree0bd542a3e83c3d21e804bf5872871bd9e7a8e8f7
parentdcf9d915e6c43af32189d8ce8fbace8d1e7bede8
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.
usr.bin/tmux/server-client.c
usr.bin/tmux/tmux.h
usr.bin/tmux/tty.c