Mercurial > hg
comparison mercurial/repoview.py @ 30173:f34a8cff51d9
color: allow for user-configurable terminfo codes for effects
If the entry in the terminfo database for your terminal is missing some
attributes, it should be possible to create them on the fly without
resorting to just making them a color. This change allows you to have
[color]
terminfo.<effect> = <code>
where <effect> might be something like "dim" or "bold", and <code> is the
escape sequence that would otherwise have come from a call to tigetstr().
If an escape character is needed, use "\E". Any such settings will
override attributes that are present in the terminfo database.
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Thu, 13 Oct 2016 11:48:17 -0700 |
parents | 0d83ad967bf8 |
children | 20027be9f23d |
comparison
equal
deleted
inserted
replaced
30172:90a6c18a7c1d | 30173:f34a8cff51d9 |
---|