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

print_timer to stdout gives 1 leading space causing unpleasant line wrapping #166

Open
ahbarnett opened this issue Jun 27, 2023 · 0 comments

Comments

@ahbarnett
Copy link
Contributor

For my setup (running Julia in GNOME terminal in XFCE), when the title name is too long it wraps by exactly one char too wide to fit in the width, producing ugly failure to wrap. Here's an example:

timeroutputs_spill

This is for my standard terminal size:

julia> displaysize(io)
(60, 80)

What it looks like is that your code prints one space preceding each 80-char line, giving an 81-char line, which wraps at the last char each time.
I have checked that this happens for other terminal widths too.

Does anyone else have this problem?

If so, I'll try to look at the code and make a PR. Thanks for a great tool, Best, Alex

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

No branches or pull requests

1 participant