cmd: color and emoji#595
Conversation
Codecov Report
@@ Coverage Diff @@
## master #595 +/- ##
=========================================
+ Coverage 55.66% 56.4% +0.75%
=========================================
Files 68 69 +1
Lines 3229 3300 +71
=========================================
+ Hits 1797 1861 +64
- Misses 1198 1203 +5
- Partials 234 236 +2
Continue to review full report at Codecov.
|
yaoharry
left a comment
There was a problem hiding this comment.
Looks good. I'm curious on the behaviour in 16 bit terminals. Ex. Windows default cmd. I'll take a look at that before I put in approval.
|
@yaoharry would appreciate if you could take a look! the colour library (https://github.com/fatih/color#color--) says that windows is supported, but who knows (its been archived for a little bit) I also just added a new flag |
|
Yeah looking at the library says it has Window support so thats nice. I think colors like cyan will default to blue on windows cmd, which imo is pretty ugly, but it's nice that we have a disable option. |
Rip lol well we can keep an eye on feedback and maybe change the colour or disable colours on windows or improve the toggling (right now you can only toggle emoji AND colour at once via the flag, to just toggle one you have to set an end variable which is a bit less ergonomic) Thanks for the reviews everyone! |
🎟️ Ticket(s): Closes #147
👷 Changes
outputto justoutdecor.gowith print wrappers and colour primitives (seecmd/core/utils/out/decor.go)init,${remote} init,remote add, etc.)Todos
outpackage ergonomic enough?🔦 Testing Instructions
the output: