dbarenholz / dbarenholz/bubbles

[BUG] Incorrect handling of single-entry enter

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When searching with the searchable picker, and there's only 1 result, but the result is a directory and you're only allowed to select files, then it shows "no files found" immediately, without showing possible other directories to traverse into.

For instance, in the `cmd` directory of another project (tree below) there are clearly 2 folders.
```
cmd
├── service
│   └── main.go
└── setup
└── main.go
```
When in `cmd`'s parent directory, and searching for `cmd`, then pressing `Enter`, I see this:

Image

Which is inaccurate. Manually navigating into the directory does correctly show the folders, e.g.

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.