microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
94.77k stars 8.21k forks source link

Pasting "." (dots) result in ^[On in zsh shell #16725

Closed Ansuel closed 6 months ago

Ansuel commented 6 months ago

Windows Terminal version

1.20.10303.0

Windows build number

10.0.26058.1000

Other Software

No response

Steps to reproduce

  1. Install Ubuntu 22.04.3 LTS from store
  2. Open Ubuntu and setup (I used ansuel as username)
  3. sudo apt install zsh
  4. zsh
  5. Enter 2 (Populate your zshrc with ...)
  6. Copy a string with a dot ("hello.")
  7. Paste the string in terminal
  8. Notice the string "hello^[On"

Expected Behavior

Text is correctly pasted image

Actual Behavior

Text is not correctly pasted image

j4james commented 6 months ago

This is essentially a duplicate of #16654. For more details on what exactly is happening when you paste, see the discussion in #16713.

Ansuel commented 6 months ago

@j4james thanks for pointing this out. Reading it it seems it will be fixed in later release so again thanks for the comments.

zadjii-msft commented 6 months ago

/dup #16654

thanks!

microsoft-github-policy-service[bot] commented 6 months ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!