diff options
Diffstat (limited to 'poezio/windows/inputs.py')
-rw-r--r-- | poezio/windows/inputs.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index 48f60493..6956f4f6 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -532,9 +532,8 @@ class Input(Win): (_, x) = self._win.getyx() size = self.width - x self.addnstr(' ' * size, size, to_curses_attr(self.color)) - self.addstr(0, - poopt.wcswidth(displayed_text[:self.pos - self.view_pos]), - '') + self.addstr(0, poopt.wcswidth( + displayed_text[:self.pos - self.view_pos]), '') if self.color: self._win.attroff(to_curses_attr(self.color)) curses.curs_set(1) |