aisk / pick

create curses based interactive selection list in the terminal
MIT License
729 stars 63 forks source link

Change list to sequence for Picker.options #72

Closed eggsontoast1672 closed 2 years ago

eggsontoast1672 commented 2 years ago

I was using pick for a personal project and I had a tuple of items that I wanted to pass to the options parameter of the pick function, but my type checker started throwing errors that I could not pass a tuple to a parameter of type list. This is just a simple fix so that any type that supports len and getitem can be passed.

wong2 commented 2 years ago

Nice

wong2 commented 2 years ago

Released v1.5.0