@@ -141,7 +141,7 @@ func renderItem(t ListIemStyles, title string, info string, focused bool, width
141141 titleWidth := lipgloss.Width(title)
142142 gap := strings.Repeat(" ", max(0, lineWidth-titleWidth-infoWidth))
143143 content := title
144− if matches := len(m.MatchedIndexes); matches > 0 {
144+ if m != nil && len(m.MatchedIndexes) > 0 {
145145 var lastPos int
146146 parts := make([]string, 0)
147147 ranges := matchedRanges(m.MatchedIndexes)