-
-
Notifications
You must be signed in to change notification settings - Fork 278
Added style and colors to the printer output, small adjustment to monitor colors #292
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
Conversation
hatoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I left just one review!
|
Clippy fail is OK. It's false positive. |
|
Just pushed the |
This is really great, could you update |
|
Manual testing looked fine. The |
|
LGTM. Thank you! 🎉 |
No problem, thank you! |
1st pass at adding style and colors to the printer view. Related to issue: #64
I've tried to abstract the style and colors configuration into the
StyleSchemestruct.I also made a minor adjustment to the monitor colors to make it consistent with the printer colors.
Code respects the
--disable-colorflag (but maintains the style changes, e.g. bold / underlined).I used the
crosstermstyle system which I believe tui uses, so this should be compatible with the same terminals the current code is compatible with.The color style includes thresholds for certain values:
Here's an example of how the printer view looks:
