diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-28 16:46:20 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-28 16:48:02 +0100 |
commit | 2f8f4eccb8fe9bc8b34f47c80c9e963866f21628 (patch) | |
tree | 086472ac921ed35d3b5e730da4e6c7174aecb8e1 | |
parent | 122d700ac3584eb2c93c0963b2c3ba078f9279d5 (diff) | |
download | poezio-2f8f4eccb8fe9bc8b34f47c80c9e963866f21628.tar.gz poezio-2f8f4eccb8fe9bc8b34f47c80c9e963866f21628.tar.bz2 poezio-2f8f4eccb8fe9bc8b34f47c80c9e963866f21628.tar.xz poezio-2f8f4eccb8fe9bc8b34f47c80c9e963866f21628.zip |
Curses operations must operate within the lock
-rw-r--r-- | src/windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |