aisk / pick

create curses based interactive selection list in the terminal
MIT License
721 stars 60 forks source link

use textwrap to get description lines #128

Closed iamalisalehi closed 3 months ago

iamalisalehi commented 3 months ago

Hi,

This commit removes a function and replaces it with a already existing function from the textwrap library.

Not only it reduces the written code, it makes it easier to later add feature request in issue #112 (I will add a pull request for that one later). Although it adds a new dependency.