Don’t always reset the completion on command execution
e.g. if there is nothing to reset
This commit is contained in:
parent
e464c24b49
commit
d52fe4c23e
1 changed files with 2 additions and 1 deletions
|
@ -290,6 +290,7 @@ class Tab(object):
|
|||
else:
|
||||
arg = xhtml.clean_text_simple(arg)
|
||||
if func:
|
||||
if hasattr(self.input, "reset_completion"):
|
||||
self.input.reset_completion()
|
||||
func(arg)
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue