Added support for ANSI animations.