fix: only call key_enter on commandinput in xmltab
This commit is contained in:
parent
9ab0d250f4
commit
d09d30c52c
1 changed files with 3 additions and 2 deletions
|
@ -318,8 +318,9 @@ class XMLTab(Tab):
|
|||
|
||||
def execute_slash_command(self, txt: str) -> bool:
|
||||
if txt.startswith('/'):
|
||||
self.input.key_enter()
|
||||
self.execute_command(txt)
|
||||
if isinstance(self.input, windows.CommandInput):
|
||||
self.input.key_enter()
|
||||
self.execute_command(txt)
|
||||
return self.reset_help_message()
|
||||
|
||||
def completion(self):
|
||||
|
|
Loading…
Reference in a new issue