Cursor position moves into the content when Terminal window is maximized #15859

Closed
opened 2026-01-31 04:50:35 +00:00 by claunia · 3 comments
Owner

Originally created by @egvijayanand on GitHub (Nov 12, 2021).

Windows Terminal version (or Windows build number)

Terminal: 1.11.2921.0
Windows: 10.0.22000.318

Other Software

No response

Steps to reproduce

Open the Windows Terminal in the default-sized window and run any command which returns a good amount of content as its output like dotnet new blazorwasm --help so that it takes up some screen space.

Run the command and then maximize the Terminal window, the cursor position jumps into somewhere in the output content of the previous command rather than in a new blank line.

Refer to the below screenshot for visual representation, the current cursor position is highlighted.

Windows-Terminal-Window-Resize-Cursor-Issue

Expected Behavior

The cursor position should stay in the current blank line even when windows get resized (maximize, manul resizing).

Actual Behavior

The cursor position moves into the output content of the previous command.

Originally created by @egvijayanand on GitHub (Nov 12, 2021). ### Windows Terminal version (or Windows build number) Terminal: 1.11.2921.0 Windows: 10.0.22000.318 ### Other Software _No response_ ### Steps to reproduce Open the Windows Terminal in the default-sized window and run any command which returns a good amount of content as its output like `dotnet new blazorwasm --help` so that it takes up some screen space. Run the command and then maximize the Terminal window, the cursor position jumps into somewhere in the output content of the previous command rather than in a new blank line. Refer to the below screenshot for visual representation, the current cursor position is highlighted. <img width="960" alt="Windows-Terminal-Window-Resize-Cursor-Issue" src="https://user-images.githubusercontent.com/81947404/141455920-051ac2f5-e9de-4499-aefc-196a122f5f4c.png"> ### Expected Behavior The cursor position should stay in the current blank line even when windows get resized (maximize, manul resizing). ### Actual Behavior The cursor position moves into the output content of the previous command.
claunia added the Resolution-Duplicate label 2026-01-31 04:50:35 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 16, 2021):

THAT IS A VERY CONSISTENT REPRO FOR THIS BUG!

THANK GOD!

I've been looking for a consistent repro for months. This is a great thing to have. The bugger picture is #5800, but I think #7253 is specifically the same root cause as this. I'm gonna move this repro there. Thanks!

/dup #7253

@zadjii-msft commented on GitHub (Nov 16, 2021): THAT IS A VERY CONSISTENT REPRO FOR THIS BUG! THANK GOD! I've been looking for a consistent repro for _months_. This is a great thing to have. The bugger picture is #5800, but I think #7253 is specifically the same root cause as this. I'm gonna move this repro there. Thanks! /dup #7253
Author
Owner

@ghost commented on GitHub (Nov 16, 2021):

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 (Nov 16, 2021): 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

@egvijayanand commented on GitHub (Nov 16, 2021):

Glad to know at least it helped to repro the issue in a consistent way.

Hope a fix will be made available at the earliest.

@egvijayanand commented on GitHub (Nov 16, 2021): Glad to know at least it helped to repro the issue in a consistent way. Hope a fix will be made available at the earliest.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15859