Filter ansi color in commint mode