diff options
Diffstat (limited to 'poezio/windows/base_wins.py')
-rw-r--r-- | poezio/windows/base_wins.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index daab504b..fe24ba65 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -7,13 +7,14 @@ the text window, the roster window, etc. A Tab (see the poezio.tabs module) is composed of multiple Windows """ +TAB_WIN = None + import logging log = logging.getLogger(__name__) import curses import string -from poezio import windows from poezio.theming import to_curses_attr, read_tuple FORMAT_CHAR = '\x19' @@ -43,7 +44,7 @@ class Win(object): return self.height, self.width, self.x, self.y = height, width, x, y try: - self._win = windows.TAB_WIN.derwin(height, width, y, x) + self._win = TAB_WIN.derwin(height, width, y, x) except: log.debug('DEBUG: mvwin returned ERR. Please investigate') if self._win is None: |