commit | ea6428a5d2c3c753c3123b3ecace7357e97eae50 | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed May 31 10:29:15 2017 +0000 |
committer | nicm <nicm> | Wed May 31 10:29:15 2017 +0000 |
tree | f0c99d2984c95ee5198b0f2a4b4c2d75dd645eb1 | |
parent | 80c6b487dc05662efd675695b7db93563e582f7c [diff] |
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.