[Console] fixed progress bar when using ANSI colors and Emojis