summaryrefslogtreecommitdiff
path: root/internal/keepass/fzf.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/keepass/fzf.go')
-rw-r--r--internal/keepass/fzf.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/keepass/fzf.go b/internal/keepass/fzf.go
index a30e769..4bf1cf3 100644
--- a/internal/keepass/fzf.go
+++ b/internal/keepass/fzf.go
@@ -20,6 +20,12 @@ func (b *Backend) Fzf(ctx context.Context) (string, error) {
// FzfInteractive launches fzf with action key bindings and returns the
// selected description plus the chosen action.
+//
+// Not covered by automated tests: requires an interactive TTY and the fzf
+// binary to be present — both are unavailable in CI. Coverage is provided by
+// manual testing and by the unit tests for buildPickerEntries and
+// parsePickerAction, which exercise the data-preparation and key-mapping logic
+// that surrounds the fzf call.
func (b *Backend) FzfInteractive(ctx context.Context) (store.PickerResult, error) {
var indexes store.IndexSlice
if err := b.WalkIndexes(ctx, "", func(idx *store.Index) error {