Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/platform/terminal/common/terminal.ts')
-rw-r--r--src/vs/platform/terminal/common/terminal.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/vs/platform/terminal/common/terminal.ts b/src/vs/platform/terminal/common/terminal.ts
index bc20c79294c..4c3c72a1f30 100644
--- a/src/vs/platform/terminal/common/terminal.ts
+++ b/src/vs/platform/terminal/common/terminal.ts
@@ -167,6 +167,8 @@ export interface IPtyHostAttachTarget {
icon: TerminalIcon | undefined;
fixedDimensions: IFixedTerminalDimensions | undefined;
environmentVariableCollections: ISerializableEnvironmentVariableCollections | undefined;
+ reconnectionOwner?: string;
+ task?: { label: string; id: string; lastTask: string; group?: string };
}
export enum TitleEventSource {
@@ -438,6 +440,11 @@ export interface IShellLaunchConfig {
*/
ignoreConfigurationCwd?: boolean;
+ /**
+ * The owner of this terminal for reconnection.
+ */
+ reconnectionOwner?: string;
+
/** Whether to wait for a key press before closing the terminal. */
waitOnExit?: boolean | string | ((exitCode: number) => string);
@@ -462,7 +469,7 @@ export interface IShellLaunchConfig {
/**
* This is a terminal that attaches to an already running terminal.
*/
- attachPersistentProcess?: { id: number; findRevivedId?: boolean; pid: number; title: string; titleSource: TitleEventSource; cwd: string; icon?: TerminalIcon; color?: string; hasChildProcesses?: boolean; fixedDimensions?: IFixedTerminalDimensions; environmentVariableCollections?: ISerializableEnvironmentVariableCollections };
+ attachPersistentProcess?: { id: number; findRevivedId?: boolean; pid: number; title: string; titleSource: TitleEventSource; cwd: string; icon?: TerminalIcon; color?: string; hasChildProcesses?: boolean; fixedDimensions?: IFixedTerminalDimensions; environmentVariableCollections?: ISerializableEnvironmentVariableCollections; reconnectionOwner?: string; task?: { label: string; id: string; lastTask: string; group?: string } };
/**
* Whether the terminal process environment should be exactly as provided in
@@ -533,6 +540,11 @@ export interface IShellLaunchConfig {
* Create a terminal without shell integration even when it's enabled
*/
ignoreShellIntegration?: boolean;
+
+ /**
+ * The task associated with this terminal
+ */
+ task?: { lastTask: string; group?: string; label: string; id: string };
}
export interface ICreateContributedTerminalProfileOptions {