From 2ab2eaf269b1dff5697d9c591325fe7555dca76e Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 9 Jun 2013 17:12:39 +0200 Subject: Lock on one forgotten curses operation --- src/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core.py b/src/core.py index 28154241..f9d7bda2 100644 --- a/src/core.py +++ b/src/core.py @@ -1301,7 +1301,8 @@ class Core(object): # of the screen that the can occupy, and we draw the tab list # on the left remaining space if config.get('enable_vertical_tab_list', 'false') == 'true': - scr = self.stdscr.subwin(0, config.get('vertical_tab_list_size', 20)) + with g_lock: + scr = self.stdscr.subwin(0, config.get('vertical_tab_list_size', 20)) else: scr = self.stdscr tabs.Tab.resize(scr) -- cgit v1.2.3