UNPKG

sussudio

Version:

An unofficial VS Code Internal API

16 lines (15 loc) 903 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ITerminalChildProcess } from "../terminal.mjs"; import { TerminalCapability, INaiveCwdDetectionCapability } from "./capabilities.mjs"; export declare class NaiveCwdDetectionCapability implements INaiveCwdDetectionCapability { private readonly _process; constructor(_process: ITerminalChildProcess); readonly type = TerminalCapability.NaiveCwdDetection; private _cwd; private readonly _onDidChangeCwd; readonly onDidChangeCwd: import("../../../../base/common/event.mjs").Event<string>; getCwd(): Promise<string>; }