You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the README it does not seem this is currently supported - forgive me if it is
It would be nice if choices allowed one to select multiple answers, such as iterating through the list by pressing up+down arrow keys, and pressing space bar to select an item, then enter to proceed. (option 1)
Alternatively (option 2) space bar as well as enter could be used to select items, with an option at the end called "Proceed" or "Done" or whatever, that went space/enter is used on then it proceeds. However, I prefer option 1
Use case for me, in bash for now, is turning the former into the latter:
if confirm "Install Amphetamine?";then
mas install 937984704
fiif confirm "Install HazeOver?";then
mas install 430798174
fiif confirm "Install Magnet?";then
mas install 803453959
fiif confirm "Install Wire?";then
mas install 931134707
fiif confirm "Install XCode?";then
mas install 497799835
fi
items="$(multiselect 'Which would you like to install?''Amphetamine''HazeOver''Magnet''Wire''XCode')"iftest"$items" == *"Amphetamine"*;then
mas install 937984704
fiiftest"$items" == *"HazeOver"*;then
mas install 430798174
fiiftest"$items" == *"Magnet"*;then
mas install 803453959
fiiftest"$items" == *"Wire"*;then
mas install 931134707
fiiftest"$items" == *"XCode"*;then
mas install 497799835
fi
The text was updated successfully, but these errors were encountered:
From the README it does not seem this is currently supported - forgive me if it is
It would be nice if choices allowed one to select multiple answers, such as iterating through the list by pressing up+down arrow keys, and pressing space bar to select an item, then enter to proceed. (option 1)
Alternatively (option 2) space bar as well as enter could be used to select items, with an option at the end called "Proceed" or "Done" or whatever, that went space/enter is used on then it proceeds. However, I prefer option 1
Use case for me, in bash for now, is turning the former into the latter:
The text was updated successfully, but these errors were encountered: