[PATCH 1 of 3] color: allow for user-configurable terminfo codes for effects
Danek Duvall
danek.duvall at oracle.com
Sat Oct 15 22:07:26 UTC 2016
Yuya Nishihara wrote:
> On Thu, 13 Oct 2016 13:27:33 -0700, danek.duvall at oracle.com wrote:
> > # HG changeset patch
> > # User Danek Duvall <danek.duvall at oracle.com>
> > # Date 1476384497 25200
> > # Thu Oct 13 11:48:17 2016 -0700
> > # Node ID 61e74a19770c2ce80c0cedc429915112261e5c1b
> > # Parent 4d93d73b8aecb2436bbfe9248cdfe0ef21582baf
> > color: allow for user-configurable terminfo codes for effects
>
> The series looks good to me. Queued, thanks.
Thanks!
> > 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.
>
> Can you update the doc as a follow-up?
Patch should be on its way.
Thanks,
Danek
More information about the Mercurial-devel
mailing list