From: Christian Heller Date: Wed, 6 Aug 2025 23:44:52 +0000 (+0200) Subject: Fix erroneous sharing of .windows between _ClientWindowsManagers. X-Git-Url: https://plomlompom.com/repos/booking/static/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/condition_titles?a=commitdiff_plain;p=ircplom Fix erroneous sharing of .windows between _ClientWindowsManagers. --- diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index 294ea47..9765ac3 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -86,9 +86,9 @@ class _PrivmsgWindow(_ClientWindow): class _ClientWindowsManager: nick_confirmed: bool = False nickname: str = '?' - windows: list[_ClientWindow] = [] def __init__(self, new_window: Callable) -> None: + self.windows = [] self._tui_new_window = new_window self.windows += [self._new_window(stream) for stream in (STREAM_SERVER, STREAM_RAW)]