summaryrefslogtreecommitdiff
path: root/poezio/windows/input_placeholders.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows/input_placeholders.py')
-rw-r--r--poezio/windows/input_placeholders.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/poezio/windows/input_placeholders.py b/poezio/windows/input_placeholders.py
index 3ac478fd..47cfac31 100644
--- a/poezio/windows/input_placeholders.py
+++ b/poezio/windows/input_placeholders.py
@@ -6,7 +6,6 @@ but which are not inputs.
import logging
log = logging.getLogger(__name__)
-
from poezio.windows.base_wins import Win
from poezio.theming import get_theme, to_curses_attr
@@ -17,6 +16,7 @@ class HelpText(Win):
Usually used to replace an Input when the tab is in
command mode.
"""
+
def __init__(self, text=''):
Win.__init__(self)
self.txt = text
@@ -26,7 +26,8 @@ class HelpText(Win):
if txt:
self.txt = txt
self._win.erase()
- self.addstr(0, 0, self.txt[:self.width-1], to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
+ self.addstr(0, 0, self.txt[:self.width - 1],
+ to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
self.finish_line(get_theme().COLOR_INFORMATION_BAR)
self._refresh()