1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-26 23:58:28 +03:00

fix: disproportionate cursor

This commit is contained in:
hyperpuncher 2024-01-26 10:00:24 +03:00 committed by Wez Furlong
parent 7f3a835548
commit 0839745aaf

View File

@ -262,7 +262,7 @@ impl PolyStyle {
let mut stroke = Stroke::default();
stroke.width = width;
if self == PolyStyle::OutlineHeavy {
stroke.width *= 3.1; // NOTE: Changing this makes block cursor unproportinal at different font sizes
stroke.width *= 3.01; // NOTE: Changing this makes block cursor disproportionate at different font sizes and resolutions
} else if self == PolyStyle::OutlineThin {
stroke.width = 1.2;
}