Skip to content

fix(picker): use index-based item matching in fzf-lua#283

Merged
sudo-tee merged 1 commit intosudo-tee:mainfrom
hermandavid:main
Feb 17, 2026
Merged

fix(picker): use index-based item matching in fzf-lua#283
sudo-tee merged 1 commit intosudo-tee:mainfrom
hermandavid:main

Conversation

@hermandavid
Copy link
Contributor

Selecting, deleting, or renaming child sessions in the fzf-lua picker did nothing, the picker just closed silently.

The issue was in fn_fzf_index which matched selected fzf lines back to items using string comparison. This broke for child sessions due to formatting/whitespace mismatches between what fzf returns and what to_string() produces.

@sudo-tee
Copy link
Owner

@hermandavid

Thanks for the fix :)

As I don't use fzf_lua myself, I test it less frequently.

@sudo-tee sudo-tee merged commit 05747a2 into sudo-tee:main Feb 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants