summaryrefslogtreecommitdiff
path: root/internal/client/ui/core
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core')
-rw-r--r--internal/client/ui/core/chat/chat.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go
index 80ccacc..960d563 100644
--- a/internal/client/ui/core/chat/chat.go
+++ b/internal/client/ui/core/chat/chat.go
@@ -889,6 +889,11 @@ func (m *Model) renderFrequencyName() string {
frequency := state.State.Frequencies[*networkId][m.frequencyIndex]
color := lipgloss.Color(frequency.HexColor)
- return FrequencyNameStyle.Width(m.width).Foreground(color).
- Render(frequency.Name) + "\n"
+ frequencyNameStyle := FrequencyNameStyle.
+ Width(m.width).Foreground(color)
+ if m.focus {
+ frequencyNameStyle = frequencyNameStyle.BorderForeground(colors.Focus)
+ }
+
+ return frequencyNameStyle.Render(frequency.Name) + "\n"
}