Skip to content

Add TUI dirty-flag to skip unconditional 250ms redraws #892

@bug-ops

Description

@bug-ops

Context

tui_loop() calls terminal.draw() every 250ms tick including idle. Widget rendering and diff still consume CPU.

Solution

Add dirty: bool flag set by event handlers, skip draw when !dirty and no agent events.

Epic: #862 | Effort: S | Crate: zeph-tui

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions