improve ansi-term