Textual's ContentSwitcher expects regular Widget/Container children, not Screen subclasses. Screen's on_mount fires for all children at once regardless of visibility, so demo workers for all 5 modes started simultaneously and competed for the bridge. Container children get proper on_show/on_hide from ContentSwitcher's visibility toggling — only the active panel's worker runs. |
||
|---|---|---|
| .. | ||
| src/skywalker_tui | ||
| pyproject.toml | ||
| uv.lock | ||