diff options
| author | adamdottv <[email protected]> | 2025-05-12 10:45:03 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-12 10:45:03 -0500 |
| commit | 8cbfc581b5243aece96d32fc97c72ada5df3ae54 (patch) | |
| tree | f7a6c45d6ea3f767526e37f0104f020da9481ffe /internal/tui/layout | |
| parent | 4bb350a09ba5c88a830f4ab07fcc99b4febda0dc (diff) | |
| download | opencode-8cbfc581b5243aece96d32fc97c72ada5df3ae54.tar.gz opencode-8cbfc581b5243aece96d32fc97c72ada5df3ae54.zip | |
chore: cleanup
Diffstat (limited to 'internal/tui/layout')
| -rw-r--r-- | internal/tui/layout/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/layout/container.go b/internal/tui/layout/container.go index 75c0fe110..f960bd5f3 100644 --- a/internal/tui/layout/container.go +++ b/internal/tui/layout/container.go @@ -31,7 +31,7 @@ type container struct { borderBottom bool borderLeft bool borderStyle lipgloss.Border - + focused bool // Track focus state } @@ -69,7 +69,7 @@ func (c *container) View() string { width-- } style = style.Border(c.borderStyle, c.borderTop, c.borderRight, c.borderBottom, c.borderLeft) - + // Use primary color for border if focused if c.focused { style = style.BorderBackground(t.Background()).BorderForeground(t.Primary()) |
