summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-16 20:42:33 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-16 20:42:33 +0100
commitb2c84055dff5284a36d4bbb3311fd1532f530f56 (patch)
tree62863dbf0b401e6ba6851cc5b80965325d162ae9 /src/windows.py
parent4d8f7ca3fe3d0e05ebf23513403abd6b74508474 (diff)
downloadpoezio-b2c84055dff5284a36d4bbb3311fd1532f530f56.tar.gz
poezio-b2c84055dff5284a36d4bbb3311fd1532f530f56.tar.bz2
poezio-b2c84055dff5284a36d4bbb3311fd1532f530f56.tar.xz
poezio-b2c84055dff5284a36d4bbb3311fd1532f530f56.zip
Add a vertical separator between the vertical tab list and the rest
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 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):