Skip to content

Return key produces ANSI escape codes ^[[13u in Terminal #302524

@liamtoney

Description

@liamtoney

On macOS using the fish shell, some terminal interactive prompts which require the user to hit the return key produce ANSI escape sequences instead of the desired "enter" result.

Image

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

  • VS Code Version: 1.111.0
  • OS Version: macOS, Darwin arm64 24.6.0

Steps to Reproduce:

  1. Launch VS Code without extensions from user terminal:
    code --disable-extensions . 
    
  2. Open the VS Code Terminal and make a new text file:
    touch test.txt
    
  3. Attempt to delete the file interactively:
    rm -i test.txt
    

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugterminal-inputRelating to typing in the terminal not doing the right thing, IMEs not working, etc.terminal-shell-fishAn issue in the terminal specific to fish, including shell integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions