From 771c7d11fd6ad288e0fef410b5d625365901f92a Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Wed, 2 Apr 2025 18:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20main.py=EF=BC=8C=E5=A4=84?= =?UTF-8?q?=E7=90=86=20KeyboardInterrupt=20=E5=92=8C=20EOFError=20?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E8=BE=93=E5=87=BA=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 08e0ef3..4793724 100644 --- a/main.py +++ b/main.py @@ -78,9 +78,9 @@ def pseudo_zsh(): except FileNotFoundError: print(f"zsh: command not found: {args[0]}") except KeyboardInterrupt: - break + print(f"") except EOFError: - break + print(f"") if __name__ == "__main__": pseudo_zsh() \ No newline at end of file