summaryrefslogtreecommitdiff
path: root/poezio/windows/base_wins.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/base_wins.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/base_wins.py')
-rw-r--r--poezio/windows/base_wins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py
index b54a7b37..52b6c249 100644
--- a/poezio/windows/base_wins.py
+++ b/poezio/windows/base_wins.py
@@ -120,8 +120,8 @@ class Win(object):
self._win.attron(attr_italic)
if (attr_char in string.digits
or attr_char == '-') and attr_char != '':
- color_str = text[next_attr_char + 1:text.find(
- '}', next_attr_char)]
+ color_str = text[next_attr_char +
+ 1:text.find('}', next_attr_char)]
if ',' in color_str:
tup, char = read_tuple(color_str)
self._win.attron(to_curses_attr(tup))