Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: encode buffers before printing #2164

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

achingbrain
Copy link
Member

Printing raw buffers can end up outputting characters into the terminal that mess up the encoding for all subsequent lines, which is a pain when debugging things.

This change just encodes the buffer before printing to stop that from happening.

Printing raw buffers can end up outputting characters into the terminal
that mess up the encoding for all subsequent lines, which is a pain
when debugging things.

This change just encodes the buffer before printing to stop that from
happening.
@alanshaw alanshaw merged commit b1388a1 into master Jun 24, 2019
@alanshaw alanshaw deleted the encode-buffers-before-printing branch June 24, 2019 10:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants