From e05179e4fb0b1d535e17072cb52c1bcdb0d1361a Mon Sep 17 00:00:00 2001 From: hyperpuncher <39203616+hyperpuncher@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:01:51 +0300 Subject: [PATCH] fix: Proper block cursor shape (#4752) * fix: Proper block cursor shape * change stroke.width multiplier --- wezterm-gui/src/customglyph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wezterm-gui/src/customglyph.rs b/wezterm-gui/src/customglyph.rs index 43e861015..242f2203c 100644 --- a/wezterm-gui/src/customglyph.rs +++ b/wezterm-gui/src/customglyph.rs @@ -262,7 +262,7 @@ impl PolyStyle { let mut stroke = Stroke::default(); stroke.width = width; if self == PolyStyle::OutlineHeavy { - stroke.width *= 3.0; // NOTE: Using 2.0, the difference is almost invisible + stroke.width *= 3.1; // NOTE: Changing this makes block cursor unproportinal at different font sizes } else if self == PolyStyle::OutlineThin { stroke.width = 1.2; }