Added exit command to console mode

This commit is contained in:
Fierelier 2018-11-28 02:16:51 +01:00
parent 8c5bd03434
commit 85d0822a03

View File

@ -310,6 +310,10 @@ def console():
while True:
cmd = input(os.getcwd()+ ">")
if cmd == "exit":
return
if cmd.startswith("pyc "):
try:
exec(cmd[4:])