From ac9f3b88aaea5afa398076e72282ad45aa9df456 Mon Sep 17 00:00:00 2001 From: Caleb Hearth Date: Mon, 15 Sep 2025 13:16:18 -0600 Subject: [PATCH] Pass config to splits in NewTerminalConfig Config contains the command, working directory, and environment variables intended to be passed to the new split, but it looks like we forgot to include it as an argument in this branch. Discussion: https://github.com/ghostty-org/ghostty/discussions/8637 --- macos/Sources/Features/App Intents/NewTerminalIntent.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macos/Sources/Features/App Intents/NewTerminalIntent.swift b/macos/Sources/Features/App Intents/NewTerminalIntent.swift index 9b95208bb..f7242ee56 100644 --- a/macos/Sources/Features/App Intents/NewTerminalIntent.swift +++ b/macos/Sources/Features/App Intents/NewTerminalIntent.swift @@ -123,7 +123,8 @@ struct NewTerminalIntent: AppIntent { if let view = controller.newSplit( at: parent, - direction: location.splitDirection! + direction: location.splitDirection!, + baseConfig: config ) { return .result(value: TerminalEntity(view)) }