File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ fn warn_fmt(args: fmt::Arguments) {
40
40
let mut t = term:: stderr ( ) . unwrap ( ) ;
41
41
let _ = t. fg ( term:: color:: BRIGHT_YELLOW ) ;
42
42
let _ = write ! ( t, "warning: " ) ;
43
- let _ = t. reset ( ) ;
43
+ let _ = t. fg ( term :: color :: WHITE ) ;
44
44
let _ = t. write_fmt ( args) ;
45
45
let _ = write ! ( t, "\n " ) ;
46
46
}
@@ -49,7 +49,7 @@ fn err_fmt(args: fmt::Arguments) {
49
49
let mut t = term:: stderr ( ) . unwrap ( ) ;
50
50
let _ = t. fg ( term:: color:: BRIGHT_RED ) ;
51
51
let _ = write ! ( t, "error: " ) ;
52
- let _ = t. reset ( ) ;
52
+ let _ = t. fg ( term :: color :: WHITE ) ;
53
53
let _ = t. write_fmt ( args) ;
54
54
let _ = write ! ( t, "\n " ) ;
55
55
}
@@ -58,7 +58,7 @@ fn info_fmt(args: fmt::Arguments) {
58
58
let mut t = term:: stderr ( ) . unwrap ( ) ;
59
59
let _ = t. fg ( term:: color:: BRIGHT_GREEN ) ;
60
60
let _ = write ! ( t, "info: " ) ;
61
- let _ = t. reset ( ) ;
61
+ let _ = t. fg ( term :: color :: WHITE ) ;
62
62
let _ = t. write_fmt ( args) ;
63
63
let _ = write ! ( t, "\n " ) ;
64
64
}
You can’t perform that action at this time.
0 commit comments