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:
904f0db
)
Fix SIGWINCH handled during print() triggering "RuntimeError: reentrant call inside...
master
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 27 Nov 2025 16:19:15 +0000
(17:19 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 27 Nov 2025 16:19:15 +0000
(17:19 +0100)
src/ircplom/tui_base.py
patch
|
blob
|
history
diff --git
a/src/ircplom/tui_base.py
b/src/ircplom/tui_base.py
index 7c55ebf9761f1ef4404e5f44081a19b422fc5418..2181a8b5d8e37ecd78c1d87474cdc1201ee66eda 100644
(file)
--- a/
src/ircplom/tui_base.py
+++ b/
src/ircplom/tui_base.py
@@
-680,7
+680,8
@@
class BaseTui(QueueMixin):
windows=self._windows)
self._new_window()
self._set_screen()
- signal(SIGWINCH, lambda *_: self._set_screen())
+ signal(SIGWINCH,
+ lambda *_: self._put(TuiEvent.affector('_set_screen')))
def _log_target_wins(self, **_) -> Sequence[Window]:
# separated to serve as hook for subclass window selection