Add SIGWINCH handler to support resizes of the outer terminal