From cb7ad5b7e6893787c2006cc8cb09fbbc4711c0f7 Mon Sep 17 00:00:00 2001 From: Anhad Singh <62820092+Andy-Python-Programmer@users.noreply.github.com> Date: Wed, 24 May 2023 06:35:58 +1000 Subject: Switch to VTE's built-in ansi feature Co-authored-by: Christian Duerr --- alacritty/src/renderer/rects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src/renderer') diff --git a/alacritty/src/renderer/rects.rs b/alacritty/src/renderer/rects.rs index 31818f60..8f6204c2 100644 --- a/alacritty/src/renderer/rects.rs +++ b/alacritty/src/renderer/rects.rs @@ -366,7 +366,7 @@ impl RectRenderer { let y = -rect.y / half_height + 1.0; let width = rect.width / half_width; let height = rect.height / half_height; - let Rgb { r, g, b } = rect.color; + let (r, g, b) = rect.color.as_tuple(); let a = (rect.alpha * 255.) as u8; // Make quad vertices. -- cgit