mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
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
This commit is contained in:
committed by
Mitchell Hashimoto
parent
7884909253
commit
6753507826
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user