Skip to content

PowerShell draws background wrong to the end #18984

Open
@theuserbl

Description

Prerequisites

Steps to reproduce

I have run PSCal on different PowerShell version
https://www.powershellgallery.com/packages/PSCal/1.0.3
https://github.com/digitalguy99/PSCal

I haven't installed it. I only copied this code
https://github.com/digitalguy99/PSCal/blob/main/functions_Draw-Month.ps1
https://github.com/digitalguy99/PSCal/blob/main/functions_Show-Calendar.ps1
in the command line and started than the command "Show-Calendar".

On the old Windows PowerShell 5.1 all works fine:
V51

On PowerShell 7.3.1 there existing a problem with the background coloring:
V731

Same with PowerShell 7.4.0 preview1 on Windows 64:
V740pw

Then I have tesed it on WSL1 with OpenSUSE.
Sometimes it works right.
v740PL1

And sometimes it have much more problems:
V740pl2

Expected behavior

expected behavior: see screenshots.

Actual behavior

actual behavior: see screenshots.

Error details

wrong background on newer PowerShell versions

Environment data

see screenshots

Visuals

The screenhots are in the main part.
Because I can't post, without uploading here images, I the images again.

V51
V731
v740PL1
V740pl2
V740pw

Metadata

Assignees

No one assigned

    Labels

    In-PRIndicates that a PR is out for the issueWG-Interactive-Consolethe console experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions