File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,11 @@ impl Shell {
415
415
writeln ! (
416
416
self . err( ) ,
417
417
"{}" ,
418
- Renderer :: styled( ) . term_width( term_width) . render( message)
418
+ Renderer :: styled( )
419
+ . note( NOTE )
420
+ . help( HELP )
421
+ . term_width( term_width)
422
+ . render( message)
419
423
)
420
424
}
421
425
}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub const PLACEHOLDER: Style = AnsiColor::Cyan.on_default();
8
8
pub const ERROR : Style = AnsiColor :: Red . on_default ( ) . effects ( Effects :: BOLD ) ;
9
9
pub const WARN : Style = AnsiColor :: Yellow . on_default ( ) . effects ( Effects :: BOLD ) ;
10
10
pub const NOTE : Style = AnsiColor :: Cyan . on_default ( ) . effects ( Effects :: BOLD ) ;
11
+ pub const HELP : Style = AnsiColor :: Cyan . on_default ( ) . effects ( Effects :: BOLD ) ;
11
12
pub const GOOD : Style = AnsiColor :: Green . on_default ( ) . effects ( Effects :: BOLD ) ;
12
13
pub const VALID : Style = AnsiColor :: Cyan . on_default ( ) . effects ( Effects :: BOLD ) ;
13
14
pub const INVALID : Style = AnsiColor :: Yellow . on_default ( ) . effects ( Effects :: BOLD ) ;
You can’t perform that action at this time.
0 commit comments