Entered text can get overwritten while typing when wrapped #21952

Closed
opened 2026-01-31 07:59:12 +00:00 by claunia · 4 comments
Owner

Originally created by @alrz on GitHub (Jul 10, 2024).

Windows Terminal version

1.21.1772.0

Windows build number

10.0.19045.0

Other Software

oh-my-posh

Steps to reproduce

  • Type some text until it gets wrapped (resize for a quicker repro)
  • Or past a long command and start editing it in the middle

Expected Behavior

Text should re-wrapped while editing

Actual Behavior

Sometimes the caret stays on the previously entered text, causing overwrite.

Note: apparently this doesn't affect the committed text when hitting enter so it's different from what is rendered.

Originally created by @alrz on GitHub (Jul 10, 2024). ### Windows Terminal version 1.21.1772.0 ### Windows build number 10.0.19045.0 ### Other Software oh-my-posh ### Steps to reproduce - Type some text until it gets wrapped (resize for a quicker repro) - Or past a long command and start editing it in the middle ### Expected Behavior Text should re-wrapped while editing ### Actual Behavior Sometimes the caret stays on the previously entered text, causing overwrite. Note: apparently this doesn't affect the committed text when hitting enter so it's different from what is rendered.
claunia added the Needs-TriageIssue-BugResolution-ExternalNeeds-Attention labels 2026-01-31 07:59:12 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 10, 2024):

Are you using an IME to input text/?

@zadjii-msft commented on GitHub (Jul 10, 2024): Are you using an IME to input text/?
Author
Owner

@alrz commented on GitHub (Jul 10, 2024):

Are you using an IME to input text/?

No, the only extension is ohmyposh, with a large type I hit this quite often but it didn't happen a couple versions back. (not sure at what version this started to happen though)

@alrz commented on GitHub (Jul 10, 2024): > Are you using an IME to input text/? > > No, the only extension is ohmyposh, with a large type I hit this quite often but it didn't happen a couple versions back. (not sure at what version this started to happen though)
Author
Owner

@alrz commented on GitHub (Jul 10, 2024):

Type some text until it gets wrapped

Turns out this only happens with GitBash (2.44.0.windows.1) and on the second line. (in windows terminal or the the default console). Should this be closed as unrelated to terminal?

edit: there's a repro gif in this SO question which is the same issue reported here except that this repros in gitbash standalone.

@alrz commented on GitHub (Jul 10, 2024): >Type some text until it gets wrapped Turns out this only happens with GitBash (2.44.0.windows.1) and on the second line. (in windows terminal or the the default console). Should this be closed as unrelated to terminal? edit: there's a repro gif in this SO [question](https://stackoverflow.com/questions/77856227/git-bash-windows-terminal-theme-causing-text-to-wrap-back-and-write-over-prompt) which is the same issue reported here except that this repros in gitbash standalone.
Author
Owner

@carlos-zamora commented on GitHub (Jul 10, 2024):

Thanks for following up! Since it's an issue with Git bash we'll close this. Thanks!

@carlos-zamora commented on GitHub (Jul 10, 2024): Thanks for following up! Since it's an issue with Git bash we'll close this. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21952