mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 15:38:35 +00:00
16 lines
398 B
Swift
16 lines
398 B
Swift
import Foundation
|
|
import Cocoa
|
|
import SwiftUI
|
|
import GhosttyKit
|
|
|
|
class PasteProtectionController: NSWindowController {
|
|
override var windowNibName: NSNib.Name? { "PasteProtection" }
|
|
|
|
//MARK: - NSWindowController
|
|
|
|
override func windowDidLoad() {
|
|
guard let window = window else { return }
|
|
window.contentView = NSHostingView(rootView: PasteProtectionView())
|
|
}
|
|
}
|