Skip to content

Commit

Permalink
ensure shell integration is set when cwd is changed (#234674)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge authored Nov 26, 2024
1 parent c396f28 commit 395ad8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class MainThreadTerminalShellIntegration extends Disposable implements Ma
const onDidAddCommandDetection = this._store.add(this._terminalService.createOnInstanceEvent(instance => {
return Event.map(
Event.filter(instance.capabilities.onDidAddCapabilityType, e => {
return e === TerminalCapability.CommandDetection;
return e === TerminalCapability.CommandDetection || e === TerminalCapability.CwdDetection;
}), () => instance
);
})).event;
Expand Down

0 comments on commit 395ad8f

Please sign in to comment.