X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=client%2Fwindow_management.py;h=610764b5402bf69fd83b57c5ad94243acf64b616;hb=fad0798fc0212ad2b4b93443f7c8de970f3d760d;hp=141cc656b6e92fa81427b704f9c87e006eabd570;hpb=9bcbd39430580783f9ec32a30d4998fca7309a20;p=plomrogue
diff --git a/client/window_management.py b/client/window_management.py
index 141cc65..610764b 100644
--- a/client/window_management.py
+++ b/client/window_management.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
import curses
import types
@@ -90,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)