From 0e2012617efe9c790e506638a96aa61e3f9a83f2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Aug 2024 21:01:29 -0700 Subject: [PATCH] macos: truncate tail of resize view --- macos/Sources/Ghostty/SurfaceView.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Ghostty/SurfaceView.swift b/macos/Sources/Ghostty/SurfaceView.swift index 9c0c0514e..dba3ca632 100644 --- a/macos/Sources/Ghostty/SurfaceView.swift +++ b/macos/Sources/Ghostty/SurfaceView.swift @@ -312,8 +312,9 @@ extension Ghostty { RoundedRectangle(cornerRadius: 4) .fill(.background) .shadow(radius: 3) - ).lineLimit(1) - .truncationMode(.middle) + ) + .lineLimit(1) + .truncationMode(.tail) if (!position.right()) { Spacer()