diff --git a/macos/Sources/Ghostty/Surface View/OSSurfaceView.swift b/macos/Sources/Ghostty/Surface View/OSSurfaceView.swift index 646390084..7a90d7746 100644 --- a/macos/Sources/Ghostty/Surface View/OSSurfaceView.swift +++ b/macos/Sources/Ghostty/Surface View/OSSurfaceView.swift @@ -31,6 +31,9 @@ extension Ghostty { // The progress report (if any) @Published var progressReport: Action.ProgressReport? + // The currently active key tables. Empty if no tables are active. + @Published var keyTables: [String] = [] + init(id: UUID?, frame: CGRect) { self.id = id ?? UUID() super.init(frame: frame) diff --git a/macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift b/macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift index 3fd674ce8..189bddc18 100644 --- a/macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift +++ b/macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift @@ -39,9 +39,6 @@ extension Ghostty { // The currently active key sequence. The sequence is not active if this is empty. @Published var keySequence: [KeyboardShortcut] = [] - // The currently active key tables. Empty if no tables are active. - @Published var keyTables: [String] = [] - // The current search state. When non-nil, the search overlay should be shown. @Published var searchState: SearchState? { didSet { diff --git a/macos/Sources/Ghostty/Surface View/SurfaceView_UIKit.swift b/macos/Sources/Ghostty/Surface View/SurfaceView_UIKit.swift index 9fffa2929..0fd48ab1a 100644 --- a/macos/Sources/Ghostty/Surface View/SurfaceView_UIKit.swift +++ b/macos/Sources/Ghostty/Surface View/SurfaceView_UIKit.swift @@ -18,9 +18,6 @@ extension Ghostty { // The current search state. When non-nil, the search overlay should be shown. @Published var searchState: SearchState? - // The currently active key tables. Empty if no tables are active. - @Published var keyTables: [String] = [] - /// True when the surface is in readonly mode. @Published private(set) var readonly: Bool = false