PS 7 prompt does not render properly with shell integration profile code #21673

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

Originally created by @StevenBucher98 on GitHub (May 9, 2024).

Windows Terminal version

1.22.1271.0

Windows build number

10.0.22635.0

Other Software

PowerShell 7.4.2

Steps to reproduce

Include this code in your pwsh Profile https://learn.microsoft.com/en-us/windows/terminal/tutorials/shell-integration#powershell-pwshexe

Expected Behavior

Prompt is always rendered and available

Actual Behavior

Prompt does not show up until a character is typed
WTShellInteractionBug

Originally created by @StevenBucher98 on GitHub (May 9, 2024). ### Windows Terminal version 1.22.1271.0 ### Windows build number 10.0.22635.0 ### Other Software PowerShell 7.4.2 ### Steps to reproduce Include this code in your pwsh Profile https://learn.microsoft.com/en-us/windows/terminal/tutorials/shell-integration#powershell-pwshexe ### Expected Behavior Prompt is always rendered and available ### Actual Behavior Prompt does not show up until a character is typed ![WTShellInteractionBug](https://github.com/microsoft/terminal/assets/20605456/9d0b8151-dfd4-4337-af35-332277052cf7)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:51:38 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (May 9, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (May 9, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Spaces added to prompt on shell launch (PowerShell/pwsh) (#8341)](https://github.com/microsoft/terminal/issues/8341), similarity score: 0.75 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@yak1ex commented on GitHub (May 9, 2024):

I observed the similar issue in:
Windows Terminal Version: 1.21.240506002-preview (this is v1.21.1272.0)
PSVersion: 5.1.19041.4291
with shell integration & Set-PSReadLineOption -PredictionViewStyle ListView

Might it be "1.22.1271.0" was wrong version description?
An actual similar issue is https://github.com/microsoft/terminal/issues/17204,
and it was stated to be closed by https://github.com/microsoft/terminal/pull/17212

I have not confirmed yet.

@yak1ex commented on GitHub (May 9, 2024): I observed the similar issue in: Windows Terminal Version: 1.21.240506002-preview (this is v1.21.1272.0) PSVersion: 5.1.19041.4291 with shell integration & Set-PSReadLineOption -PredictionViewStyle ListView Might it be "1.22.1271.0" was wrong version description? An actual similar issue is https://github.com/microsoft/terminal/issues/17204, and it was stated to be closed by https://github.com/microsoft/terminal/pull/17212 I have not confirmed yet.
Author
Owner

@zadjii-msft commented on GitHub (May 9, 2024):

Yea this is a /duplicate of #17204. Thanks all!

@zadjii-msft commented on GitHub (May 9, 2024): Yea this is a /duplicate of #17204. Thanks all!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (May 9, 2024):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (May 9, 2024): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21673