Open Canop opened 1 month ago
and I try to make bacon usable in a thin terminal.
Good point with the thin terminal. How difficult would it be to only show this extra information (crate + time) if the terminal is wide enough? That way you could temporarily full-screen the terminal and get more information.
This wouldn't be terribly hard, I do this kind of auto-ellipsis all the time in eg broot.
But this kind of collides wit the wrapping feature: what if people start to want the crate, duration even when it means the line is wrapped?
I made it a separate issue because I'll try to merge the PR #212 so that I can more easily manage various small issues.
But this kind of collides wit the wrapping feature: what if people start to want the crate, duration even when it means the line is wrapped?
I doubt that's the case, as at that point the rest of the issue description gets difficult enough to read that you probably don't want even more information. Unless you have really long module names/import paths, so perhaps having it configurable does make sense.
Rationale for showing the crate given here by @DragonDev1906.
The duration would be only available when it can be parsed from the output (i.e. when the tests are done with nextest).
The reason I'm a little reluctant is I try to keep the display uncluterred for easier reading, and I try to make bacon usable in a thin terminal.
Opinions welcome.