Skip to content

Commit

Permalink
Add more shell integration sequences to check for (#22911)
Browse files Browse the repository at this point in the history
Based on discussion with Daniel

For #22440
  • Loading branch information
Kartik Raj authored Feb 13, 2024
1 parent 6838ccf commit 7be33eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export class ShellIntegrationService implements IShellIntegrationService {
}
this.appShell.onDidWriteTerminalData(
(e) => {
if (e.data.includes('\x1b]633;A\x07')) {
traceVerbose(e.data); // Log this temporarily for analysis
if (e.data.includes('\x1b]633;A\x07') || e.data.includes('\x1b]133;A\x07')) {
let { shell } = this.appEnvironment;
if ('shellPath' in e.terminal.creationOptions && e.terminal.creationOptions.shellPath) {
shell = e.terminal.creationOptions.shellPath;
Expand Down

0 comments on commit 7be33eb

Please sign in to comment.