Title: Get-ChildItem in Out-GridView with ANSI Escape sequences :-( · Issue #17636 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-ChildItem in Out-GridView with ANSI Escape sequences :-( · Issue #17636 · PowerShell/PowerShell
X Title: Get-ChildItem in Out-GridView with ANSI Escape sequences :-( · Issue #17636 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17636
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-ChildItem in Out-GridView with ANSI Escape sequences :-(","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nUsing for example PowerShell 7.3.0-preview.5 on Windows 10 21H1.\r\nWith PowerShell 7.1.4 it don't work, because it needs the file and directory coloring.\r\nInput then `Get-ChildItem | Out-GridView` on the PowerShell in a directory with subdirectories and *-.exe-files.\r\n\r\n\r\n\n\n### Expected behavior\n\n```console\nThat a directory called \"Downloads\" is in the Out-GridView shown as \"Downloads\".\r\nAnd that an executable called \"program.exe\" is in the Out-GridView shown as \"program.exe\".\n```\n\n\n### Actual behavior\n\n```console\nThe directory called \"Downloads\" is in the Out-GridView shown as \"[44;1mDownloads[0m\".\r\nAnd the executable called \"program.exe\" is in the Out-GridView shown as \"[32;1mprogram.exe[0m\".\n```\n\n\n### Error details\n\n```console\nthere is no error\n```\n\n\n### Environment data\n\n```powershell\nPS D:\\> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.3.0-preview.5\r\nPSEdition Core\r\nGitCommitId 7.3.0-preview.5\r\nOS Microsoft Windows 10.0.19043\r\nPlatform Win32NT\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\nPS D:\\>\n```\n\n\n### Visuals\n\n\u003cimg width=\"674\" alt=\"outgrid\" src=\"https://user-images.githubusercontent.com/8337032/177521924-636f2d7f-6d06-482d-a57f-f1a1f34a1f4b.png\">\r\n","author":{"url":"https://github.com/theuserbl","@type":"Person","name":"theuserbl"},"datePublished":"2022-07-06T09:49:05Z","url":"https://github.com/PowerShell/PowerShell/issues/17636"}
| 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:e9d0e4e7-20c2-c74f-ab90-73deaf9d41f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D838:245D61:27B495:3666EC:6AFD9389 |
| html-safe-nonce | 057888a0486d1f8100c10611c9e32263f9154dd4222dad0eaebdd758d441db06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODM4OjI0NUQ2MToyN0I0OTU6MzY2NkVDOjZBRkQ5Mzg5IiwidmlzaXRvcl9pZCI6IjEwNDg5MDMwNDIwNzk3NTcxOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62450da27ae2706361248dc8992c891506f3321ebac2416ef4c05dd8c5a74fe6 |
| hovercard-subject-tag | issue:1295573461 |
| 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/17636/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e86a3565f7e60bfd68fb6e1d8e8079073c03ae1adccf53d54a7ac10d4b00dace/PowerShell/PowerShell/issues/17636 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e86a3565f7e60bfd68fb6e1d8e8079073c03ae1adccf53d54a7ac10d4b00dace/PowerShell/PowerShell/issues/17636 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theuserbl |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width