gregorio-project / gregorio-test

A repository of tests for Gregorio
GNU General Public License v3.0
5 stars 3 forks source link

Some messages are too short #280

Open rpspringuel opened 7 years ago

rpspringuel commented 7 years ago

When using the progress bar I sometimes get messages that look like this:

gabc-output/clear.gabc : not verified_____________________________] 0/1

What I believe is happening is that the message gabc-output/clear.gabc : not verified is being printed over the progress bar and since it's shorter than the progress bar, part of the progress bar shows through. This isn't so bad in this particular case because the bar is mostly empty, but as the bar gets full, # replaces _ in it, making it more distracting at the end of the message. It would be nice if all messages were padded with enough spaces so that they would completely overlap the progress bar. If I'm doing my calculations correct, this would mean that messages should be at least 75 characters long.

henryso commented 7 years ago

That's really what's happening. There are a lot of similar things that the progress bar does wrong (try a 40-character width window); however it does let you know what's happening and I don't think its worth coding these special cases to prettify the output of the test suite.