choose with --ordered and --selected doesn't retain the order of the given selected items #1014
potentcocktail
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if the result of gum choose would retain the order of the items given in the --selected option. For example,
Actual:
$ gum choose --ordered --no-limit --selected=two,one,three one two three#<just press Enter>onethreetwoDesired:
$ gum choose --ordered --no-limit --selected=two,one,three one two three#<just press Enter>twoonethreeThis would make my work a lot easier.
Also, why are the options sorted by default? Can we get them to retain the order as given on the command line?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions