diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-30 23:25:22 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-30 23:26:22 +0100 |
commit | cb32f6d30a1974f05b5378acc6fe46fcf0d53f4d (patch) | |
tree | 633cf0ce8fccadef97f2ec22ce97af0233db2e7f /src | |
parent | 1e8383c3e3ba717b45d69a978361bbae34f8fd39 (diff) | |
download | poezio-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
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.py | 2 |
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 |