ghostty/macos/Sources/GhosttyApp.swift
Mitchell Hashimoto 8b80e65928 lots of broken stuff
2023-02-19 10:44:54 -08:00

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)
}
}
}