summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
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)