From f28441438379312aa9d53cff66cf9f09100833dd Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Thu, 25 Oct 2018 15:00:10 -0400 Subject: [PATCH] exit feedback for ctl+c --- comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment.py b/comment.py index 1f70633..83bc8f8 100755 --- a/comment.py +++ b/comment.py @@ -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)