summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-26 18:02:37 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit50b8a7afe1b6aaa882b9175b9b31444ed3c8da10 (patch)
tree4a9a8d8e98ce31e80f72adb2dace4aba26b1d5d9
parentf80e9d9ddeb17e302240bcfd0051f37fb0ce2854 (diff)
downloadpoezio-50b8a7afe1b6aaa882b9175b9b31444ed3c8da10.tar.gz
poezio-50b8a7afe1b6aaa882b9175b9b31444ed3c8da10.tar.bz2
poezio-50b8a7afe1b6aaa882b9175b9b31444ed3c8da10.tar.xz
poezio-50b8a7afe1b6aaa882b9175b9b31444ed3c8da10.zip
fix: add a type ignore to curses vline
The typeshed stubs do not have a correct definition (probably because the python docs themselves do not have it)
-rw-r--r--poezio/windows/misc.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/poezio/windows/misc.py b/poezio/windows/misc.py
index 8739db0c..a621b61d 100644
--- a/poezio/windows/misc.py
+++ b/poezio/windows/misc.py
@@ -22,8 +22,10 @@ class VerticalSeparator(Win):
__slots__ = ()
def rewrite_line(self) -> None:
- self._win.vline(0, 0, curses.ACS_VLINE, self.height,
- to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR))
+ self._win.vline(
+ 0, 0, curses.ACS_VLINE, self.height,
+ to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR)
+ ) # type: ignore
self._refresh()
def refresh(self) -> None: