envd icon indicating copy to clipboard operation
envd copied to clipboard

bug(CLI): emoji breaks the column rule in progress writer

Open gaocegege opened this issue 2 years ago • 0 comments

Description

The print rule of progress writer and compileui writer is broken because of the emoji:

[+] ⌚ parse build.envd and download/cache dependencies 23.7s ✅ (finished)        
 => download ms-python.python-2021.12.1559732655                              6.7s 
[+] 🐋 build envd environment 4.4s (23/24)                                         
 => 💽 (cached) copy /ms-python.python-2021.12.1559732655/extension /root/     0.0s

They are not aligned.

We need to figure out if emoji works well with ANSI escape code and columns.

gaocegege avatar May 18 '22 01:05 gaocegege