[1.21] Doesn't show the prompt when using "Shell Integration" escape sequences in bash prompt on WSL #21658

Closed
opened 2026-01-31 07:51:10 +00:00 by claunia · 3 comments
Owner

Originally created by @crramirez on GitHub (May 8, 2024).

Windows Terminal version

1.21.1272.0

Windows build number

10.0.22631.3527

Other Software

bash

Steps to reproduce

PS1='\[\033]133;D;$?\]\[\033\\\033]133;A\033\\\]$ \[\033]9;9;"$(wslpath -w "${PWD}")"\033\\\]\[\033]133;B\033\\\]' 

Expected Behavior

A prompt with enabled Shell integration

Actual Behavior

The prompt doesn't show up until you hit enter, and the cursor is not in front of it.

It worked in Preview 1.20

Originally created by @crramirez on GitHub (May 8, 2024). ### Windows Terminal version 1.21.1272.0 ### Windows build number 10.0.22631.3527 ### Other Software bash ### Steps to reproduce ```bash PS1='\[\033]133;D;$?\]\[\033\\\033]133;A\033\\\]$ \[\033]9;9;"$(wslpath -w "${PWD}")"\033\\\]\[\033]133;B\033\\\]' ``` ### Expected Behavior A prompt with enabled Shell integration ### Actual Behavior The prompt doesn't show up until you hit enter, and the cursor is not in front of it. It worked in Preview 1.20
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:51:10 +00:00
Author
Owner

@carlos-zamora commented on GitHub (May 8, 2024):

Thanks for filing! This should be fixed by #17212, thus closing 😊. It's on our queue servicing so it'll be fixed when the servicing update goes out.

@carlos-zamora commented on GitHub (May 8, 2024): Thanks for filing! This should be fixed by #17212, thus closing 😊. It's on our queue servicing so it'll be fixed when the servicing update goes out.
Author
Owner

@crramirez commented on GitHub (May 8, 2024):

Oh, sorry. I did a quick search to see if the issue had already been reported, and I didn't see it.

@crramirez commented on GitHub (May 8, 2024): Oh, sorry. I did a quick search to see if the issue had already been reported, and I didn't see it.
Author
Owner

@DHowett commented on GitHub (May 8, 2024):

@crramirez oh you don't need to apologize! Thanks! :)

@DHowett commented on GitHub (May 8, 2024): @crramirez oh you don't need to apologize! Thanks! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21658