更新 main.py,修改 KeyboardInterrupt 的输出格式为 "^C"

This commit is contained in:
2025-04-02 18:16:54 +08:00
Unverified
parent 771c7d11fd
commit ae400a1f8f

View File

@@ -78,7 +78,7 @@ def pseudo_zsh():
except FileNotFoundError:
print(f"zsh: command not found: {args[0]}")
except KeyboardInterrupt:
print(f"")
print(f"^C")
except EOFError:
print(f"")