From 47bbbdb05e802a0acbff10cd66f0174c6fcb9feb Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Sun, 29 Mar 2026 13:43:21 -0700 Subject: [PATCH] Restore search path context helper --- main.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.go b/main.go index fe92c51..7c4a3cb 100644 --- a/main.go +++ b/main.go @@ -321,6 +321,14 @@ func (u *ui) filteredTitles() []string { return titles } +func (u *ui) visiblePathContexts() []string { + paths := make([]string, 0, len(u.visible)) + for _, item := range u.visible { + paths = append(paths, u.state.SearchPathContext(item)) + } + return paths +} + func (u *ui) selectedEntry() (entry, bool) { for _, item := range u.visible { if item.ID == u.state.SelectedEntryID {