From b2c84055dff5284a36d4bbb3311fd1532f530f56 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 16 Nov 2011 20:42:33 +0100 Subject: Add a vertical separator between the vertical tab list and the rest --- src/windows.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/windows.py b/src/windows.py index 2e2c0fd5..54cf82af 100644 --- a/src/windows.py +++ b/src/windows.py @@ -348,6 +348,9 @@ class VerticalGlobalInfoBar(Win): self.addstr(y if config.get('vertical_tab_list_sort', 'desc') != 'asc' else height - y - 1, 0, "%2d" % tab.nb, to_curses_attr(get_theme().COLOR_VERTICAL_TAB_NUMBER)) self.addstr('.') self.addnstr("%s" % tab.get_name(), width - 4, to_curses_attr(color)) + self._win.attron(to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR)) + self._win.vline(0, width-1, curses.ACS_VLINE, height) + self._win.attroff(to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR)) self._refresh() class InfoWin(Win): -- cgit v1.2.3