wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-13 08:30:54 -05:00
parent 0caf25adee
commit d7d5fc39fb
4 changed files with 5 additions and 7 deletions

View File

@@ -6,7 +6,6 @@ import (
"github.com/charmbracelet/lipgloss/v2"
"github.com/sst/opencode/internal/layout"
"github.com/sst/opencode/internal/styles"
"github.com/sst/opencode/internal/theme"
)
type SimpleListItem interface {
@@ -117,7 +116,6 @@ func (c *simpleListComponent[T]) SetSelectedIndex(idx int) {
}
func (c *simpleListComponent[T]) View() string {
t := theme.CurrentTheme()
baseStyle := styles.BaseStyle()
items := c.items