From 555e1aeee5ce8f573270e208bd01d38c1e766f6c Mon Sep 17 00:00:00 2001 From: Cathal Mullan Date: Wed, 13 Aug 2025 19:03:55 +0100 Subject: [PATCH] Reduce minimum underline thickness from 2px to 1px --- src/terminal_box.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal_box.rs b/src/terminal_box.rs index 2e01d37..dfe7171 100644 --- a/src/terminal_box.rs +++ b/src/terminal_box.rs @@ -434,7 +434,7 @@ where } if !metadata.flags.is_empty() { - let style_line_height = (self.glyph_font_size / 10.0).clamp(2.0, 16.0); + let style_line_height = (self.glyph_font_size / 10.0).clamp(1.0, 16.0); let line_color = cosmic_text_to_iced_color(metadata.underline_color);