Skip to content

Conversation

scootermon
Copy link

While working with fancy unicode characters I noticed that every now and then my output is messed up like this:

 ╭────────────────────────────────── overview ──────────────────────────────────╮
│ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┓ │
│ ┃ Test Name                        ┃ Status      ┃                Duration ┃ │
│ ┡━━━━━━━━━━━━━━━━━���━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━┩ │
│ │ smoke                            │ OK          │          0:00:00.094022 │ │

Looking into it I realized that this is caused by the incorrect handling of partial reads from the proc output.
This PR fixes the issue by making use of the built-in IncrementalDecoder - a perfect fit for this use case.

@jmaillefaud
Copy link

Fixes #438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants