mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
font: block cursor was not taking full cell width
This commit is contained in:
@ -2542,9 +2542,7 @@ fn draw_dash_vertical(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn draw_cursor_rect(self: Box, canvas: *font.sprite.Canvas) void {
|
fn draw_cursor_rect(self: Box, canvas: *font.sprite.Canvas) void {
|
||||||
const thick_px = Thickness.super_light.height(self.thickness);
|
self.rect(canvas, 0, 0, self.width, self.height);
|
||||||
|
|
||||||
self.rect(canvas, 0, 0, self.width - thick_px, self.height - thick_px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn draw_cursor_hollow_rect(self: Box, canvas: *font.sprite.Canvas) void {
|
fn draw_cursor_hollow_rect(self: Box, canvas: *font.sprite.Canvas) void {
|
||||||
|
Reference in New Issue
Block a user