summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index 0f5371b3..f2cec0bd 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -167,6 +167,9 @@ class GlobalInfoBar(Win):
sorted_tabs = sorted(tabs, key=comp)
for tab in sorted_tabs:
color = tab.get_color_state()
+ if config.get('show_inactive_tabs', 'true') == 'false' and\
+ color == theme.COLOR_TAB_NORMAL:
+ continue
try:
self.addstr("%s" % str(tab.nb), curses.color_pair(color))
self.addstr("|", curses.color_pair(theme.COLOR_INFORMATION_BAR))