1
0
Fork 0

exit feedback for ctl+c

This commit is contained in:
Kevin Matz 2018-10-25 15:00:10 -04:00
parent 999624bd49
commit f284414383
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if __name__ == '__main__':
try:
text = input("comment# ")
except KeyboardInterrupt:
print()
print('exit')
sys.exit(0)
if text == 'exit':
sys.exit(0)