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

[RFC] Support interactive output (progress bars, spinners, etc.) #106

Open
5 tasks
chshersh opened this issue Feb 28, 2023 · 0 comments
Open
5 tasks

[RFC] Support interactive output (progress bars, spinners, etc.) #106

chshersh opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chshersh
Copy link
Owner

This is a mega issue for discussing the potential design for interactive elements in the terminal. Ideally, I would like to have something similar to Rust's indicatif library.

Full list of desired features (at least):

  • Spinners (for texts with loading icons)
  • Progress bars
  • Time and memory formatting out-of-the-box for progress bars
  • Multiple concurrently updated spinners / progress bars
  • Ability to output text above progress bar while progress bar is still running

A single PR doesn't need to implement all of the features at once but a single uniform design for them should be created first to handle various edge and corner cases.

I had an attempt of implementing interactive output in dr-cabal, so some lessons can be learned from this experience. But a complete

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

No branches or pull requests

1 participant