Updated selection formatting in list_delegate.go
This commit is contained in:
parent
ebf5f5f970
commit
ea8c90502f
@ -19,8 +19,8 @@ func (d trackListDelegate) Render(w io.Writer, m list.Model, index int, listItem
|
|||||||
f := t.fullName()
|
f := t.fullName()
|
||||||
|
|
||||||
if m.Index() == index {
|
if m.Index() == index {
|
||||||
li := lipgloss.NewStyle().Bold(true).Render(f)
|
li := lipgloss.NewStyle().Bold(true).Render(fmt.Sprintf("[>] %s", f))
|
||||||
fmt.Fprintf(w, fmt.Sprintf("[>] %s", li))
|
fmt.Fprintf(w, li)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user