Skip to content
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

Change formatting #3

Open
qm3ster opened this issue Mar 12, 2019 · 1 comment
Open

Change formatting #3

qm3ster opened this issue Mar 12, 2019 · 1 comment

Comments

@qm3ster
Copy link

qm3ster commented Mar 12, 2019

I understand why the line length for single line and multiple line is different, it's to fit the prefix into the line length limit.

But have you considered having the long lines wrap at 24 bytes, with a double (triple?) space every 8 bytes?
I feel like it would be more readable, which matters when there's a small change.

@qm3ster
Copy link
Author

qm3ster commented Mar 13, 2019

Also, if we did want to match the console.log output, the < has to come before Buffer:

console.log(Buffer.alloc(0))
// <Buffer >
console.log(Buffer.alloc(2))
// <Buffer 00 00>

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

No branches or pull requests

1 participant