Terminal Simulator
A simple terminal simulator component in React, used to demonstrate or teach commands to readers. Currently supports the following features:
- Support modifying the terminal title
- Support modifying the user, path, and conda environment (the terminal can be modified multiple times, which is convenient for demonstration of commands like
conda activate
,su
,cd
,z
, etc.) - Support two output modes: newline and indent, aligned display
- Added support for mysql mode New !
Demonstration
info
You can also refer to cmdTerminal for more detailed information on how this component is implemented.
Buy me a coffee ☕:
This article is licensed under CC 4.0 BY-SA