diff --git a/macos/Sources/Ghostty/entry.swift b/macos/Sources/Ghostty/entry.swift index 0354fb9a8..2829f7fa3 100644 --- a/macos/Sources/Ghostty/entry.swift +++ b/macos/Sources/Ghostty/entry.swift @@ -1,23 +1,17 @@ import SwiftUI @main -struct Ghostty: App { - var body: some Scene { - WindowGroup { - ContentView() +struct MyApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } } - } } struct ContentView: View { - @StateObject var viewModel: ViewModel = ViewModel() - - var body: some View { - TextField("", text: $viewModel.inputText) - .padding() - } -} - -public class ViewModel: ObservableObject { - @Published var inputText: String = "" + var body: some View { + Text("Ghostty") + .font(.largeTitle) + } }