Curses operations must operate within the lock
This commit is contained in:
parent
122d700ac3
commit
2f8f4eccb8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue