We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5367df9 commit 7f75711Copy full SHA for 7f75711
arceos/ulib/axstd/src/macros.rs
@@ -18,6 +18,8 @@ macro_rules! print {
18
macro_rules! println {
19
() => { $crate::print!("\n") };
20
($($arg:tt)*) => {
21
- $crate::io::__print_impl(format_args!("{}\n", format_args!($($arg)*)));
+ $crate::io::__print_impl(format_args!("\u{1B}[{}m{}\u{1B}[m", 31, format_args!($($arg)*)))
22
+
23
+ // $crate::io::__print_impl(format_args!("{}\n", format_args!($($arg)*)));
24
}
25
0 commit comments