Commit d09d30c5 authored by mathieui's avatar mathieui

fix: only call key_enter on commandinput in xmltab

parent 9ab0d250
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment