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

WIP Add with_default for Password #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cmleinz
Copy link

@cmleinz cmleinz commented Jul 1, 2024

It would be nice to be able to create a password prompt with a default password (perhaps sourced from elsewhere). This PR adds a with_default function to add this ability.

Issues

Currently if selecting PasswordDisplayMode::Masked, the default password will be shown in full in the render prompt. I'll look into this in the next few days but I'm fairly unfamiliar with the codebase so if any maintainers know the short path to fixing this I'd appreciate some pointers 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants