draw full-color (xterm-256) ansi graphics into a buffer