summaryrefslogtreecommitdiff
path: root/poezio/windows/inputs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-01-13 15:33:19 +0100
committermathieui <mathieui@mathieui.net>2018-01-13 15:33:19 +0100
commit12ede4d3019a611b3b58d245d65c52bc01f37046 (patch)
treec723738a7d266fdabea15b1ebcd17fec7cb648f1 /poezio/windows/inputs.py
parent6fe2f208337db898d370d7a2374b416d998b5b5f (diff)
downloadpoezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.gz
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.bz2
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.xz
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.zip
yapf -ir
Diffstat (limited to 'poezio/windows/inputs.py')
-rw-r--r--poezio/windows/inputs.py5
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)