mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-26 18:16:11 +00:00
Prepare for follow-on change
This commit is contained in:
parent
2b135fe333
commit
8723af81ba
@ -1,3 +1,5 @@
|
|||||||
|
use std::fmt::Write;
|
||||||
|
|
||||||
use crate::ui::OpsUi;
|
use crate::ui::OpsUi;
|
||||||
|
|
||||||
pub struct TextRenderer {
|
pub struct TextRenderer {
|
||||||
@ -83,7 +85,8 @@ impl TextRenderer {
|
|||||||
attrs = attrs.color(glyphon::Color::rgb(0, 127, 0));
|
attrs = attrs.color(glyphon::Color::rgb(0, 127, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
let line = format!("{op}");
|
let mut line = String::new();
|
||||||
|
write!(line, "{op}")?;
|
||||||
|
|
||||||
buffer.lines.push(glyphon::BufferLine::new(
|
buffer.lines.push(glyphon::BufferLine::new(
|
||||||
line,
|
line,
|
||||||
|
Loading…
Reference in New Issue
Block a user