diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-01 17:06:19 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-01 17:06:19 +0200 |
commit | 30b31b32152d0f9ee4356016a88f75e64aabb632 (patch) | |
tree | a9776017bcc018d659076727e52a140e4b0ae145 /src/windows/info_bar.py | |
parent | 30194a8a9120a19d0b1f862d2b40ce391abdf846 (diff) | |
download | poezio-30b31b32152d0f9ee4356016a88f75e64aabb632.tar.gz poezio-30b31b32152d0f9ee4356016a88f75e64aabb632.tar.bz2 poezio-30b31b32152d0f9ee4356016a88f75e64aabb632.tar.xz poezio-30b31b32152d0f9ee4356016a88f75e64aabb632.zip |
Fix an indentation issue introduced earlier (bar tab displaying only one tab)
Diffstat (limited to 'src/windows/info_bar.py')
-rw-r--r-- | src/windows/info_bar.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/windows/info_bar.py b/src/windows/info_bar.py index 390b7aea..10225d5d 100644 --- a/src/windows/info_bar.py +++ b/src/windows/info_bar.py @@ -53,13 +53,13 @@ class GlobalInfoBar(Win): self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) except: # end of line break - (y, x) = self._win.getyx() - self.addstr(y, x-1, '] ', to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) - (y, x) = self._win.getyx() - remaining_size = self.width - x - self.addnstr(' '*remaining_size, remaining_size, - to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) - self._refresh() + (y, x) = self._win.getyx() + self.addstr(y, x-1, '] ', to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) + (y, x) = self._win.getyx() + remaining_size = self.width - x + self.addnstr(' '*remaining_size, remaining_size, + to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) + self._refresh() class VerticalGlobalInfoBar(Win): def __init__(self, scr): |