more terminals support color.

SVN revision: 49104
expedite-1.1
Gustavo Sverzut Barbieri 13 years ago
parent 24aba4e191
commit 1216d02d7f
  1. 4
      src/bin/expedite-cmp

@ -75,7 +75,9 @@ def report_text():
print hdrfmt % n[-fmtsize:],
print
if options.color and os.environ.get("TERM", "") == "xterm":
if options.color and os.environ.get("TERM", "") in (
"xterm", "xterm-color", "rxvt", "rxvt-unicode", "screen",
"Eterm", "aterm", "gnome", "interix"):
color_good = "\033[1;32m"
color_bad = "\033[1;31m"
color_equal = "\033[1;30m"

Loading…
Cancel
Save