Skip to content

add option to force 256 colors (disable truecolor)#156

Open
chaseleif wants to merge 1 commit into
busyloop:masterfrom
chaseleif:opt256colors
Open

add option to force 256 colors (disable truecolor)#156
chaseleif wants to merge 1 commit into
busyloop:masterfrom
chaseleif:opt256colors

Conversation

@chaseleif
Copy link
Copy Markdown

I've had this problem with GNU screen and decided to look at it today and found issue #117. You can work around it by unsetting COLORTERM before running lolcat (then possibly resetting it), the workaround does work for me but is inconvenient.

For a fix, we need to add an option to disable the automatic preference for truecolor.

This does the fix for me, I just use the new --rgbcolor flag.

May close #147 and likely will close both issues #117 and #152.

@chaseleif
Copy link
Copy Markdown
Author

or, the prep colors could just default to 256 and return if the -t flag wasn't given

or, the new option could set a colors max

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.

Flag to limit the color range, when force is passed because stdout isn't a TTY

1 participant