INNER CODE UNIT · Python

show_todos

ApodexAI/FrontierAgent · apodex/tui/app.py:672

    def show_todos(self, items: list, *, force: bool = False) -> None:
        self.todos_pane.show_todos(items, force=force)
        # The board is a Static inside the scroll box, so its content changes
        # through ``update()`` — there is no mount to hook, and the box has to be
        # told to re-follow the newest task itself.
        self.todos_box.follow_tail()

    def clear_todos(self) -> None:
        self.todos_pane.clear()
        self.todos_box.follow_tail()

    def apply_task_board_operation(self, name: str, args: dict) -> None:
        self.todos_pane.apply_task_board_operation(name, args)
        self.todos_box.follow_tail()

    async def on_render(self, message: Render) -> None:
        """Apply one queued UI mutation, in order (see messages.Render)."""
        try:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…