Skip to content

Test: terminal opt-out of persistence API proposal #139112

@meganrogge

Description

@meganrogge

Refs: #118726

Complexity: 3

Authors: @meganrogge, @Tyriar

Create Issue


This milestone, we added a new extension terminal option that allows disabling terminal persistence.

export interface TerminalOptions {
      /**
	* Opt-out of the default terminal persistence on restart and reload
        */
      disablePersistence?: boolean;
}

Setup

  • In an extension, call createTerminal with and without a pty provided.
  • Set disablePersistence and reload/restart the window to confirm the option takes effect.
  • Try providing a location to test that this works for both terminals in the panel and those in the editor area

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions