summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-30 23:25:22 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-30 23:26:22 +0100
commitcb32f6d30a1974f05b5378acc6fe46fcf0d53f4d (patch)
tree633cf0ce8fccadef97f2ec22ce97af0233db2e7f
parent1e8383c3e3ba717b45d69a978361bbae34f8fd39 (diff)
downloadpoezio-cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d.tar.gz
poezio-cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d.tar.bz2
poezio-cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d.tar.xz
poezio-cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d.zip
show_tab_names option lets you display the name of the tabs in the horizontal bar
-rw-r--r--src/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index f2ffc8a7..a13efdf5 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -303,6 +303,8 @@ class GlobalInfoBar(Win):
continue
try:
self.addstr("%s" % str(tab.nb), to_curses_attr(color))
+ if config.get('show_tab_names', 'false') == 'true':
+ self.addstr(" %s" % str(tab.get_name()), to_curses_attr(color))
self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
except: # end of line
break