We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_parseKeyValueAssignment
1 parent bf4ae00 commit 2c468dfCopy full SHA for 2c468df
src/vs/platform/terminal/common/xterm/shellIntegrationAddon.ts
@@ -330,12 +330,10 @@ export class ShellIntegrationAddon extends Disposable implements IShellIntegrati
330
return true;
331
}
332
case VSCodeOscPt.Property: {
333
- const [key, ...rawValues] = args[0].split('=');
334
- if (!rawValues.length) {
+ const { key, value } = this._parseKeyValueAssignment(args[0]);
+ if (value === undefined) {
335
336
337
- const rawValue = rawValues.join('=');
338
- const value = this._deserializeMessage(rawValue);
339
switch (key) {
340
case 'Cwd': {
341
// TODO: Ideally we would also support the following to supplement our own:
0 commit comments