style(terminal): increase powerline half-circle segments for smoother curves (#341)

Co-authored-by: l0ng-ai <ysdpk123@gmail.com>
This commit is contained in:
ARNO
2026-08-05 11:15:55 +08:00
committed by GitHub
co-authored by l0ng-ai
parent 4cf3d4dad5
commit 8a7b2f3bea
+1 -1
View File
@@ -688,7 +688,7 @@ fn powerline_path(bounds: Bounds<Pixels>, shape: PowerlineShape) -> gpui::Path<P
p
};
let half_circle = |anchor_x: Pixels, dir: f32| {
const SEGS: usize = 6;
const SEGS: usize = 12;
let (rx, ry) = (bounds.size.width.as_f32(), bounds.size.height.as_f32() / 2.);