Lock on one forgotten curses operation

This commit is contained in:
mathieui 2013-06-09 17:12:39 +02:00
parent d5ae6966f9
commit 2ab2eaf269

View file

@ -1301,7 +1301,8 @@ class Core(object):
# of the screen that the can occupy, and we draw the tab list # of the screen that the can occupy, and we draw the tab list
# on the left remaining space # on the left remaining space
if config.get('enable_vertical_tab_list', 'false') == 'true': 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: else:
scr = self.stdscr scr = self.stdscr
tabs.Tab.resize(scr) tabs.Tab.resize(scr)