mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
macos: add new tab command
This commit is contained in:
@@ -9,6 +9,10 @@ extension Ghostty.SurfaceConfiguration: ScriptRecord {
|
||||
init(scriptRecord source: NSDictionary?) throws {
|
||||
self.init()
|
||||
|
||||
guard let source else {
|
||||
return
|
||||
}
|
||||
|
||||
guard let raw = source as? [String: Any] else {
|
||||
throw RecordParseError.invalidType(parameter: "configuration", expected: "a surface configuration record")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user