Add the option to hide both the task and command lines in the task output (#20920)
The goal is to be able to hide these lines from a task output: ```sh ⏵ Task `...` finished successfully ⏵ Command: ... ``` --------- Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
parent
cb8028c092
commit
659b1c9dcf
5 changed files with 38 additions and 6 deletions
|
@ -51,6 +51,10 @@ pub struct SpawnInTerminal {
|
|||
pub hide: HideStrategy,
|
||||
/// Which shell to use when spawning the task.
|
||||
pub shell: Shell,
|
||||
/// Whether to show the task summary line in the task output (sucess/failure).
|
||||
pub show_summary: bool,
|
||||
/// Whether to show the command line in the task output.
|
||||
pub show_command: bool,
|
||||
}
|
||||
|
||||
/// A final form of the [`TaskTemplate`], that got resolved with a particualar [`TaskContext`] and now is ready to spawn the actual task.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue