Cursor resets to legacy on text entry #7863

Closed
opened 2026-01-31 01:14:29 +00:00 by claunia · 8 comments
Owner

Originally created by @volperoid on GitHub (May 1, 2020).

Environment

Windows build number: Microsoft Windows v.10.0.18363.778

Windows Terminal version: PowerShell v.1.18362.752

Note: Changes have been made to the background color, font size, and scroll-forward has been disabled.

Steps to reproduce

  1. Change the cursor to a non-legacy one
  2. Type something

Expected behavior

Preferred cursor remains persistent.

Actual behavior

Non-legacy cursor remains persistent on console (re)launch only. As soon as any characters are typed in the console, the cursor is reset to the default, legacy version.

Originally created by @volperoid on GitHub (May 1, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 Windows build number: **Microsoft Windows v.10.0.18363.778** Windows Terminal version: **PowerShell v.1.18362.752** **Note**: Changes have been made to the background color, font size, and scroll-forward has been disabled. # Steps to reproduce 1. Change the cursor to a non-legacy one 2. Type something # Expected behavior Preferred cursor remains persistent. # Actual behavior Non-legacy cursor remains persistent on console (re)launch only. As soon as any characters are typed in the console, the cursor is reset to the default, legacy version.
claunia added the Resolution-Duplicate label 2026-01-31 01:14:29 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

This is with the traditional console host -- not Windows Terminal -- right?

@DHowett-MSFT commented on GitHub (May 1, 2020): This is with the traditional console host -- not Windows Terminal -- right?
Author
Owner

@volperoid commented on GitHub (May 1, 2020):

It's the regular PowerShell, if that's what you mean.

@volperoid commented on GitHub (May 1, 2020): It's the regular PowerShell, if that's what you mean.
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Excellent. /dup #4124

This should be out with one of the upcoming windows releases. (Sorry, we can only service the inbox console so quickly. 😄)

@DHowett-MSFT commented on GitHub (May 1, 2020): Excellent. /dup #4124 This should be out with one of the upcoming _windows_ releases. (Sorry, we can only service the inbox console so quickly. :smile:)
Author
Owner

@ghost commented on GitHub (May 1, 2020):

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!

@ghost commented on GitHub (May 1, 2020): 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!
Author
Owner

@volperoid commented on GitHub (May 1, 2020):

Now to find out what 'inbox console' means... 🤔

@volperoid commented on GitHub (May 1, 2020): Now to find out what 'inbox console' means... 🤔
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Oh, sorry about that.

So! Powershell and CMD both use the same console window code to get their text onto the screen. It's called "conhost" (short for "console host", because it "hosts" the console APIs). It lives in "c:\windows\system32\conhost.exe".

Inbox -- i assume you know what that one means, but I'm on a roll 😄 -- is just "things that come with the Windows OS". They get updated through Windows Update or the windows install ISO.

This repository contains the source code for the console host and the new Windows Terminal (which is like the console host, but it has tabs and a lot more customization!), so we usually handle all the inbox console complaints here too. Same code, same bugs!

@DHowett-MSFT commented on GitHub (May 1, 2020): Oh, sorry about that. So! Powershell and CMD both use the same console window code to get their text onto the screen. It's called "conhost" (short for "console host", because it "hosts" the console APIs). It lives in `"c:\windows\system32\conhost.exe"`. Inbox -- i assume you know what that one means, but I'm on a roll :smile: -- is just "things that come with the Windows OS". They get updated through Windows Update or the windows install ISO. This repository contains the source code for the console host _and_ the new Windows Terminal (which is like the console host, but it has tabs and a lot more customization!), so we usually handle all the inbox console complaints here too. Same code, same bugs!
Author
Owner

@zadjii-msft commented on GitHub (May 1, 2020):

The "inbox console" is conhost.exe, the terminal window that you're probably used to seeing in Windows. This is the window that appears whenever you launch cmd.exe or powershell.exe directly.

conhost is this window:
image

@zadjii-msft commented on GitHub (May 1, 2020): The "inbox console" is `conhost.exe`, the terminal window that you're probably used to seeing in Windows. This is the window that appears whenever you launch `cmd.exe` or `powershell.exe` directly. `conhost` is this window: ![image](https://user-images.githubusercontent.com/18356694/80823247-ebc87580-8ba1-11ea-97d1-17066233fd53.png)
Author
Owner

@volperoid commented on GitHub (May 26, 2020):

Oh, wow, totally forgot about this thread. 🤔
Yeah spent a good 30 minutes figuring out the difference between a console, terminal, and shell. 😆

@volperoid commented on GitHub (May 26, 2020): Oh, wow, totally forgot about this thread. 🤔 Yeah spent a good 30 minutes figuring out the difference between a console, terminal, and shell. 😆
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7863