charmbracelet / gum

A tool for glamorous shell scripts 🎀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

iconoclasthero opened this issue · comments

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