# HG changeset patch # User Danek Duvall # Date 2016-10-15 22:01:14 # Node ID 9f41b66cffc0adbe23fc14652ac28948c444da13 # Parent 8915c68f3ebab7b42846c46a039dcf5490ac0f1d color: add some documentation for custom terminfo codes diff --git a/hgext/color.py b/hgext/color.py --- a/hgext/color.py +++ b/hgext/color.py @@ -29,6 +29,15 @@ ECMA-48 mode, the options are 'bold', 'i 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 ------