Colors in the output are not displayed on Windows #1509
-
Windows 10 terminal output command cannot display color normally |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
windows终端不支持类似 \033[31m 的显示,建议使用 -nc 关闭颜色输出 |
Beta Was this translation helpful? Give feedback.
-
Relevant documentation on limitations of the underlying coloring library we use, in case of Windows: https://github.com/logrusorgru/aurora#windows There are workarounds on how to display colored output on Windows:
See the relevant superuser discussion: https://superuser.com/questions/413073/windows-console-with-ansi-colors-handling Alternatively, as @No-Github mentioned, you can disable the coloring, using the |
Beta Was this translation helpful? Give feedback.
windows终端不支持类似 \033[31m 的显示,建议使用 -nc 关闭颜色输出