summaryrefslogtreecommitdiff
path: root/poezio/windows/list.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-06-29 21:18:09 +0200
committermathieui <mathieui@mathieui.net>2018-06-29 21:34:23 +0200
commit28ce49dcaaa1f7e958e09aff2af7d1e956796ad9 (patch)
treec1ffc7d4f9909080abd6dd2875a66f948879f00f /poezio/windows/list.py
parent39695ba42d9183584edb6c6b93b02b04be67f126 (diff)
downloadpoezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.gz
poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.bz2
poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.xz
poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.zip
Update poezio for the new tabs module
Diffstat (limited to 'poezio/windows/list.py')
-rw-r--r--poezio/windows/list.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/poezio/windows/list.py b/poezio/windows/list.py
index 1f51e88f..26cb1e5f 100644
--- a/poezio/windows/list.py
+++ b/poezio/windows/list.py
@@ -101,9 +101,9 @@ class ListWin(Win):
if not txt:
continue
if line is self.lines[self._selected_row]:
- self.addstr(y, x, txt[:size],
- to_curses_attr(
- get_theme().COLOR_INFORMATION_BAR))
+ self.addstr(
+ y, x, txt[:size],
+ to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
else:
self.addstr(y, x, txt[:size])
x += size
@@ -192,9 +192,9 @@ class ColumnHeaderWin(Win):
size = self._columns_sizes[col]
txt += ' ' * (size - len(txt))
if col in self._column_sel:
- self.addstr(0, x, txt,
- to_curses_attr(
- get_theme().COLOR_COLUMN_HEADER_SEL))
+ self.addstr(
+ 0, x, txt,
+ to_curses_attr(get_theme().COLOR_COLUMN_HEADER_SEL))
else:
self.addstr(0, x, txt,
to_curses_attr(get_theme().COLOR_COLUMN_HEADER))