Prints ^C in CLI mode when Ctrl+C is pressed
This commit is contained in:
parent
991b0d9942
commit
06c5047c8f
@ -322,7 +322,7 @@ def main(files=[]):
|
||||
if isinstance(line, str) and len(line) > 0:
|
||||
exec_line(line)
|
||||
except KeyboardInterrupt:
|
||||
print ()
|
||||
print ('^C\n')
|
||||
continue
|
||||
except EOFError:
|
||||
print ()
|
||||
|
Loading…
Reference in New Issue
Block a user