[PR #2879] [MERGED] Fix EraseInLine off-by-one error #25129

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2879
Author: @carlos-zamora
Created: 9/24/2019
Status: ✅ Merged
Merged: 9/24/2019
Merged by: @carlos-zamora

Base: master ← Head: carlos-zamora-patch-1


📝 Commits (1)

  • 2c502b8 Bugfix: EraseInLine off-by-one error

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/cascadia/TerminalCore/TerminalApi.cpp (+2 -2)

📄 Description

Summary of the Pull Request

Making Terminal use EraseInLine when clearing exposed an off-by-one error.

PR Checklist

Detailed Description of the Pull Request / Additional comments

None.

Validation Steps Performed

Forced to use EraseInLine() and checked output.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/2879 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 9/24/2019 **Status:** ✅ Merged **Merged:** 9/24/2019 **Merged by:** [@carlos-zamora](https://github.com/carlos-zamora) **Base:** `master` ← **Head:** `carlos-zamora-patch-1` --- ### 📝 Commits (1) - [`2c502b8`](https://github.com/microsoft/terminal/commit/2c502b85937638d7f6f21bbfb4af04a6b05f829d) Bugfix: EraseInLine off-by-one error ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalCore/TerminalApi.cpp` (+2 -2) </details> ### 📄 Description ## Summary of the Pull Request Making Terminal use EraseInLine when clearing exposed an off-by-one error. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #2878 * [x] CLA signed. * [x] ~Tests added/passed~ ## Detailed Description of the Pull Request / Additional comments None. ## Validation Steps Performed Forced to use EraseInLine() and checked output. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:07: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#25129