mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
16 lines
284 B
Swift
16 lines
284 B
Swift
import SwiftUI
|
|
import GhosttyKit
|
|
|
|
@main
|
|
struct GhosttyApp: App {
|
|
init() {
|
|
assert(ghostty_init() == GHOSTTY_SUCCESS, "ghostty failed to initialize");
|
|
}
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
Text("Hello!").font(.largeTitle)
|
|
}
|
|
}
|
|
}
|