added ansi-term support