[PR #15904] AtlasEngine: Fix invalidation when the cursor is invisible #30771

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

Original Pull Request: https://github.com/microsoft/terminal/pull/15904

State: closed
Merged: Yes


PaintCursor() is only called when the cursor is visible, but we need
to invalidate the cursor area even if it isn't. Otherwise a transition
from a visible to an invisible cursor wouldn't be rendered.

I'm confident that this closes #15199

Validation Steps Performed

  • Set blink duration extremely high
  • Launch pwsh.exe
  • Press Enter a few times
  • Press Ctrl+L
  • There are never 2 cursors visible, not even briefly
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15904 **State:** closed **Merged:** Yes --- `PaintCursor()` is only called when the cursor is visible, but we need to invalidate the cursor area even if it isn't. Otherwise a transition from a visible to an invisible cursor wouldn't be rendered. I'm confident that this closes #15199 ## Validation Steps Performed * Set blink duration extremely high * Launch pwsh.exe * Press Enter a few times * Press Ctrl+L * There are never 2 cursors visible, not even briefly ✅
claunia added the pull-request label 2026-01-31 09:42:51 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30771