mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
11 lines
320 B
Swift
11 lines
320 B
Swift
import Foundation
|
|
|
|
extension Ghostty {
|
|
/// This is a delegate that should be applied to your global app delegate for GhosttyKit
|
|
/// to perform app-global operations.
|
|
protocol Delegate {
|
|
/// Look up a surface within the application by ID.
|
|
func ghosttySurface(id: UUID) -> SurfaceView?
|
|
}
|
|
}
|