diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 89f26ec30bf..833699fb890 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -926,8 +926,7 @@ declare module 'vscode' { * For more information on events that can send data see "DEC Private Mode Set (DECSET)" on * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html */ - // todo@API Maybe, isInteractedWith to align with other isXYZ - readonly interactedWith: boolean; + readonly isInteractedWith: boolean; } export interface Terminal { diff --git a/src/vs/workbench/api/common/extHostTerminalService.ts b/src/vs/workbench/api/common/extHostTerminalService.ts index 94d494594cc..ed1cb82337d 100644 --- a/src/vs/workbench/api/common/extHostTerminalService.ts +++ b/src/vs/workbench/api/common/extHostTerminalService.ts @@ -68,7 +68,7 @@ export class ExtHostTerminal { private _pidPromiseComplete: ((value: number | undefined) => any) | undefined; private _rows: number | undefined; private _exitStatus: vscode.TerminalExitStatus | undefined; - private _state: vscode.TerminalState = { interactedWith: false }; + private _state: vscode.TerminalState = { isInteractedWith: false }; public isOpen: boolean = false; @@ -218,8 +218,8 @@ export class ExtHostTerminal { } public setInteractedWith(): boolean { - if (!this._state.interactedWith) { - this._state = { interactedWith: true }; + if (!this._state.isInteractedWith) { + this._state = { isInteractedWith: true }; return true; } return false;