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

Add an example to read password #266

Merged
merged 1 commit into from
Aug 15, 2019
Merged

Conversation

gwenn
Copy link
Collaborator

@gwenn gwenn commented Aug 15, 2019

No description provided.

@gwenn gwenn mentioned this pull request Aug 15, 2019
@gwenn gwenn merged commit da88ad2 into kkawakam:master Aug 15, 2019
@gwenn gwenn deleted the read_password branch August 15, 2019 03:26
@madprops
Copy link

Thanks for this. Seems I'm having some problem when I make an editor instance that uses a config:

    let h = MaskingHighlighter {masking: false};
    let mut editor = Editor::<()>::with_config(config);
    editor.set_helper(Some(h));

It complains on Some(h): expected (), found struct structs::MaskingHighlighter

@madprops
Copy link

Oh my bad I was init the editor wrong. Editor::with_config(config); worked.

@madprops
Copy link

Works great, thanks!

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