Skip to content

Commit

Permalink
Clean up signatures on ctrl-c
Browse files Browse the repository at this point in the history
  • Loading branch information
vallsv authored and jonathanslenders committed Jul 22, 2024
1 parent fb9bed1 commit f66a289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ptpython/python_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,4 +1116,5 @@ def pre_run(
return result
except KeyboardInterrupt:
# Abort - try again.
self.signatures = []
self.default_buffer.document = Document()

0 comments on commit f66a289

Please sign in to comment.