change for beauty, add SIGWINCH and struct tty_state.window_resized for yaftx