Skip to content

(fix): select renderable buffer clear when options are removed#850

Merged
simonklee merged 4 commits intoanomalyco:mainfrom
viralcodex:renderable-clear-fix
Mar 22, 2026
Merged

(fix): select renderable buffer clear when options are removed#850
simonklee merged 4 commits intoanomalyco:mainfrom
viralcodex:renderable-clear-fix

Conversation

@viralcodex
Copy link
Copy Markdown
Contributor

@viralcodex viralcodex commented Mar 21, 2026

Hi @kommander @simonklee ,

This issue was that we were returning early if there were no options without clearing the buffer first.
The issue is in the Select.ts but it is properly handled in TabSelect.ts

opentui8.mov

Please let me know if this is acceptable & what needs to change if any.

I have added a regression test as well for this issue.

Thanks

Fixes: #834

@simonklee simonklee merged commit fdc3bea into anomalyco:main Mar 22, 2026
12 checks passed
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.

SelectRenderable: setting options to empty array doesn't clear the rendered content

2 participants