summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-26 11:58:52 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commitc0c0155ba387345767b52994032a168e38d21b03 (patch)
tree190a8db821543bd11ee28a457b8199f82f131994 /poezio
parentd0551c09ba8f5370ab3f40a9359687d5d7ed40bf (diff)
downloadpoezio-c0c0155ba387345767b52994032a168e38d21b03.tar.gz
poezio-c0c0155ba387345767b52994032a168e38d21b03.tar.bz2
poezio-c0c0155ba387345767b52994032a168e38d21b03.tar.xz
poezio-c0c0155ba387345767b52994032a168e38d21b03.zip
fix: ignore type for xmltab input
until we have a cleaner way of substituting an input.
Diffstat (limited to 'poezio')
-rw-r--r--poezio/tabs/xmltab.py3
1 files changed, 1 insertions, 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='<filename>',
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