diff options
Diffstat (limited to 'poezio/windows/misc.py')
-rw-r--r-- | poezio/windows/misc.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/poezio/windows/misc.py b/poezio/windows/misc.py index 6c04b814..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: @@ -37,7 +39,7 @@ class SimpleTextWin(Win): def __init__(self, text) -> None: Win.__init__(self) self._text = text - self.built_lines = [] # type: List[str] + self.built_lines: List[str] = [] def rebuild_text(self) -> None: """ |