From f929293fbeecd04d0cedefc0423895983f51b252 Mon Sep 17 00:00:00 2001 From: June Kim Date: Mon, 11 May 2026 12:07:10 -0700 Subject: [PATCH] Show 'No lyrics found' message instead of blank screen When no lyrics are available for the current track, the terminal would previously remain blank, providing no feedback to the user. This change displays a centered "No lyrics found" message using the same styling as error messages. Fixes #55 --- ui/ui.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/ui.go b/ui/ui.go index a94ba07..a2e282d 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -113,7 +113,13 @@ func (m *Model) View() string { ) } if len(m.state.Lines) == 0 { - return "" + return gloss.PlaceVertical( + m.h, gloss.Center, + m.styleCurrent. + Align(gloss.Center). + Width(m.w). + Render("No lyrics found"), + ) } curLine := m.styleCurrent.