From c0c0155ba387345767b52994032a168e38d21b03 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 26 Mar 2021 11:58:52 +0100 Subject: fix: ignore type for xmltab input until we have a cleaner way of substituting an input. --- poezio/tabs/xmltab.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py index aa2552c4..8922c8d5 100644 --- a/poezio/tabs/xmltab.py +++ b/poezio/tabs/xmltab.py @@ -56,7 +56,6 @@ MATCHERS_MAPPINGS = { class XMLTab(Tab): - input: Optional[Union[windows.HelpText, windows.CommandInput]] def __init__(self, core): Tab.__init__(self, core) self.state = 'normal' @@ -122,7 +121,7 @@ class XMLTab(Tab): usage='', desc='Writes the content of the XML buffer into a file.', shortdesc='Write in a file.') - self.input = self.default_help_message + self.input = self.default_help_message # type: ignore self.key_func['^T'] = self.close self.key_func['^I'] = self.completion self.key_func["KEY_DOWN"] = self.on_scroll_down -- cgit v1.2.3