This patch fixes a remaining minor problem in the formatting of the help screen — following up on @ghaerr's patch (https://github.com/jart/blink/pull/3):
The problem was that the top line (BLINK v1.o etc.) contains ESC [ ... control sequences, so directly laying it out with the format string "...%-*s..." does not quite work, and causes the number of trailing spaces to be calculated wrong.
I will send you the required copyright assignment e-mail for this project soon.
Hello @jart,
This patch fixes a remaining minor problem in the formatting of the help screen — following up on @ghaerr's patch (https://github.com/jart/blink/pull/3):
The problem was that the top line (
BLINK v1.o
etc.) containsESC [
... control sequences, so directly laying it out with the format string"...%-*s..."
does not quite work, and causes the number of trailing spaces to be calculated wrong.I will send you the required copyright assignment e-mail for this project soon.
Thank you!