mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-25 17:46:08 +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;
|
||||
|
||||
pub struct TextRenderer {
|
||||
@ -83,7 +85,8 @@ impl TextRenderer {
|
||||
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(
|
||||
line,
|
||||
|
Loading…
Reference in New Issue
Block a user