This commit is contained in:
2025-04-02 10:50:10 +08:00
Unverified
parent 66c0de4e53
commit 331b23a20c

View File

@@ -16,6 +16,10 @@ def pseudo_zsh():
try:
cmd = input("20240915786@\u9648\u5764\u9633 ~ % ")
if cmd.strip() == "hexianglong":
print("Exiting secret mode...")
break
args = shlex.split(cmd)
if not args:
continue
@@ -34,9 +38,9 @@ def pseudo_zsh():
except FileNotFoundError:
print(f"zsh: command not found: {args[0]}")
except KeyboardInterrupt:
print("\nZsh cannot be exited!")
pass
except EOFError:
print("\nZsh cannot be exited!")
pass
if __name__ == "__main__":
pseudo_zsh()