Mercurial > hg
diff mercurial/ui.py @ 24266:c14b1d349af3
color: consolidate cut-and-paste code
This fixes a mild case of cut-and-paste code regarding failing to set
terminal modes. This is evident in the win32 comment that is misplaced
for the terminfo mode since cset ad6ad51cc0dd.
Instead, we refactor this C&P into a small local function.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 11 Mar 2015 09:34:22 -0400 |
parents | 9c32eea2ca04 |
children | 7d01371e6358 |