[PR #5005] Allow IME Text Wrapping #26074

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

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

State: closed
Merged: Yes


Summary of the Pull Request

This PR turns on TextWrapping on TSFInputControl::TextBlock. Once the TextBlock hits the end of the Terminal window, it will wrap downwards, but the TextBlock will have as much width as it had when composition started. Unfortunately, this means if composition starts right at the end of the Terminal with enough width for just one character, there will be a vertical line of characters down the right side of the Terminal 😅. It's definitely not ideal, and I imagine this won't be the last time we visit this issue, but for now users can see what they're typing.

PR Checklist

Validation Steps Performed

Played around with IME towards the edge of the Terminal window.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/5005 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This PR turns on TextWrapping on `TSFInputControl::TextBlock`. Once the TextBlock hits the end of the Terminal window, it will wrap downwards, but the TextBlock will have as much width as it had when composition started. Unfortunately, this means if composition starts right at the end of the Terminal with enough width for just one character, there will be a vertical line of characters down the right side of the Terminal 😅. It's definitely not ideal, and I imagine this won't be the last time we visit this issue, but for now users can see what they're typing. ## PR Checklist * [x] Closes #3657 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Tests added/passed ## Validation Steps Performed Played around with IME towards the edge of the Terminal window.
claunia added the pull-request label 2026-01-31 09:13:45 +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#26074