mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 23:48:35 +00:00
macos: paste protection boilerplate
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import SwiftUI
|
||||
|
||||
struct PasteProtectionView: View {
|
||||
var body: some View {
|
||||
HStack {
|
||||
Image("AppIconImage")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width: 128, height: 128)
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text("Oh, no. 😭").font(.title)
|
||||
Text("Something went fatally wrong.\nCheck the logs and restart Ghostty.")
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user