mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-13 19:15:48 +00:00
macos: rename surface config working directory to not be ambiguous
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
<property name="font size" code="GScF" type="real" description="Font size in points.">
|
||||
<cocoa key="fontSize"/>
|
||||
</property>
|
||||
<property name="working directory" code="GScD" type="text" description="Working directory for the terminal process.">
|
||||
<property name="initial working directory" code="GScD" type="text" description="Initial working directory for the terminal process.">
|
||||
<cocoa key="workingDirectory"/>
|
||||
</property>
|
||||
<property name="command" code="GScC" type="text" description="Command to execute instead of the configured shell.">
|
||||
|
||||
@@ -38,7 +38,7 @@ extension Ghostty.SurfaceConfiguration: ScriptRecord {
|
||||
|
||||
if let rawWorkingDirectory = raw["workingDirectory"] {
|
||||
guard let workingDirectory = rawWorkingDirectory as? String else {
|
||||
throw RecordParseError.invalidType(parameter: "working directory", expected: "text")
|
||||
throw RecordParseError.invalidType(parameter: "initial working directory", expected: "text")
|
||||
}
|
||||
|
||||
if !workingDirectory.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user