Text with combining characters is rendered incorrectly after editing #5595

Open
opened 2026-01-31 00:16:56 +00:00 by claunia · 0 comments
Owner

Originally created by @mandel59 on GitHub (Dec 17, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.535]
Windows Terminal version (if applicable): Windows Terminal (Preview) Version: 0.7.3451.0
Ubuntu 18.04.3 LTS/WSL1
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)

Steps to reproduce

  1. Paste "そのチェㇷ゚は𩸽" to the terminal.
  2. Type backspace key 8 times.
  3. Paste "そのチェㇷ゚は𩸽" to the terminal.
  4. Type backspace key 8 times.
  5. Paste "そのチェㇷ゚は𩸽" to the terminal.
  6. Type Home key.
  7. Type "echo ".
  8. Type enter key.

Expected behavior

You can delete and insert characters as expected:

MSYS__c_Users_mande 2019-12-17 16-17-47

Actual behavior

Some characters remains after deletion, and characters are inserted in strange places:

mandel59@MSI_ ~ 2019-12-17 16-20-42

Originally created by @mandel59 on GitHub (Dec 17, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.535] Windows Terminal version (if applicable): Windows Terminal (Preview) Version: 0.7.3451.0 Ubuntu 18.04.3 LTS/WSL1 GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu) ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> 1. Paste "そのチェㇷ゚は𩸽" to the terminal. 2. Type backspace key 8 times. 3. Paste "そのチェㇷ゚は𩸽" to the terminal. 4. Type backspace key 8 times. 5. Paste "そのチェㇷ゚は𩸽" to the terminal. 6. Type Home key. 7. Type "echo ". 8. Type enter key. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> You can delete and insert characters as expected: ![MSYS__c_Users_mande 2019-12-17 16-17-47](https://user-images.githubusercontent.com/1079715/70973453-07e2e300-20e9-11ea-9f0f-399e72d2a422.gif) # Actual behavior <!-- What's actually happening? --> Some characters remains after deletion, and characters are inserted in strange places: ![mandel59@MSI_ ~ 2019-12-17 16-20-42](https://user-images.githubusercontent.com/1079715/70973703-7de74a00-20e9-11ea-8f57-8a98dc407f63.gif)
claunia added the Resolution-Duplicate label 2026-01-31 00:16:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5595