# HG changeset patch # User Danek Duvall # Date 1476568874 25200 # Node ID 9f41b66cffc0adbe23fc14652ac28948c444da13 # Parent 8915c68f3ebab7b42846c46a039dcf5490ac0f1d color: add some documentation for custom terminfo codes diff -r 8915c68f3eba -r 9f41b66cffc0 hgext/color.py --- a/hgext/color.py Thu Oct 13 13:10:01 2016 -0700 +++ b/hgext/color.py Sat Oct 15 15:01:14 2016 -0700 @@ -29,6 +29,15 @@ Some may not be available for a given terminal type, and will be silently ignored. +If the terminfo entry for your terminal is missing codes for an effect +or has the wrong codes, you can add or override those codes in your +configuration:: + + [color] + terminfo.dim = \E[2m + +where '\E' is substituted with an escape character. + Labels ------