diff options
Diffstat (limited to 'poezio/tabs/xmltab.py')
-rw-r--r-- | poezio/tabs/xmltab.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py index 15fd2ed4..aa2552c4 100644 --- a/poezio/tabs/xmltab.py +++ b/poezio/tabs/xmltab.py @@ -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): |