Skip to content

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

Description

@ahbarnett

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions