Fix an indentation issue introduced earlier (bar tab displaying only one tab)
This commit is contained in:
parent
30194a8a91
commit
30b31b3215
1 changed files with 7 additions and 7 deletions
|
@ -53,13 +53,13 @@ class GlobalInfoBar(Win):
|
||||||
self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
||||||
except: # end of line
|
except: # end of line
|
||||||
break
|
break
|
||||||
(y, x) = self._win.getyx()
|
(y, x) = self._win.getyx()
|
||||||
self.addstr(y, x-1, '] ', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
self.addstr(y, x-1, '] ', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
||||||
(y, x) = self._win.getyx()
|
(y, x) = self._win.getyx()
|
||||||
remaining_size = self.width - x
|
remaining_size = self.width - x
|
||||||
self.addnstr(' '*remaining_size, remaining_size,
|
self.addnstr(' '*remaining_size, remaining_size,
|
||||||
to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
||||||
self._refresh()
|
self._refresh()
|
||||||
|
|
||||||
class VerticalGlobalInfoBar(Win):
|
class VerticalGlobalInfoBar(Win):
|
||||||
def __init__(self, scr):
|
def __init__(self, scr):
|
||||||
|
|
Loading…
Reference in a new issue