Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-11-27 19:07:23 +01:00
parent fc84f05235
commit 4fcc3fc5f4

View File

@ -77,10 +77,12 @@ impl TextRenderer {
);
for op in operations.operations.iter() {
let attrs = glyphon::Attrs::new();
buffer.lines.push(glyphon::BufferLine::new(
format!("{op}"),
glyphon::cosmic_text::LineEnding::Lf,
glyphon::AttrsList::new(glyphon::Attrs::new()),
glyphon::AttrsList::new(attrs),
glyphon::Shaping::Advanced,
));
}