Getting a large dump of "^[[D" to the terminal on click in WSL Ubuntu Dev
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.
I'm guessing you've also got the experimental "Reposition the cursor with mouse clicks" enabled?
I think I've seen this with a git diff in the win32 git a few times too, though with slightly different symptoms. I suspect we're sending the arrow keys even though the terminal isn't in the commandline state anymore (now it's in the output).
yep, It only seems to happen when both "Automatically mark prompts on pressing Enter" and "Reposition the cursor with mouse clicks" are enabled in WSL2 Ubuntu at the same time.
This happens to me also
I'm guessing you've also got the experimental "Reposition the cursor with mouse clicks" enabled?
I think I've seen this with a
git diffin the win32 git a few times too, though with slightly different symptoms. I suspect we're sending the arrow keys even though the terminal isn't in the commandline state anymore (now it's in the output).
what is this setting? i dont think i've enabled this and i don't see it in the settings, if it's still an option as of today...
(also running into this issue)
had this as well
however I now enabled focusFollowMouse, and it seems like it's fixed (fingers crossed)