From f4bdf5fb36fdf3b329be8253da39050abe7238a5 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 16 Mar 2022 19:27:55 +0300 Subject: Add colored underline support This commit adds support for colored underline and refines the dynamic extra storage. The extra storage now is using `Arc` making cloning it way faster compared to `Box` approach which scales really well when it comes to cloning in `Term::write_at_cursor`, since cloning `Arc` is constant time. Fixes #4142. --- alacritty/src/renderer/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'alacritty/src/renderer/mod.rs') diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index cf9ee149..4a75416b 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -135,6 +135,7 @@ impl Renderer { bg_alpha: 1.0, fg, bg, + underline: fg, }); self.draw_cells(size_info, glyph_cache, cells); -- cgit