Browse Source

fix(tui): chat editor aesthetics

adamdottv 8 months ago
parent
commit
16ee8ee379
1 changed files with 5 additions and 0 deletions
  1. 5 0
      packages/tui/internal/components/chat/editor.go

+ 5 - 0
packages/tui/internal/components/chat/editor.go

@@ -124,6 +124,11 @@ func (m *editorComponent) Content() string {
 		Width(m.width).
 		PaddingTop(1).
 		PaddingBottom(1).
+		BorderStyle(lipgloss.ThickBorder()).
+		BorderForeground(t.Border()).
+		BorderBackground(t.Background()).
+		BorderLeft(true).
+		BorderRight(true).
 		Render(textarea)
 
 	hint := base(m.getSubmitKeyText()) + muted(" send   ")