You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the ANSI Escape colors in use with Format-Table loses the column alignment. Any suggestions to correct this behavior? The line that is causing this issue is
"$e[${color}m$($dbValue)${e}[0m"
Yet, if we don't use ANSI Escape the function works fine.
Expected results (colors removed)
id author title genre price publish_date
-- ------ ----- ----- ----- ------------
Bk001 LName, FName XML Powershell Guide Computer 104.95 2020-10-01
Bk002 LName2, FName2 Python Guide Computer 104.95 2020-12-16
Current results (colors removed)
id author title genre price publish_date
-- ------ ----- ----- ----- ------------
Bk001 LName, FName XML Powershell Guide Computer 104.95 2020-10-01
Bk002 LName2, FName2 Python Guide Computer 104.95 2020-12-16
Issue Description
PowerShell output in VS Code is not rendering ANSI Escape colors properly for Format-Table
Issue
From StackOverflow: https://stackoverflow.com/q/62962513/601197
For some reason the ANSI Escape colors in use with Format-Table loses the column alignment. Any suggestions to correct this behavior? The line that is causing this issue is
"$e[${color}m$($dbValue)${e}[0m"
Yet, if we don't use ANSI Escape the function works fine.
Expected results (colors removed)
Current results (colors removed)
Sample code
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: