Extend task templates with shell and hide fields to use custom shells and custom close behavior (#15031)
This commit is contained in:
@@ -41,6 +41,6 @@ pub fn schedule_resolved_task(
|
||||
})
|
||||
});
|
||||
}
|
||||
cx.emit(crate::Event::SpawnTask(spawn_in_terminal));
|
||||
cx.emit(crate::Event::SpawnTask(Box::new(spawn_in_terminal)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -660,7 +660,7 @@ pub enum Event {
|
||||
ActiveItemChanged,
|
||||
ContactRequestedJoin(u64),
|
||||
WorkspaceCreated(WeakView<Workspace>),
|
||||
SpawnTask(SpawnInTerminal),
|
||||
SpawnTask(Box<SpawnInTerminal>),
|
||||
OpenBundledFile {
|
||||
text: Cow<'static, str>,
|
||||
title: &'static str,
|
||||
|
||||
Reference in New Issue
Block a user