This is a regression from Windows PowerShell.
Steps to reproduce
[pscustomobject] @{ one = 1 } |
Format-Table @{ l='one'; e='one'; width=10; alignment='center' }
Expected behavior
Actual behavior
Note how the column header (one) is misaligned.
Environment data
PowerShell Core v6.2.0-preview.2 on macOS 10.14.1
PowerShell Core v6.2.0-preview.2 on Ubuntu 18.04.1 LTS
PowerShell Core v6.2.0-preview.2 on Microsoft Windows 10 Pro (64-bit; Version 1803, OS Build: 17134.407)
This is a regression from Windows PowerShell.
Steps to reproduce
Expected behavior
Actual behavior
Note how the column header (
one) is misaligned.Environment data