After entering the font, a black color block will appear when rolling back #22290

Closed
opened 2026-01-31 08:08:58 +00:00 by claunia · 2 comments
Owner

Originally created by @qinshuze on GitHub (Sep 16, 2024).

Windows Terminal version

1.22.2362.0

Windows build number

10.0.19045.4894

Other Software

No response

Steps to reproduce

  1. Open Windows Terminal
    image

  2. Enter any character
    image

  3. Press the backspace key on the keyboard
    image

Expected Behavior

Do not show any color blocks

Actual Behavior

Black color blocks appeared

Originally created by @qinshuze on GitHub (Sep 16, 2024). ### Windows Terminal version 1.22.2362.0 ### Windows build number 10.0.19045.4894 ### Other Software _No response_ ### Steps to reproduce 1. Open Windows Terminal ![image](https://github.com/user-attachments/assets/4b21ef9b-97e7-417f-93fa-1132b86a4a65) 2. Enter any character ![image](https://github.com/user-attachments/assets/21085b5a-e2f7-49f2-90a1-c226b45dc246) 3. Press the backspace key on the keyboard ![image](https://github.com/user-attachments/assets/439d7689-3f78-4057-8031-28fd947af857) ### Expected Behavior Do not show any color blocks ### Actual Behavior Black color blocks appeared
claunia added the Needs-TriageIssue-BugResolution-External labels 2026-01-31 08:08:58 +00:00
Author
Owner

@lhecker commented on GitHub (Sep 16, 2024):

This is an intentional regression we introduced to make many other major improvements possible, including sixels. It was removed in #17666. The issue happens because Windows 10 ships with PowerShell 6 and PSReadLine 2.0.0-beta3, which contains a bug where the attributes are incorrect. The issue was fixed in this PR that ships with Windows 11: https://github.com/PowerShell/PSReadLine/pull/1626

There's two ways to fix this issue:

@lhecker commented on GitHub (Sep 16, 2024): This is an intentional regression we introduced to make many other major improvements possible, including sixels. It was removed in #17666. The issue happens because Windows 10 ships with PowerShell 6 and PSReadLine 2.0.0-beta3, which contains a bug where the attributes are incorrect. The issue was fixed in this PR that ships with Windows 11: https://github.com/PowerShell/PSReadLine/pull/1626 There's two ways to fix this issue: * (Recommended) You can install the newer PowerShell 7 here: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows If you don't have `winget` installed or don't want to use it, I recommend [downloading the MSI package](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#msi). * Alternatively, you can run `Install-Module PSReadLine` and restart all of your PowerShell tabs. If the command fails, it may be necessary to add a `-Force` parameter.
Author
Owner

@lhecker commented on GitHub (Sep 16, 2024):

I'll be closing this issue for now. If you think I made a mistake or if you have any questions, please feel free to ask here!

@lhecker commented on GitHub (Sep 16, 2024): I'll be closing this issue for now. If you think I made a mistake or if you have any questions, please feel free to ask here!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22290