Handle the terminal resizing while suspended, by sending ourselves a
SIGWINCH after restoring.
Fix a few tests to work with current ta.
Emit an event before/after suspending.