Title: Remove unnecessary newlines from output · Issue #7186 · PowerShell/PowerShell · GitHub
Open Graph Title: Remove unnecessary newlines from output · Issue #7186 · PowerShell/PowerShell
X Title: Remove unnecessary newlines from output · Issue #7186 · PowerShell/PowerShell
Description: The formatting code currently adds newlines unnecessarily so you get double and sometimes triple newlines that just take up screen space. Affects all output types. Steps to reproduce Get-Module Expected behavior ModuleType Version Name E...
Open Graph Description: The formatting code currently adds newlines unnecessarily so you get double and sometimes triple newlines that just take up screen space. Affects all output types. Steps to reproduce Get-Module Exp...
X Description: The formatting code currently adds newlines unnecessarily so you get double and sometimes triple newlines that just take up screen space. Affects all output types. Steps to reproduce Get-Module Exp...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7186
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove unnecessary newlines from output","articleBody":"The formatting code currently adds newlines unnecessarily so you get double and sometimes triple newlines that just take up screen space. Affects all output types.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nGet-Module\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\n\r\nModuleType Version Name ExportedCommands\r\n---------- ------- ---- ----------------\r\nScript 0.0 build {Clear-PSRepo, Compress-TestContent, Convert-TxtResourceToXml, ConvertFrom-PesterLog...}\r\nManifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty...}\r\nManifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}\r\nScript 2.0.0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler...}\r\n\r\nPS /Users/steve/repos/PowerShell>\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\n\r\nModuleType Version Name ExportedCommands\r\n---------- ------- ---- ----------------\r\nScript 0.0 build {Clear-PSRepo, Compress-TestContent, Convert-TxtResourceToXml, ConvertFrom-PesterLog...}\r\nManifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty...}\r\nManifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}\r\nScript 2.0.0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler...}\r\n\r\n\r\nPS /Users/steve/repos/PowerShell>\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 6.1.0-preview.3\r\nPSEdition Core\r\nGitCommitId v6.1.0-preview.3\r\nOS Darwin 17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/SteveL-MSFT","@type":"Person","name":"SteveL-MSFT"},"datePublished":"2018-06-26T19:30:36Z","url":"https://github.com/PowerShell/PowerShell/issues/7186"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d06bc7e0-36d2-59ed-1abf-15464f5b36c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C598:3B7A0F:2D96D7:3F827F:6AFD747F |
| html-safe-nonce | bde6e7b001d51e883ffeaa0927dc5f58de26b3d9b63d1e0ccc271bf0e66a30e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTk4OjNCN0EwRjoyRDk2RDc6M0Y4MjdGOjZBRkQ3NDdGIiwidmlzaXRvcl9pZCI6IjYwMDkxODkxMDYxMjk0MDA5NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b563c2f01492ecc49d9ddbe7b33eb9b5a5e3e3700e2240b6ecef6e40b8dd388c |
| hovercard-subject-tag | issue:335960489 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/7186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/824340e35c68cf5c97c41f6556ee390b1159f91612f5cd997b93e87694be303d/PowerShell/PowerShell/issues/7186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/824340e35c68cf5c97c41f6556ee390b1159f91612f5cd997b93e87694be303d/PowerShell/PowerShell/issues/7186 |
| og:image:alt | The formatting code currently adds newlines unnecessarily so you get double and sometimes triple newlines that just take up screen space. Affects all output types. Steps to reproduce Get-Module Exp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width