[PR #13097] Reduce integer type casts in VtEngine #29389

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

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

State: closed
Merged: Yes


This commit is one of the more difficult rewrites that were necessary as part
of #4015, but still simple enough that it can be done as a separate commit.
The search for the lastNonSpace was replaced with a simpler
std::string_view::find_last_not_of.

Validation Steps Performed

ConPTY appears to work

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13097 **State:** closed **Merged:** Yes --- This commit is one of the more difficult rewrites that were necessary as part of #4015, but still simple enough that it can be done as a separate commit. The search for the `lastNonSpace` was replaced with a simpler `std::string_view::find_last_not_of`. ## Validation Steps Performed ConPTY appears to work ✅
claunia added the pull-request label 2026-01-31 09:34:36 +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#29389