diff options
Diffstat (limited to 'packages/tui/internal/components')
| -rw-r--r-- | packages/tui/internal/components/chat/editor.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index 2ed2a9079..d5f6facab 100644 --- a/packages/tui/internal/components/chat/editor.go +++ b/packages/tui/internal/components/chat/editor.go @@ -242,13 +242,17 @@ func (m *editorComponent) Content(width int) string { prompt, m.textarea.View(), ) + borderForeground := t.Border() + if m.app.IsLeaderSequence { + borderForeground = t.Accent() + } textarea = styles.NewStyle(). Background(t.BackgroundElement()). Width(width). PaddingTop(1). PaddingBottom(1). BorderStyle(lipgloss.ThickBorder()). - BorderForeground(t.Border()). + BorderForeground(borderForeground). BorderBackground(t.Background()). BorderLeft(true). BorderRight(true). |
