macos: add new tab command

This commit is contained in:
Mitchell Hashimoto
2026-03-06 12:37:51 -08:00
parent 4d5de702f2
commit d271c8ccaa
4 changed files with 96 additions and 0 deletions

View File

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