-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Allow Confirmation Prompt Styling #1210
Allow Confirmation Prompt Styling #1210
Conversation
@microsoft-github-policy-service agree |
@patriksvensson curious about your thoughts on this one and if there are any issues with the proposed changes here. 😄 |
This will allow to slightly simplify the implementation of spectreconsole#1210 See also related discussion on spectreconsole#1349 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a good addition. I have proposed some changes that will be applicable once #1359 is merged.
This will allow to slightly simplify the implementation of #1210 See also related discussion on #1349 (comment)
Co-authored-by: Cédric Luthi <[email protected]>
Co-authored-by: Cédric Luthi <[email protected]>
Co-authored-by: Cédric Luthi <[email protected]>
Co-authored-by: Cédric Luthi <[email protected]>
Co-authored-by: Cédric Luthi <[email protected]>
Co-authored-by: Cédric Luthi <[email protected]>
@0xced applied your suggestions. Thanks for the review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
Allows styling of
ConfirmationPrompt
in the same way thatTextPrompt
can be styled for choices and default values.If no style is provided, fallback to the same
"blue"
and"green"
thatTextPrompt
uses is done.Addresses #1209.