Feature Request - filledBox cursor should cover the whole unicode character #3813

Closed
opened 2026-01-30 23:30:40 +00:00 by claunia · 9 comments
Owner

Originally created by @dotSlashLu on GitHub (Sep 10, 2019).

Originally assigned to: @leonMSFT on GitHub.

Description of the new feature/enhancement

The filledBox cursor should not hide the covered character and it behaves differently for ASCII and wide characters:

  • For ASCII, the cursor covers the whole character:
    image
  • For wide characters, the cursor only covers part of the characters:
    image

Other terminal applications typically handle this well, take XShell for an example:
image
image
And the cursor automatically invert the covered character's color to show it properly without hiding it behind.

Originally created by @dotSlashLu on GitHub (Sep 10, 2019). Originally assigned to: @leonMSFT on GitHub. # Description of the new feature/enhancement The filledBox cursor should not hide the covered character and it behaves differently for ASCII and wide characters: - For ASCII, the cursor covers the whole character: ![image](https://user-images.githubusercontent.com/3133289/64631827-81a06c00-d42a-11e9-9810-87f3e1ddd162.png) - For wide characters, the cursor only covers part of the characters: ![image](https://user-images.githubusercontent.com/3133289/64631848-8e24c480-d42a-11e9-8fe3-383efa313ffb.png) Other terminal applications typically handle this well, take XShell for an example: ![image](https://user-images.githubusercontent.com/3133289/64632081-0095a480-d42b-11e9-873c-922d03df257c.png) ![image](https://user-images.githubusercontent.com/3133289/64632093-05f2ef00-d42b-11e9-82e1-3f0b9d780751.png) And the cursor automatically invert the covered character's color to show it properly without hiding it behind.
Author
Owner

@mdtauk commented on GitHub (Sep 10, 2019):

Perhaps along with the UI category, there should be one for rendering?

@mdtauk commented on GitHub (Sep 10, 2019): Perhaps along with the UI category, there should be one for rendering?
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 10, 2019):

@mdtauk You mean like Area-Rendering?

@DHowett-MSFT commented on GitHub (Sep 10, 2019): @mdtauk You mean like [Area-Rendering](https://github.com/microsoft/terminal/issues?q=is%3Aopen+is%3Aissue+label%3AArea-Rendering)?
Author
Owner

@zadjii-msft commented on GitHub (Sep 11, 2019):

Is this not the same as #1203?

@zadjii-msft commented on GitHub (Sep 11, 2019): Is this not the same as #1203?
Author
Owner

@mdtauk commented on GitHub (Sep 11, 2019):

@mdtauk You mean like Area-Rendering?

I was looking at the Projects section, and only saw Design and Specification

:D

@mdtauk commented on GitHub (Sep 11, 2019): > @mdtauk You mean like [Area-Rendering](https://github.com/microsoft/terminal/issues?q=is%3Aopen+is%3Aissue+label%3AArea-Rendering)? I was looking at the Projects section, and only saw **Design** and **Specification** :D
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 11, 2019):

@zadjii-msft nah this is "my character is double-cell, but my cursor is single-cell."

@DHowett-MSFT commented on GitHub (Sep 11, 2019): @zadjii-msft nah this is "my character is double-cell, but my cursor is single-cell."
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 16, 2019):

Something something RenderData::GetCursorWidth

@DHowett-MSFT commented on GitHub (Sep 16, 2019): Something something `RenderData::GetCursorWidth`
Author
Owner

@zadjii-msft commented on GitHub (Mar 16, 2020):

You know, it's been like 5 months since the fix was proposed in #2932 and subsequently reverted. I don't totally remember what all went down with that, and reading through the notes didn't really clear it up for me. I think I'd be more comfortable with @miniksa handling this one.

We did a bunch to help our use-after-free's in the Terminal codebase since then, so maybe the original fix would just work by itself now.

@zadjii-msft commented on GitHub (Mar 16, 2020): You know, it's been like 5 months since the fix was proposed in #2932 and subsequently reverted. I don't totally remember what all went down with that, and reading through the notes didn't really clear it up for me. I think I'd be more comfortable with @miniksa handling this one. We did a bunch to help our use-after-free's in the Terminal codebase since then, so maybe the original fix would just work by itself now.
Author
Owner

@miniksa commented on GitHub (Mar 16, 2020):

I would like to do this, it's just that my stack of work is already so high and the world is sort of on fire. So we'll see.

@miniksa commented on GitHub (Mar 16, 2020): I would like to do this, it's just that my stack of work is already so high and the world is sort of on fire. So we'll see.
Author
Owner

@ghost commented on GitHub (Apr 22, 2020):

:tada:This issue was addressed in #5319, which has now been successfully released as Windows Terminal Preview v0.11.1121.0.🎉

Handy links:

@ghost commented on GitHub (Apr 22, 2020): :tada:This issue was addressed in #5319, which has now been successfully released as `Windows Terminal Preview v0.11.1121.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.11.1121.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3813