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

"external_print" Functionality #235

Open
plucia-mitre opened this issue Mar 18, 2024 · 0 comments
Open

"external_print" Functionality #235

plucia-mitre opened this issue Mar 18, 2024 · 0 comments

Comments

@plucia-mitre
Copy link

I have a simple terminal application which needs to print logs to the console while simultaneously prompting for input (e.g. the user may still be typing their input or making their selection while new logs are a being printed). I've created an initial working prototype with Rustyline, but I'd really like the nicer interface that Inquire would give me. Rustyline provides a create_external_printer method which provides an easy way to asynchronously write messages / logs above the current prompt. There's an example of this here.

I'd love to see a similar API available in Inquire! Thanks for the great library!

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

No branches or pull requests

1 participant