From 44cbef39e79b48481d7a111954cd4367e3d6b9fe Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 21 Sep 2026 22:44:32 -0400 Subject: Add dueling --- crates/renderer/src/terminal.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/renderer/src/terminal.rs') diff --git a/crates/renderer/src/terminal.rs b/crates/renderer/src/terminal.rs index 9f7187b..001e87e 100644 --- a/crates/renderer/src/terminal.rs +++ b/crates/renderer/src/terminal.rs @@ -201,11 +201,12 @@ impl Terminal { for col in 0..self.width { let pos = Pos::new(col as _, row as _); let (p, c) = self.get(pos); - colors.push(c); colors.push(c); + let c4 = glam::Vec4::new(c.x, c.y, c.z, 1.0); + colors.push(c4); colors.push(c4); s += &format!("{}{}", p.first, if let Some(snd) = p.second { snd } else { ' ' }); } s += "\n"; - colors.push(glam::Vec3::new(1.0, 1.0, 1.0)); + colors.push(glam::Vec4::new(1.0, 1.0, 1.0, 1.0)); } self.font.render_text_at(ctx, st, *pos, &s, font::BitmapParams { color: &colors, -- cgit v1.3.1