INNER CODE UNIT · Python
WorkerScreen
VisionForge-OU/foreman · src/foreman/tui/app.py:162
class WorkerScreen(Screen):
BINDINGS = [
Binding("escape", "app.pop_screen", "Back"),
Binding("k", "kill", "Kill worker"),
Binding("tab", "next_worker", "Next worker"),
]
CSS = """
#wlist { width: 30; border-right: solid $accent; }
#wlog { height: 1fr; }
"""
def __init__(self):
super().__init__()
self.selected: Optional[str] = None
def compose(self) -> ComposeResult:
yield Header()
with Horizontal():