Closed theogf closed 5 months ago
Looks like this function handles ANSI correctly only from 1.9... I added some version compat there.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 80.42%. Comparing base (
af1f512
) to head (4eb30e4
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ah it looks like the signature changed again for 1.11...
It was a type issue.
The manual truncation of strings lead to the following problem:
On
main
we get:The issue is that the ANSI characters are truncated and the color bleeds to the next input.
Using the same function that
Base
use forshow
solve the issue:I am not super sure how to test this though.