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 terminal output getting cut-off by one character #68

Open
kylewlacy opened this issue Jul 4, 2024 · 0 comments
Open

Fix terminal output getting cut-off by one character #68

kylewlacy opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kylewlacy
Copy link
Member

Here's a screenshot from a failed build showing what renders in my terminal (set with a width of 80 characters)

Terminal screenshot, showing a failed build message. Some of the long lines wrap, but are missing a character

Note the message in the middle, which clearly has a letter cut off in the word "backtrace":

note: run with `RUST_BACKTRACE=1` environment variable to display a
acktrace

There is likely an off-by-one error somewhere in in the console reporter code (permalink). The console reporter uses the superconsole crate under the hood. This doesn't affect the plain terminal output (e.g. when running brioche build 2>&1 | cat)

@kylewlacy kylewlacy added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant