-
I noticed an interesting thing about the documentation for this project: In https://vitepress.dev/guide/getting-started#setup-wizard , Which show the usage of
I found that it is rendered by the following code: vitepress/docs/snippets/init.ansi Lines 1 to 16 in 28989df I want to achieve the same effect, but display some other content from my terminal So How can I get the raw ANSI output in terminal like above? 🙏 If anyone know it and share the idea with me, I will be very grateful to you :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Depends on what tool is generating that output. But mostly it's |
Beta Was this translation helpful? Give feedback.
-
Adding a few points 1
|
Beta Was this translation helpful? Give feedback.
Adding a few points
1
FORCE_COLOR
COMMAND
FORCE_COLOR
forced in non-interactive mode?stderr
?Example:
Code.mp4
2 Using the
script
command to record commandscontrol+d
to exit recordingscript
command are different for Linux and MacOS.Code1.mp4