https://github.com/user-attachments/assets/914487da-7fe2-4698-af10-0b8d6ec91e1b 期望:调整完终端尺寸后按一次 q 键即可退出程序 实际:需要按两次 q