We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c600310 commit 3e64840Copy full SHA for 3e64840
1 file changed
Lib/_pyrepl/simple_interact.py
@@ -158,6 +158,10 @@ def maybe_run_command(statement: str) -> bool:
158
input_n += 1
159
except KeyboardInterrupt:
160
r = _get_reader()
161
+ r.cmpltn_menu_visible = False
162
+ r.cmpltn_message_visible = False
163
+ r.cmpltn_menu = []
164
+ r.cmpltn_menu_end = 0
165
if r.input_trans is r.isearch_trans:
166
r.do_cmd(("isearch-end", [""]))
167
r.pos = len(r.get_unicode())
0 commit comments