home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a8357
)
Fix erroneous sharing of .windows between _ClientWindowsManagers.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 6 Aug 2025 23:44:52 +0000
(
01:44
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 6 Aug 2025 23:44:52 +0000
(
01:44
+0200)
ircplom/client_tui.py
patch
|
blob
|
history
diff --git
a/ircplom/client_tui.py
b/ircplom/client_tui.py
index 294ea47017c09dd8918eff1ec509798cc12491ed..9765ac349f235e5a069342632e11748af042a506 100644
(file)
--- 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)]