-
Notifications
You must be signed in to change notification settings - Fork 2
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
Truncate too early on 80 character width terminal #15
Comments
hmm, I guess this is the culprit: https://github.com/dantleech/what-changed/blob/master/lib/Adapter/Symfony/Report/ConsoleReport.php not sure why I truncate at |
Looking at the class, I found a lot more bugs as lots of tags (info, comment) are not closed properly |
|
I haven't seen this kind of closing tag in symfony console yet. In lots of cases I see a line like this in the output: |
yes -- that's because we truncate the string with the formatting tags - maybe there is a good solution for this in Symfony, not sure. |
Maybe ignore the counting of additional characters while you are in a tag and then only count the characters outside. The main point of this issue is the total length. What i mentioned now is actually another bug. |
I have a 80 character terminal in ubuntu and the commit message is truncated way too early. For comparison I added a line below to see how much space there is still available.
The text was updated successfully, but these errors were encountered: