Add ansi-term improvements