The open source coding agent.
TypeScript
chore: cleanup
adamdottv3944930fc04a
diff --git a/internal/tui/components/chat/editor.go b/internal/tui/components/chat/editor.goindex 0b2c9abb888..4d5ba01282a 100644--- a/internal/tui/components/chat/editor.go+++ b/internal/tui/components/chat/editor.go@@ -243,7 +243,6 @@ func (m *editorCmp) SetSize(width, height int) tea.Cmd {m.height = heightm.textarea.SetWidth(width - 3) // account for the prompt and padding rightm.textarea.SetHeight(height)- m.textarea.SetWidth(width)return nil}diff --git a/internal/tui/components/chat/list.go b/internal/tui/components/chat/messages.gosimilarity index 100%rename from internal/tui/components/chat/list.gorename to internal/tui/components/chat/messages.godiff --git a/internal/tui/layout/container.go b/internal/tui/layout/container.goindex 08b10fdd6b2..b5bdca20ab0 100644--- a/internal/tui/layout/container.go+++ b/internal/tui/layout/container.go@@ -11,16 +11,16 @@ type Container interface {tea.ModelSizeableBindings- Focus() // Add focus method- Blur() // Add blur method+ Focus()+ Blur()}+type container struct {width intheight intcontent tea.Model- // Style optionspaddingTop intpaddingRight intpaddingBottom int@@ -32,7 +32,7 @@ type container struct {borderLeft boolborderStyle lipgloss.Border- focused bool // Track focus state+ focused bool}func (c *container) Init() tea.Cmd {@@ -152,16 +152,13 @@ func (c *container) Blur() {type ContainerOption func(*container)func NewContainer(content tea.Model, options ...ContainerOption) Container {-c := &container{content: content,borderStyle: lipgloss.NormalBorder(),}-for _, option := range options {option(c)}-return c}