[PR #3566] Fix Reverse Walking in AttrRowIterator #25433

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

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

State: closed
Merged: Yes


Summary of the Pull Request

The count -= _currentAttributeIndex caused _run to go out of bounds. Removing the minor optimization fixes this potential crash.

References

#3409

PR Checklist

Detailed Description of the Pull Request / Additional comments

@miniksa knows much more about this. He's the real MVP.

Validation Steps Performed

  1. Open ubuntu shell
  2. double click the : or ~ in cazamor@PC-cazamor:~$

This used to crash. Not anymore!

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3566 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request The `count -= _currentAttributeIndex` caused `_run` to go out of bounds. Removing the minor optimization fixes this potential crash. ## References #3409 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #3409 * [x] CLA signed * [ ] Tests added/passed * [x] Requires documentation to be updated * [x] I am a core contributor ## Detailed Description of the Pull Request / Additional comments @miniksa knows much more about this. He's the real MVP. ## Validation Steps Performed 1. Open ubuntu shell 2. double click the : or ~ in cazamor@PC-cazamor:~$ This used to crash. Not anymore!
claunia added the pull-request label 2026-01-31 09:09:28 +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#25433