Added support for interpreting ANSI escape sequences on behalf of