[PR #359] [MERGED] fix(tab-select): clears current frame buffer if tab options length is zero #478

Closed
opened 2026-03-02 23:46:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/359
Author: @eric-k-chu
Created: 11/29/2025
Status: Merged
Merged: 11/30/2025
Merged by: @kommander

Base: mainHead: patch-1


📝 Commits (1)

  • e898ea3 fix(tab-select): clears current frame if tab options length is zero

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/core/src/renderables/TabSelect.ts (+2 -2)

📄 Description

When dynamically setting options, if the updated options becomes empty, the current frame would still show the old options.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/359 **Author:** [@eric-k-chu](https://github.com/eric-k-chu) **Created:** 11/29/2025 **Status:** ✅ Merged **Merged:** 11/30/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`e898ea3`](https://github.com/anomalyco/opentui/commit/e898ea30e4eb7f74b41335d008849ae4e07a946c) fix(tab-select): clears current frame if tab options length is zero ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/TabSelect.ts` (+2 -2) </details> ### 📄 Description When dynamically setting options, if the updated options becomes empty, the current frame would still show the old options. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#478
No description provided.