更新 main.py,修改 KeyboardInterrupt 的输出格式为 "^C"
This commit is contained in:
2
main.py
2
main.py
@@ -78,7 +78,7 @@ def pseudo_zsh():
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print(f"zsh: command not found: {args[0]}")
|
print(f"zsh: command not found: {args[0]}")
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print(f"")
|
print(f"^C")
|
||||||
except EOFError:
|
except EOFError:
|
||||||
print(f"")
|
print(f"")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user