Skip to content

Stabilize terminal access APIs #52574

@Tyriar

Description

@Tyriar

These ones seem like no brainers:

export namespace window {
	/**
	 * The currently opened terminals or an empty array.
	 */
	export const terminals: ReadonlyArray<Terminal>;

	/**
	 * An [event](#Event) which fires when a terminal has been created, either through the
	 * [createTerminal](#window.createTerminal) API or commands.
	 */
	export const onDidOpenTerminal: Event<Terminal>;
}

Both live share and python are using/want to use these.

Metadata

Metadata

Assignees

Labels

apiapi-finalizationfeature-requestRequest for new features or functionalityterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions