Skip to content

onDidWriteTerminalData event does not contain shell integration sequences for hidden terminals #204616

@karrtikr

Description

@karrtikr

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.86.0 (user setup)
OS: Windows_NT x64 10.0.23620

Steps to Reproduce:

  1. Subscribe to the following event:
    namespace window {
        /**
         * An event which fires when the terminal's child pseudo-device is written to (the shell).
         * In other words, this provides access to the raw data stream from the process running
         * within the terminal, including VT sequences.
         */
        export const onDidWriteTerminalData: Event<TerminalDataWriteEvent>;
    }
  1. Create a hidden terminal, say powershell
  2. Events are fired
  3. Look for shell integration sequence: "\x1b]633;A\x07" in the "data" param

If I create a normal terminal, the shell integration sequences seem to be there. Seems related to #199611.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions