mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 05:51:32 +01:00
Clean up terminal cwd handling
This commit is contained in:
@@ -214,14 +214,8 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
|
||||
request.proxy.onInput(data => this._proxy.$acceptProcessInput(request.proxy.terminalId, data));
|
||||
request.proxy.onResize(dimensions => this._proxy.$acceptProcessResize(request.proxy.terminalId, dimensions.cols, dimensions.rows));
|
||||
request.proxy.onShutdown(immediate => this._proxy.$acceptProcessShutdown(request.proxy.terminalId, immediate));
|
||||
request.proxy.onRequestCwd(() => {
|
||||
console.log('onRequestCwd', request.proxy.terminalId);
|
||||
this._proxy.$acceptProcessRequestCwd(request.proxy.terminalId);
|
||||
});
|
||||
request.proxy.onRequestInitialCwd(() => {
|
||||
console.log('onRequestInitialCwd', request.proxy.terminalId);
|
||||
this._proxy.$acceptProcessRequestInitialCwd(request.proxy.terminalId);
|
||||
});
|
||||
request.proxy.onRequestCwd(() => this._proxy.$acceptProcessRequestCwd(request.proxy.terminalId));
|
||||
request.proxy.onRequestInitialCwd(() => this._proxy.$acceptProcessRequestInitialCwd(request.proxy.terminalId));
|
||||
}
|
||||
|
||||
public $sendProcessTitle(terminalId: number, title: string): void {
|
||||
|
||||
Reference in New Issue
Block a user