summaryrefslogtreecommitdiffhomepage
path: root/packages/tui
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-06-26 12:44:44 -0500
committeradamdottv <[email protected]>2025-06-26 12:44:44 -0500
commitf777347bac6e610b8b5cf2428131fb40aee254df (patch)
tree0bf8c636fbdafaf3ca51405aac4664c541cbe0ef /packages/tui
parent17c8b914df57541df297e137e419313b9d9a7df6 (diff)
downloadopencode-f777347bac6e610b8b5cf2428131fb40aee254df.tar.gz
opencode-f777347bac6e610b8b5cf2428131fb40aee254df.zip
fix(tui): chat editor aesthetics
Diffstat (limited to 'packages/tui')
-rw-r--r--packages/tui/internal/components/chat/editor.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go
index 3ae50d00d..72357941d 100644
--- a/packages/tui/internal/components/chat/editor.go
+++ b/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 ")