Mercurial > hg
diff tests/hghave @ 31068:27d3bc0c9093
color: make a test for curse availability explicite
We won't use terminfo when curse failed to load. Before this change, we were
doing an indirect test, relying on the fact some variable ('_terminfo_params')
would be empty if curses failed to load. We update the code to be more explicit
and directly checks if we managed to load the curse module.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 22 Dec 2016 06:17:40 +0100 |
parents | b1b35a9051c3 |
children | 47ef023d0165 |