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

emitter: column width defaults to 140 #73719

Merged
merged 1 commit into from
Jun 26, 2020

Commits on Jun 25, 2020

  1. emitter: column width defaults to 140

    This commit modifies the column width computation in the emitter when
    `termize::dimensions` returns `None` so that it uses the default value
    of 140 (which is used in UI testing currently) instead of `usize::MAX`
    which just ends up causing overflows in later computations. This is hard
    to test but appears to produce the same output as using saturating
    functions instead.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    11a3584 View commit details
    Browse the repository at this point in the history