Skip to content

Commit

Permalink
Merge pull request #4976 from Cooldogyum/main
Browse files Browse the repository at this point in the history
Update tasks-appendix.md
  • Loading branch information
Greg Van Liew authored Nov 29, 2021
2 parents db4633b + 3102eb0 commit 56f5a65
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions docs/editor/tasks-appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,21 +190,41 @@ interface PresentationOptions {

/**
* Controls whether the command associated with the task is echoed
* in the user interface.
* in the user interface. Defaults to `true`.
*/
echo?: boolean;

/**
* Controls whether the panel showing the task output is taking focus.
* Defaults to `false`.
*/
focus?: boolean;

/**
* Controls if the task panel is used for this task only (dedicated),
* shared between tasks (shared) or if a new panel is created on
* every task execution (new). Defaults to `shared`
* every task execution (new). Defaults to `shared`.
*/
panel?: "shared" | "dedicated" | "new";

/**
* Controls whether to show the `Terminal will be reused by tasks,
* press any key to close it` message.
*/
showReuseMessage?: boolean;

/**
* Controls whether the terminal is cleared before this task is run.
* Defaults to `false`.
*/
clear?: boolean;

/**
* Controls whether the task is executed in a specific terminal
* group using split panes. Tasks in the same group (specified by a string value)
* will use split terminals to present instead of a new terminal panel.
*/
group?: string;
}

/**
Expand Down

0 comments on commit 56f5a65

Please sign in to comment.