use the signal SIGWINCH for the resize