Skip to content

fix: avoid reading buffer.buffers in SelectionBox paint hook for OpenTUI 0.6 - #27

Open
simonklee wants to merge 1 commit into
St1ggy:mainfrom
simonklee:opentui-0-6
Open

simonklee wants to merge 1 commit into
St1ggy:mainfrom
simonklee:opentui-0-6

Conversation

@simonklee

Copy link
Copy Markdown

OpenTUI 0.6 paint hooks (renderBefore / renderAfter) receive a recording buffer and throw if buffer.buffers is read. Resolve the rounded corner cap backdrop color from ancestor renderables instead, and use buffer.withBuffers(...) in tests when available.

automated pr implemented with OpenCode on behalf of @simonklee

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.

1 participant