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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/display/cursor.rs b/alacritty/src/display/cursor.rs
index 89b0bcde..8a4cc729 100644
--- a/alacritty/src/display/cursor.rs
+++ b/alacritty/src/display/cursor.rs
@@ -22,7 +22,7 @@ impl IntoRects for RenderableCursor {
let mut width = size_info.cell_width();
let height = size_info.cell_height();
- let thickness = (thickness * width as f32).round().max(1.);
+ let thickness = (thickness * width).round().max(1.);
if self.is_wide() {
width *= 2.;