GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Output format misalignment · Issue #6766 · PowerShell/PowerShell

Output format misalignment #6766

New issue
Copy link
New issue
Copy link
Closed
Closed
Output format misalignment#6766
Copy link
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

Description

@jianyunt
Jianyun (jianyunt)
opened on Apr 28, 2018
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

Activity

  1. Ilya (iSazonov)
    added
    WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the product
    on Apr 28, 2018
  2. Steve Lee (SteveL-MSFT)
    added
    Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.
    on Apr 29, 2018
  3. SteveL-MSFT commented on Apr 29, 2018

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Apr 29, 2018
    Member
    More actions

    Dupe of #6767

    Verified that my fix addresses this.

  4. Steve Lee (SteveL-MSFT)
    closed this as completedon Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.