@@ -239,34 +239,6 @@ const enum VSCodeOscPt {
239
239
*/
240
240
EnvJson = 'EnvJson' ,
241
241
242
- /**
243
- * The start of the collecting user's environment variables individually.
244
- * Clears any environment residuals in previous sessions.
245
- *
246
- * Format: `OSC 633 ; EnvSingleStart ; <Nonce>`
247
- *
248
- * WARNING: This sequence is unfinalized, DO NOT use this in your shell integration script.
249
- */
250
- EnvSingleStart = 'EnvSingleStart' ,
251
-
252
- /**
253
- * Sets an entry of single environment variable to transactional pending map of environment variables.
254
- *
255
- * Format: `OSC 633 ; EnvSingleEntry ; <EnvironmentKey> ; <EnvironmentValue> ; <Nonce>`
256
- *
257
- * WARNING: This sequence is unfinalized, DO NOT use this in your shell integration script.
258
- */
259
- EnvSingleEntry = 'EnvSingleEntry' ,
260
-
261
- /**
262
- * The end of the collecting user's environment variables individually.
263
- * Clears any pending environment variables and fires an event that contains user's environment.
264
- *
265
- * Format: `OSC 633 ; EnvSingleEnd ; <Nonce>`
266
- *
267
- * WARNING: This sequence is unfinalized, DO NOT use this in your shell integration script.
268
- */
269
- EnvSingleEnd = 'EnvSingleEnd'
270
242
}
271
243
272
244
/**
@@ -474,24 +446,6 @@ export class ShellIntegrationAddon extends Disposable implements IShellIntegrati
474
446
}
475
447
return true ;
476
448
}
477
- case VSCodeOscPt . EnvSingleStart : {
478
- this . _createOrGetShellEnvDetection ( ) . startEnvironmentSingleVar ( args [ 0 ] === this . _nonce ) ;
479
- return true ;
480
- }
481
- case VSCodeOscPt . EnvSingleEntry : {
482
- const arg0 = args [ 0 ] ;
483
- const arg1 = args [ 1 ] ;
484
- const arg2 = args [ 2 ] ;
485
- if ( arg0 !== undefined && arg1 !== undefined ) {
486
- const env = deserializeMessage ( arg1 ) ;
487
- this . _createOrGetShellEnvDetection ( ) . setEnvironmentSingleVar ( arg0 , env , arg2 === this . _nonce ) ;
488
- }
489
- return true ;
490
- }
491
- case VSCodeOscPt . EnvSingleEnd : {
492
- this . _createOrGetShellEnvDetection ( ) . endEnvironmentSingleVar ( args [ 0 ] === this . _nonce ) ;
493
- return true ;
494
- }
495
449
case VSCodeOscPt . RightPromptStart : {
496
450
this . _createOrGetCommandDetection ( this . _terminal ) . handleRightPromptStart ( ) ;
497
451
return true ;
0 commit comments