mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 01:00:29 -04:00
Merge from vscode 6e530127a1bb8ffbd1bfb77dc680c321dc0d71f5 (#6844)
This commit is contained in:
@@ -117,6 +117,7 @@ export interface ITerminalConfiguration {
|
||||
splitCwd: 'workspaceRoot' | 'initial' | 'inherited';
|
||||
windowsEnableConpty: boolean;
|
||||
experimentalRefreshOnResume: boolean;
|
||||
experimentalUseTitleEvent: boolean;
|
||||
}
|
||||
|
||||
export interface ITerminalConfigHelper {
|
||||
@@ -636,7 +637,7 @@ export interface ITerminalInstance {
|
||||
/**
|
||||
* Sets the title of the terminal instance.
|
||||
*/
|
||||
setTitle(title: string, eventFromProcess: boolean): void;
|
||||
setTitle(title: string, eventSource: TitleEventSource): void;
|
||||
|
||||
waitForTitle(): Promise<string>;
|
||||
|
||||
@@ -769,6 +770,15 @@ export enum LinuxDistro {
|
||||
Unknown
|
||||
}
|
||||
|
||||
export enum TitleEventSource {
|
||||
/** From the API or the rename command that overrides any other type */
|
||||
Api,
|
||||
/** From the process name property*/
|
||||
Process,
|
||||
/** From the VT sequence */
|
||||
Sequence
|
||||
}
|
||||
|
||||
export interface IWindowsShellHelper extends IDisposable {
|
||||
getShellName(): Promise<string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user