Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Output format misalignment #6766

Copy link
Copy link
@jianyunt

Description

@jianyunt
Issue body actions

There is misalignment in pwsh-bash cloudshell. The version used is v6.1.0-preview.2.

image

I did initial investigation, it 's likely the issue got introduced by the PR:
#6504

From my vscode, you can see col =0, and lastColWithContent[row]) = 0, so Line 357 gets executed. As a result, "+ " gets TrimEnd().

image

Line 303 did not get called.

image

Steps to reproduce

So far I only see the issue on cloudshell. I am not sure other simple way to repro it.

  1. pwsh preview-2
  2. Install-module azurerm.netcore
  3. install-module ships
  4. install-module Azurepsdrive
  5. ipmo ships
  6. AzureRM.Profile.NetCore\Login-AzureRMAccount
  7. ipmo AzurePSDrive
  8. New-psdrive -name Azure -psprovider SHiPS -root 'Azurepsdrive#Azure'

cd to Azure: and dir
PS Azure:\AutomationTeam> dir

Expected behavior


Actual behavior


Environment data

> $PSVersionTable
v6.1.0-preview.2
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.