Atlas Engine: The cursor leaves artifacts when you delete a long line #18493

Closed
opened 2026-01-31 06:15:44 +00:00 by claunia · 3 comments
Owner

Originally created by @237dmitry on GitHub (Sep 18, 2022).

Windows Terminal version

1.16.2524.0

Windows build number

10.0.22000.0

Other Software

pwsh 7.2.6, PSReadLine 2.2.6
cmd.exe

Steps to reproduce

Type long string and delete they by holding Backspace key pressed.
This behavior is only then "useAtlasEngine": true

01
02
03

Expected Behavior

No artifacts

Actual Behavior

Deleting long line leaves artifacts.

Originally created by @237dmitry on GitHub (Sep 18, 2022). ### Windows Terminal version 1.16.2524.0 ### Windows build number 10.0.22000.0 ### Other Software pwsh 7.2.6, PSReadLine 2.2.6 cmd.exe ### Steps to reproduce Type long string and delete they by holding Backspace key pressed. This behavior is only then `"useAtlasEngine": true` ![01](https://user-images.githubusercontent.com/78153320/190914018-ea9ad1b5-c8f3-4d22-a706-ef214f987a96.png) ![02](https://user-images.githubusercontent.com/78153320/190914030-cecc28cf-f948-45ee-a6d9-a49e544c85a7.png) ![03](https://user-images.githubusercontent.com/78153320/190914037-e2c06f41-90a2-445a-9bf6-0caca17190ac.png) ### Expected Behavior No artifacts ### Actual Behavior Deleting long line leaves artifacts.
Author
Owner

@lhecker commented on GitHub (Sep 19, 2022):

Actually I'm not entirely sure if this is an AtlasEngine issue... Cursor wrap around is just weird right now and my cursor vanishes / stops blinking when I wrap to the previous line with backspace.
...And this issue is entirely exclusive to Windows Terminal. It doesn't happen with OpenConsole.

@lhecker commented on GitHub (Sep 19, 2022): Actually I'm not entirely sure if this is an AtlasEngine issue... Cursor wrap around is just weird right now and my cursor vanishes / stops blinking when I wrap to the previous line with backspace. ...And this issue is entirely exclusive to Windows Terminal. It doesn't happen with OpenConsole.
Author
Owner

@lhecker commented on GitHub (Sep 19, 2022):

Figured it out: There's a different behavior regarding cursors between conhost and Windows Terminal. In case of the latter we don't necessarily call PaintCursor during cursor movement, because the cursor blinker never stops "blinking".

@lhecker commented on GitHub (Sep 19, 2022): Figured it out: There's a different behavior regarding cursors between conhost and Windows Terminal. In case of the latter we don't necessarily call `PaintCursor` during cursor movement, because the cursor blinker never stops "blinking".
Author
Owner

@ghost commented on GitHub (Sep 23, 2022):

:tada:This issue was addressed in #14038, which has now been successfully released as Windows Terminal Preview v1.16.2641.0.🎉

Handy links:

@ghost commented on GitHub (Sep 23, 2022): :tada:This issue was addressed in #14038, which has now been successfully released as `Windows Terminal Preview v1.16.2641.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.16.2641.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?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#18493