From 2f8f4eccb8fe9bc8b34f47c80c9e963866f21628 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 28 Nov 2011 16:46:20 +0100 Subject: Curses operations must operate within the lock --- src/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/windows.py b/src/windows.py index 81153239..80a8bbb1 100644 --- a/src/windows.py +++ b/src/windows.py @@ -660,8 +660,8 @@ class TextWin(Win): lines = self.built_lines[-self.height:] else: lines = self.built_lines[-self.height-self.pos:-self.pos] - self._win.move(0, 0) with g_lock: + self._win.move(0, 0) self._win.erase() for y, line in enumerate(lines): if line: -- cgit v1.2.3