aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display/cursor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/display/cursor.rs')
-rw-r--r--alacritty/src/display/cursor.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/alacritty/src/display/cursor.rs b/alacritty/src/display/cursor.rs
index 65933ccc..b0e2d6c3 100644
--- a/alacritty/src/display/cursor.rs
+++ b/alacritty/src/display/cursor.rs
@@ -24,9 +24,7 @@ impl IntoRects for RenderableCursor {
let thickness = (thickness * width).round().max(1.);
- if self.is_wide() {
- width *= 2.;
- }
+ width *= self.width().get() as f32;
match self.shape() {
CursorShape::Beam => beam(x, y, height, thickness, self.color()),