Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pager > choose OR pager flag to output displayed line numbers upon exit #507

Open
iconoclasthero opened this issue Mar 3, 2024 · 1 comment
Labels
cmd/choose enhancement New feature or request

Comments

@iconoclasthero
Copy link

Is your feature request related to a problem? Please describe.
move from a large listing to a small list to actually chose from.

Describe the solution you'd like
well if gum pager had a flag to output the lines displayed when q is received then i'd be done, e.g., --output.lines.on.exit which would output something useful like 41; 58.
Alternately, if there was some direct integration from in which an option for gum pager existed such that --gum.choose="--choose.option.1 --gum.choose.option.2 --gum.choose.option.3 ..."

Describe alternatives you've considered

@aymanbagabas aymanbagabas added enhancement New feature or request cmd/choose labels Jul 25, 2024
@caarlos0
Copy link
Member

not sure I understand what you need here... you want to return the lines that were on the viewport of gum pager, is that it?

if so, may i ask you use case for it? sounds a bit weird to me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/choose enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants