microsoft / microsoft/terminal

Getting a large dump of "^[[D" to the terminal on click in WSL Ubuntu Dev

Open
#17,803 7 comments 10 reactions 1 assignee Claimed by @zadjii-msft View on GitHub
Area-TerminalControl Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.22.2371.0

### Windows build number

10.0.22635.4076

### Other Software

_No response_

### Steps to reproduce

Running WSL2 C:\Windows\system32\wsl.exe -d Ubuntu.

Having "Automatically mark prompts on pressing Enter" enabled.

Have long running job. "find ." or "docker-compose up"

Clicking the terminal.

### Expected Behavior

Nothing to be added.

### Actual Behavior

Clicking the terminal causes a large dump to terminal.

If I turn "Automatically mark prompts on pressing Enter" off it goes away.

![image](https://github.com/user-attachments/assets/1ad2cc4d-a80e-415c-98af-4fa20636b3de)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.