Compare commits
1
Commits
fb6e6dfefd
...
7895660ba9
@@ -45,6 +45,10 @@ impl AnsiStyles {
|
||||
self.add_style(&style);
|
||||
self
|
||||
}
|
||||
pub fn clone_with_style(&mut self,style: Style) -> Self {
|
||||
let c= self.clone();
|
||||
c.style(style)
|
||||
}
|
||||
pub fn apply(&mut self, str: &str) {
|
||||
self.text = str.into();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user