Added more formats

pull/2/head
Mark 2023-08-04 22:39:36 -07:00
parent c3323ccd29
commit 36d041c3c1
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 7 additions and 0 deletions

View File

@ -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);