UNPKG

sussudio

Version:

An unofficial VS Code Internal API

19 lines (18 loc) 908 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ICwdDetectionCapability, TerminalCapability } from "./capabilities.mjs"; export declare class CwdDetectionCapability implements ICwdDetectionCapability { readonly type = TerminalCapability.CwdDetection; private _cwd; private _cwds; /** * Gets the list of cwds seen in this session in order of last accessed. */ get cwds(): string[]; private readonly _onDidChangeCwd; readonly onDidChangeCwd: import("../../../../base/common/event.mjs").Event<string>; getCwd(): string; updateCwd(cwd: string): void; }