From cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 30 Nov 2011 23:25:22 +0100 Subject: show_tab_names option lets you display the name of the tabs in the horizontal bar --- src/windows.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3