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

Closed
opened 2026-01-31 07:38:04 +00:00 by claunia · 4 comments
Owner

Originally created by @Ansuel on GitHub (Feb 16, 2024).

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

Originally created by @Ansuel on GitHub (Feb 16, 2024). ### 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](https://github.com/microsoft/terminal/assets/20289090/fea1a429-1aec-48f6-a097-0470562b5fb2) ### Actual Behavior Text is not correctly pasted ![image](https://github.com/microsoft/terminal/assets/20289090/a95f14d6-5a18-47b8-abf4-2f5a3c580ca7)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:38:04 +00:00
Author
Owner

@j4james commented on GitHub (Feb 16, 2024):

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

@j4james commented on GitHub (Feb 16, 2024): This is essentially a duplicate of #16654. For more details on what exactly is happening when you paste, see the discussion in #16713.
Author
Owner

@Ansuel commented on GitHub (Feb 16, 2024):

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

@Ansuel commented on GitHub (Feb 16, 2024): @j4james thanks for pointing this out. Reading it it seems it will be fixed in later release so again thanks for the comments.
Author
Owner

@zadjii-msft commented on GitHub (Feb 19, 2024):

/dup #16654

thanks!

@zadjii-msft commented on GitHub (Feb 19, 2024): /dup #16654 thanks!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Feb 19, 2024):

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!

@microsoft-github-policy-service[bot] commented on GitHub (Feb 19, 2024): 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! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21263