diff --git a/experiments/2024-12-09/src/render/text.rs b/experiments/2024-12-09/src/render/text.rs index dc9fcd104..0f5d1e09c 100644 --- a/experiments/2024-12-09/src/render/text.rs +++ b/experiments/2024-12-09/src/render/text.rs @@ -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,