charmbracelet / charmbracelet/bubbles

list: FilterValue into ItemDelegate

Open
#120 1 comment 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Go
Stars
8.9k
Forks
457
Avg merge
1d 18h
Merged PRs (30d)
5

Description

I've used the list for only a couple of occations now, but I've come to think that using the list would be more convenient if FilterValue were in the ItemDelegate (or some delegate) instead of in list.Item. Currently we have to copy the item array and wrap each item into a type that implements FilterValue, unless it is possible to change the client's item type directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.