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

impr: Add -R option to modify row format #896

Merged
merged 2 commits into from
Mar 22, 2022
Merged

impr: Add -R option to modify row format #896

merged 2 commits into from
Mar 22, 2022

Conversation

5HT2
Copy link
Contributor

@5HT2 5HT2 commented Mar 21, 2022

This is my first pull request here, and my first time ever using Rust, so please let me know if I did anything wrong / something could be improved. Closes #895.

Default output (unchanged):

Box drawing option:

@5HT2
Copy link
Contributor Author

5HT2 commented Mar 21, 2022

This also leaves the option open to use different characters, but I wasn't sure if it was desirable to also add other options. I mainly just wanted box drawing support to look nice :p

@XAMPPRocky
Copy link
Owner

Thank you for your PR! This looks pretty nice, I think I would rather have the box characters by default and remove the old style rather than introduce an option. AFAIK, there's no compatibility concern with use of these characters.

@5HT2
Copy link
Contributor Author

5HT2 commented Mar 21, 2022

So just, replacing the original characters with box drawing?

@5HT2
Copy link
Contributor Author

5HT2 commented Mar 21, 2022

Welp, here it is :p

I made it an option as initially I was unsure if it was even a desirable thing. I guess I did finally get my feet into Rust and learn a few things.

@5HT2
Copy link
Contributor Author

5HT2 commented Mar 21, 2022

@XAMPPRocky is this alright?

@XAMPPRocky
Copy link
Owner

Yep, LGTM! Thank you for your PR, and congrats on your first contribution! 🎉

@XAMPPRocky XAMPPRocky merged commit ab7bb75 into XAMPPRocky:master Mar 22, 2022
@5HT2 5HT2 mentioned this pull request May 20, 2022
CIAvash pushed a commit to CIAvash/tokei that referenced this pull request Aug 14, 2022
kornysietsma pushed a commit to kornysietsma/tokei that referenced this pull request Nov 16, 2022
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.

Option to use box drawing characters for nicer output
2 participants