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 JobStatusDisplay width #1377

Closed
wants to merge 2 commits into from

Commits on Aug 31, 2024

  1. JobStatusDisplay: fix setting the default width to 100

    This fixes a28a0fd ("JobStatusDisplay: increase the default width
    to 100") which attempted to set the default width to 100. However, the
    out of bounds check in _set_width() was not adjusted. Therefore, the
    default width was effectively still 80.
    
    Fixes: a28a0fd
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    Flowdalic committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    2b47b68 View commit details
    Browse the repository at this point in the history
  2. JobStatusDisplay: introduce max_display_width variable

    Values that belong together and may only be changed at the same time
    should be combined in a common constant. So let's do this.
    
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    Flowdalic committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    636c59a View commit details
    Browse the repository at this point in the history