mirror of
https://github.com/alacritty/alacritty.git
synced 2025-02-17 15:57:08 -05:00
parent
17923efccf
commit
974392cdc6
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
- Text selected after search without any match
|
||||
- Incorrect vi cursor position after leaving search
|
||||
- Clicking on URLs on Windows incorrectly opens File Explorer
|
||||
- Incorrect underline cursor thickness on wide cell
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ 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.);
|
||||
|
||||
if self.is_wide() {
|
||||
width *= 2.;
|
||||
}
|
||||
|
||||
let thickness = (thickness * width as f32).round().max(1.);
|
||||
|
||||
match self.shape() {
|
||||
CursorShape::Beam => beam(x, y, height, thickness, self.color()),
|
||||
CursorShape::Underline => underline(x, y, width, height, thickness, self.color()),
|
||||
|
|
Loading…
Add table
Reference in a new issue