Skip to content

Test: Terminal auto replies #141341

@Tyriar

Description

@Tyriar

Refs: #133524

Complexity: 2

Authors: @Tyriar, @meganrogge

Create Issue


The terminal has a new feature called auto replies that will reply automatically when a particular sequence of characters is encountered in succession. The main use case for this feature is Windows batch scripts and their annoying Terminate batch job (Y/N)? question they ask, despite the backing process already being killed. The reply is throttled just in case something goes wrong.

The default for the setting is:

  "terminal.integrated.autoReplies": {
    "Terminate batch job (Y/N)": "Y\r"
  }

Do some exploratory testing, try to break it, etc. Whoever is on Windows make sure to test the primary use case of ctrl+c in a batch script, also make sure you can remove the default from the setting to disable it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions