D119: color: add autoterminfo option to prefer terminfo over ansi for non-windows

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sun Jul 23 14:05:12 EDT 2017


indygreg added a comment.


  Can we refactor `color.mode=auto` to do something reasonable, like detect and use terminfo if it is available? It always struck me as strange that `auto` doesn't actually get you the best possible experience.
  
  FWIW, I think the color code needs to be massively refactored to support "nice things" like native 256 color usage, different profiles for different background colors, color blind awareness, customization based on TERM, etc.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D119

To: spectral, #hg-reviewers
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list