diff options
Diffstat (limited to 'src/macos/Sources/main.swift')
| -rw-r--r-- | src/macos/Sources/main.swift | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/macos/Sources/main.swift b/src/macos/Sources/main.swift deleted file mode 100644 index 6cb2646e..00000000 --- a/src/macos/Sources/main.swift +++ /dev/null @@ -1,16 +0,0 @@ -import AppKit - -// Ghostty's ordering lesson: whatever must exist before AppKit boots goes above -// app.run(), because after that call the runloop owns this thread forever. -// pardes has nothing in that class — the core cannot come up until there is a -// window to measure, so pardes_init waits for applicationDidFinishLaunching. - -let app = NSApplication.shared -app.setActivationPolicy(.regular) - -// NSApplication does not own its delegate. This is a global, so it lives as -// long as the process does; the same line inside a function would not. -let delegate = AppDelegate() -app.delegate = delegate - -app.run() |
