Ver código fonte

fix(tui): chat editor aesthetics

adamdottv 9 meses atrás
pai
commit
f777347bac
1 arquivos alterados com 5 adições e 0 exclusões
  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).
 		Width(m.width).
 		PaddingTop(1).
 		PaddingTop(1).
 		PaddingBottom(1).
 		PaddingBottom(1).
+		BorderStyle(lipgloss.ThickBorder()).
+		BorderForeground(t.Border()).
+		BorderBackground(t.Background()).
+		BorderLeft(true).
+		BorderRight(true).
 		Render(textarea)
 		Render(textarea)
 
 
 	hint := base(m.getSubmitKeyText()) + muted(" send   ")
 	hint := base(m.getSubmitKeyText()) + muted(" send   ")