comparison hgweb.cgi @ 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 4b0fc75f9403
children 47ef023d0165
comparison
equal deleted inserted replaced
31067:a0bde5ec3a46 31068:27d3bc0c9093