Conpty needs to render the on/off state of the cursor #1498

Closed
opened 2026-01-30 22:28:52 +00:00 by claunia · 3 comments
Owner

Originally created by @zadjii-msft on GitHub (Jun 3, 2019).

Originally assigned to: @zadjii-msft on GitHub.

This is a followup from #1087. I don't render the right state out through conpty, and that means that for tools like apt, the cursor is always on, even when they want it off.

Originally created by @zadjii-msft on GitHub (Jun 3, 2019). Originally assigned to: @zadjii-msft on GitHub. This is a followup from #1087. I don't render the right state out through conpty, and that means that for tools like `apt`, the cursor is always on, even when they want it off.
Author
Owner

@utybo commented on GitHub (Sep 13, 2019):

I'm experiencing the same issue as #1461, which redirects to here.

Any update on this?

Here is an example C# code:

    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Now you see me!");
            Console.CursorVisible = true;
            Console.ReadLine();
            
            Console.CursorVisible = false;
            Console.WriteLine("Now you don't!");
            Console.ReadLine();
        }
    }

image
image
In the second image, the cursor is at the very end of the line

@utybo commented on GitHub (Sep 13, 2019): I'm experiencing the same issue as #1461, which redirects to here. Any update on this? Here is an example C# code: ``` class Program { static void Main(string[] args) { Console.WriteLine("Now you see me!"); Console.CursorVisible = true; Console.ReadLine(); Console.CursorVisible = false; Console.WriteLine("Now you don't!"); Console.ReadLine(); } } ``` ![image](https://user-images.githubusercontent.com/5175705/64894794-fb2e9900-d67a-11e9-9d2b-99d2e81df616.png) ![image](https://user-images.githubusercontent.com/5175705/64894807-0386d400-d67b-11e9-88ed-422dbe63980e.png) In the second image, the cursor is at the very end of the line
Author
Owner

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

Good catch, this we incorrectly marked for Terminal v1.0 when it's really a 20H1 fix.

@zadjii-msft commented on GitHub (Sep 16, 2019): Good catch, this we incorrectly marked for _Terminal v1.0_ when it's really a 20H1 fix.
Author
Owner

@ghost commented on GitHub (Oct 23, 2019):

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

Handy links:

@ghost commented on GitHub (Oct 23, 2019): :tada:This issue was addressed in #2829, which has now been successfully released as `Windows Terminal Preview v0.6.2951.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.6.2951.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#1498