Cursor positioning bug when entered text overflows to next line on bottom of the window #13559

Open
opened 2026-01-31 03:45:51 +00:00 by claunia · 0 comments
Owner

Originally created by @JakaBac on GitHub (Apr 19, 2021).

Terminal app 1.7.1033.0 has an issue redrawing/positioning cursor when the cursor is positioned in the middle of the line and the window is resized horizontally so the gets broken onto the new line while everything scrolls up.

Steps to reproduce:

  1. Open Terminal (PowerShell)
  2. Push Enter enough times to get to the bottom of the window
  3. Enter line long enough so it will get broken when window is resized horizontally
  4. Move cursor backwards and enter a different character to mark your position
  5. Resize the window horizontally.
  6. When the line gets broken and text scrolls up observe that the cursor is not where it should be

Old console doesn't have this issue.

cmd.exe in Terminal app has a similar issue

Originally created by @JakaBac on GitHub (Apr 19, 2021). Terminal app 1.7.1033.0 has an issue redrawing/positioning cursor when the cursor is positioned in the middle of the line and the window is resized horizontally so the gets broken onto the new line while everything scrolls up. Steps to reproduce: 1. Open Terminal (PowerShell) 2. Push Enter enough times to get to the bottom of the window 3. Enter line long enough so it will get broken when window is resized horizontally 4. Move cursor backwards and enter a different character to mark your position 5. Resize the window horizontally. 6. When the line gets broken and text scrolls up observe that the cursor is not where it should be Old console doesn't have this issue. cmd.exe in Terminal app has a similar issue
claunia added the Resolution-Duplicate label 2026-01-31 03:45:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13559