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

Align infos #598

Open
wants to merge 1 commit into
base: kkysen/pfb/extra-info/renames
Choose a base branch
from

Conversation

kkysen
Copy link
Contributor

@kkysen kkysen commented Aug 10, 2022

This aligns each of the infos printed so that they're much easier to scan while reading. This is done by adding a NodeInfo::fmt_with_sep just like Node::fmt_with_sep. And non-existent infos are now printed as an empty "" string instead of just nothing at all, allowing the alignment to work properly.

@kkysen kkysen requested a review from boyland-pf August 10, 2022 07:58
@kkysen kkysen force-pushed the kkysen/pfb/extra-info/print-format branch from f67518c to cff03cc Compare August 10, 2022 07:59
@kkysen kkysen force-pushed the kkysen/pfb/extra-info/renames branch from 3b5d06c to f547ea3 Compare August 10, 2022 08:03
…ting `""` for non-existent infos, not nothing at all.
@kkysen kkysen force-pushed the kkysen/pfb/extra-info/print-format branch from cff03cc to 3e69048 Compare August 10, 2022 08:05
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.

None yet

1 participant