mirror of
https://github.com/rm-dr/daisy
synced 2025-02-20 05:59:21 -08:00
Added more formats
This commit is contained in:
parent
c3323ccd29
commit
36d041c3c1
@ -77,6 +77,13 @@ impl FormattedText {
|
||||
s.push_str(&format!("{}{}", color::Fg(color::LightBlack), style::Italic));
|
||||
},
|
||||
|
||||
('s', ']') => { // Repeat prompt (how => is styled)
|
||||
s.push_str(&format!("{}{}", color::Fg(color::Magenta), style::Bold));
|
||||
},
|
||||
('r', ']') => { // Result prompt (how = is styled)
|
||||
s.push_str(&format!("{}{}", color::Fg(color::Green), style::Bold));
|
||||
},
|
||||
|
||||
_ => {
|
||||
s.push('[');
|
||||
s.push(a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user