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

Fix command line progress output #1632

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

V-Smeets
Copy link
Contributor

During CLI invocation (e.g.: gramps --action=report ...) a progress is shown on stdout. This progress consists of a procent value and some text. The text is however partly overwriten whenever the percent value is updated.

This PR fixes it in a way that the percent value and text are correctly alligned.

The text was partly overwritten whenever the percent value was
updated. This commit fixes it in a way that the percent value and
text are now correctly aligned.
@Nick-Hall Nick-Hall changed the base branch from master to maintenance/gramps52 February 8, 2024 21:03
@Nick-Hall Nick-Hall changed the title cli.User: Fix progress output. Fix command line progress output Feb 8, 2024
@Nick-Hall
Copy link
Member

Added unit tests and rebased onto gramps52.

These test both percentage steps and a spinner where the number
of steps is unknown.
@Nick-Hall Nick-Hall merged commit 163d88b into gramps-project:maintenance/gramps52 Feb 8, 2024
2 checks passed
@V-Smeets V-Smeets deleted the pr/cli.User branch February 9, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants