OccupyMars2025 / rCore-Tutorial-v3

Let's write an OS which can run on RISC-V in Rust from scratch!
https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html
GNU General Public License v3.0
0 stars 0 forks source link

[utility] useful tricks and commands #9

Open OccupyMars2025 opened 1 year ago

OccupyMars2025 commented 1 year ago

print colorful string

        println!("\u{1B}[42m [task {} exited] \u{1B}[0m",  1);

you can change 42 to other numbers

image