The open source coding agent.
TypeScript
wip: refactoring tui
adamdottv1031bceef702
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.goindex ad7d140a6cc..8d977f5e054 100644--- a/packages/tui/internal/components/chat/editor.go+++ b/packages/tui/internal/components/chat/editor.go@@ -271,8 +271,6 @@ func (m *editorComponent) View() string {)textarea = styles.BaseStyle().Width(m.width).- PaddingTop(1).- PaddingBottom(1).Background(t.BackgroundElement()).Border(lipgloss.ThickBorder(), false, true).BorderForeground(t.BorderActive()).@@ -310,7 +308,7 @@ func (m *editorComponent) SetSize(width, height int) tea.Cmd {m.width = widthm.height = heightm.textarea.SetWidth(width - 5) // account for the prompt and padding right- m.textarea.SetHeight(height - 3) // account for info underneath+ m.textarea.SetHeight(height - 2) // account for info underneathreturn nil}