You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running git log on its own, there are colors. However, when providing the command's stdout to the blessed box, there are no colors.
I understand that git log probably figures out whether the device can display colors. Furthermore, there's the possibility to configure the spawn call with the stdio option. However, I haven't been able to wrap my head around this.
Hi, I am trying to get SGR escape codes working to colorize the content of a box. Following the README's suggestion I implemented a demo using
git log
, see here https://gist.github.com/mamachanko/9e1d9859b25f4593788ad5da3311ad65When running
git log
on its own, there are colors. However, when providing the command's stdout to the blessed box, there are no colors.I understand that git log probably figures out whether the device can display colors. Furthermore, there's the possibility to configure the
spawn
call with thestdio
option. However, I haven't been able to wrap my head around this.Can somebody point me in the right direction?
(original issue: chjj#374)
The text was updated successfully, but these errors were encountered: