macOS: move keyTables to OSSurfaceView

This commit is contained in:
Lukas
2026-04-12 12:06:28 +02:00
parent 19af8e9ce2
commit 56b505cbb0
3 changed files with 3 additions and 6 deletions

View File

@@ -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)

View File

@@ -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 {

View File

@@ -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