From 3d879a6677f665b10fde3c252f32295dcff22c0f 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(-) 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