Take local project settings into account when launching terminals (#11526)
Fixes #7599 Use project level settings if possible, when creating terminals. Release Notes: - Fixed terminals ignoring project-specific settings ([7599](https://github.com/zed-industries/zed/issues/7599))
This commit is contained in:
parent
07942bbdfe
commit
45aca348b8
2 changed files with 20 additions and 2 deletions
|
@ -596,6 +596,7 @@ impl TerminalPanel {
|
|||
.workspace
|
||||
.update(cx, |workspace, _| workspace.project().clone())
|
||||
.ok()?;
|
||||
|
||||
let reveal = spawn_task.reveal;
|
||||
let window = cx.window_handle();
|
||||
let new_terminal = project.update(cx, |project, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue