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:
77da28d
)
Fix accidental doubling of :server, :raw window references in .windows.
master
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 7 Aug 2025 13:58:54 +0000
(15:58 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 7 Aug 2025 13:58:54 +0000
(15:58 +0200)
ircplom/client_tui.py
patch
|
blob
|
history
diff --git
a/ircplom/client_tui.py
b/ircplom/client_tui.py
index acb5b463eba536b1c3d031dbadabaab6576e73e9..9400570aa1f91c9b8a3d83e3eaff9f1add1c7ec9 100644
(file)
--- a/
ircplom/client_tui.py
+++ b/
ircplom/client_tui.py
@@
-88,10
+88,10
@@
class _ClientWindowsManager:
nickname: str = '?'
def __init__(self, new_window: Callable) -> None:
- self.windows = []
+ self.windows
: list[_ClientWindow]
= []
self._tui_new_window = new_window
- self.windows += [self._new_window(stream)
- for stream in (STREAM_SERVER, STREAM_RAW)]
+ for stream in (STREAM_SERVER, STREAM_RAW):
+ self._new_window(stream)
def _if_privmsg_update_prefix(self, win: _ClientWindow) -> None:
if isinstance(win, _PrivmsgWindow):