Skip to content

Conversation

@code-inflation
Copy link
Owner

Replace the custom progress bar implementation with the indicatif crate, which provides more robust terminal handling and better cross-platform support.

Changes:

  • Add indicatif 0.17 as a dependency
  • Refactor progress.rs to use indicatif's ProgressBar
  • Create a new Progress struct for better encapsulation
  • Update speedtest.rs to use the new Progress API
  • Maintain backward compatibility with print_progress function

The new implementation provides the same visual appearance while benefiting from indicatif's features like proper terminal width handling and better rendering performance.

Replace the custom progress bar implementation with the indicatif crate,
which provides more robust terminal handling and better cross-platform
support.

Changes:
- Add indicatif 0.17 as a dependency
- Refactor progress.rs to use indicatif's ProgressBar
- Create a new Progress struct for better encapsulation
- Update speedtest.rs to use the new Progress API
- Maintain backward compatibility with print_progress function

The new implementation provides the same visual appearance while
benefiting from indicatif's features like proper terminal width
handling and better rendering performance.
@code-inflation code-inflation force-pushed the claude/switch-to-indicatif-qXOeh branch from 6e0c25b to 356d7ef Compare December 29, 2025 13:18
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.

3 participants