bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.25k stars 88 forks source link

[Request] support pagination for select #118

Closed sonyarianto closed 11 months ago

sonyarianto commented 1 year ago

Is your feature request related to a problem? Please describe. I am using select like this.

const selectedMenuValue = await select({
    message: "Options",
    options: options,
  });

my options is quite big, I know this is not good idea

Describe the solution you'd like Is there any pagination feature to auto split the options so in the options will be automatically added such as "More options" so user can navigate the large options.

sonyarianto commented 11 months ago

wow this is nice, will implement this on my project, thanks Clack team

cpreston321 commented 11 months ago

@sonyarianto This will be included in the next release.

Thanks, CP