Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-12-09 20:52:24 +01:00
parent cef2aaec07
commit 2b135fe333

View File

@ -83,8 +83,10 @@ impl TextRenderer {
attrs = attrs.color(glyphon::Color::rgb(0, 127, 0));
}
let line = format!("{op}");
buffer.lines.push(glyphon::BufferLine::new(
format!("{op}"),
line,
glyphon::cosmic_text::LineEnding::Lf,
glyphon::AttrsList::new(attrs),
glyphon::Shaping::Advanced,