Skip to content

Commit

Permalink
Prepare for follow-on change
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 9, 2024
1 parent cef2aae commit 2b135fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion experiments/2024-12-09/src/render/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2b135fe

Please sign in to comment.