feat(pin): add ColorReset to Color type#3
Conversation
|
Ah I see now that |
Actually, I was going to refactor it and make it public, for the same reason. It's probably better to rename it to String(). Then we can use Printf functions without bothering to call the function explicitly. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 247 249 +2
=========================================
+ Hits 247 249 +2 ☔ View full report in Codecov by Sentry. |
Can you move the new constant to the end of the list? Otherwise it will change the values of the other constants due to the nature of iota. |
|
@havardthom public String function is available in v0.9.0 release |
|
Perfect! Thank you |
Suggestion to add
ColorResettoColortype.I want to use
pincolor system in other cli output (non spinner output) to have consistent colors. Therefore it would be nice if it also contains the ANSI reset code so I don't have to declare it myself.Great package btw!