We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9919725 commit a92f864Copy full SHA for a92f864
1 file changed
bpython/cli.py
@@ -544,9 +544,11 @@ def _complete(self, unused_tab=False):
544
else:
545
e = False
546
547
- if (e or not self.completer.matches) and not self.argspec:
548
- self.scr.redrawwin()
549
- return False
+ if e or not self.completer.matches:
+ self.matches = []
+ if not self.argspec:
550
+ self.scr.redrawwin()
551
+ return False
552
553
if not e and self.completer.matches:
554
# remove duplicates and restore order
0 commit comments