Skip to content

Black background in PowerShell commands #6767

@krzysdz

Description

@krzysdz

Since commit ddbe370 (#6506) a black background appears after space in commands while using PowerShell.

Environment

Windows build number: 10.0.19041.329
Windows Terminal versions: all since commit ddbe370

Steps to reproduce

  1. Open PowerShell (tested in 5.1 and 7.0.2)
  2. Do either of these:
    • press space,
    • write anything and press space,
    • use the arrow up to display a command from history that contains a space character.

Expected behavior

The background colour does not change and the acrylic effect is visible.
terminal_PS_older

Actual behavior

A weird black background appears after the space character.
terminal_PS_black_bg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-Tag-FixDoesn't match tag requirementsResolution-ExternalFor issues that are outside this codebaseResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions