home · contact · privacy
Client: Fix bugs in plugin infrastructure.
[plomrogue] / client / window_management.py
index 9a50b296d22c7165ee9d757008801462e9d64090..610764b5402bf69fd83b57c5ad94243acf64b616 100644 (file)
@@ -95,6 +95,8 @@ def set_windows():
     curses.endwin()
     stdscr = curses.initscr()
     screen_size = stdscr.getmaxyx()
+    global windows
+    windows = []
     for config in windows_config:
         size = size_window(config["config"])
         window = Window(config["title"], config["func"], size)