Skip to content

chore: bump @opentui/core to fix render loop stall (opentui#1279) - #37805

Closed
AH64-dll wants to merge 1 commit into
anomalyco:devfrom
AH64-dll:fix/update-opentui-core
Closed

AH64-dll wants to merge 1 commit into
anomalyco:devfrom
AH64-dll:fix/update-opentui-core

Conversation

@AH64-dll

Copy link
Copy Markdown

What

Bumps @opentui/core (and related @opentui/keymap, @opentui/solid) from 0.4.5 to the fix commit that resolves the render loop race condition.

Root cause

The render loop in CliRenderer.renderer.ts has a race condition in loop()'s finally block: when a requestRender() call arrives between the scheduling decision and this.rendering = false, the immediateRerenderRequested flag is set but never acted upon because the finally block doesn't re-check it. This causes the render loop to silently stall.

See the full analysis in opentui PR anomalyco/opentui#1279

Related

Fixes #37803 (TUI goes black when agent starts working)

Updates @opentui/core to include the fix for the render loop race condition
where immediateRerenderRequested could be set between the scheduling decision
and the finally block, causing the render loop to silently stall.

See: anomalyco/opentui#1279
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 19, 2026
@github-actions github-actions Bot closed this Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI screen goes completely black when agent starts working (render loop silently stalls)

1 participant