Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(truecolor): improve check for truecolor (#14)
* Support COLORTERM=24bit. * As documented at https://github.com/termstandard/colors#checking-for-colorterm, COLORTERM is not sent over the wire with ssh by default. This means that programs that use supports-color don't get truecolor over ssh. To address that, check that TERM ends with either "direct" or "truecolor". I think the latter check should be "-direct" or "-truecolor", but `check_256_color` below doesn't check for a hyphen either. Should that be addressed as well?
- Loading branch information