0.5.0: Tui::modify, Bold -> Modify

This commit is contained in:
🪞👃🪞 2025-04-04 00:33:16 +03:00
parent a42e17a9d4
commit b43cd0f64f
4 changed files with 38 additions and 35 deletions

View file

@ -111,8 +111,8 @@ impl TuiOut {
}
pub fn tint_all (&mut self, fg: Color, bg: Color, modifier: Modifier) {
for cell in self.buffer.content.iter_mut() {
cell.bg = bg;
cell.fg = fg;
cell.bg = bg;
cell.modifier = modifier;
}
}