chore: consolidate chat page into tui.go
This commit is contained in:
parent
b5a4439704
commit
a5da5127fa
17 changed files with 236 additions and 372 deletions
|
|
@ -6,7 +6,6 @@ import (
|
|||
tea "github.com/charmbracelet/bubbletea/v2"
|
||||
"github.com/charmbracelet/lipgloss/v2"
|
||||
"github.com/sst/opencode/internal/components/list"
|
||||
"github.com/sst/opencode/internal/layout"
|
||||
"github.com/sst/opencode/internal/styles"
|
||||
"github.com/sst/opencode/internal/theme"
|
||||
"github.com/sst/opencode/internal/util"
|
||||
|
|
@ -76,7 +75,8 @@ type CompletionDialogCompleteItemMsg struct {
|
|||
type CompletionDialogCloseMsg struct{}
|
||||
|
||||
type CompletionDialog interface {
|
||||
layout.ModelWithView
|
||||
tea.Model
|
||||
tea.ViewModel
|
||||
SetWidth(width int)
|
||||
IsEmpty() bool
|
||||
SetProvider(provider CompletionProvider)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue