Title: Prompt colors not configurable, not visible on white background · Issue #17961 · PowerShell/PowerShell · GitHub
Open Graph Title: Prompt colors not configurable, not visible on white background · Issue #17961 · PowerShell/PowerShell
X Title: Prompt colors not configurable, not visible on white background · Issue #17961 · 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/17961
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prompt colors not configurable, not visible on white background","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\nThe confirmation dialog uses white text which is not visible on white background. This color cannot by changed by any `Set-PSReadLineOption` or `$PSStyle` variable. The `[Y] Yes` uses light yellow which is barely visible (in fact never noticed it before taking screenshot) and everything else is completely white and therefore invisible to me.\r\n\r\nI propose to add `$PSStyle.Confirmation` options, preferably `Primary/Selected/Default`, `Other`, `Help` and `Text`.\n\n### Expected behavior\n\n```console\n# As rendered\r\n\u003e mkdir test\r\n\u003e '' \u003e test/test.txt\r\n\u003e del test\r\n\r\nConfirm\r\nThe item at /home/dkaszews/Downloads/test has children and the Recurse parameter was not specified. \r\nIf you continue, all children will be removed with the item. Are you sure you want to continue?\r\n[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is \"Y\"):\n```\n\n\n### Actual behavior\n\n```console\n# As rendered\r\n\u003e mkdir test\r\n\u003e '' \u003e test/test.txt\r\n\u003e del test\r\n\r\nConfirm\r\nThe item at /home/dkaszews/Downloads/test has children and the Recurse parameter was not specified. \r\nIf you continue, all children will be removed with the item. Are you sure you want to continue?\r\n [?] Help (default is \"Y\"):\n```\n\n\n### Error details\n\n_No response_\n\n### Environment data\n\n```powershell\nName Value\r\n---- -----\r\nPSVersion 7.3.0-preview.3\r\nPSEdition Core\r\nGitCommitId 7.3.0-preview.3-304-gd02c59addc24e13da3b8ee5e1a8e7aa27e00c745\r\nOS Linux 5.15.0-1013-raspi #15-Ubuntu SMP PREEMPT Mon Aug 8 06:33:06 UTC 2022\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\n```\n\n\n### Visuals\n\nThe `[Y] Yes` is barely visible as light yellow, all other values except `[?] Help` cannot be seen at all.\r\n\r\n\r\n\r\nSelecting text reveals it.\r\n\r\n\r\n","author":{"url":"https://github.com/dkaszews","@type":"Person","name":"dkaszews"},"datePublished":"2022-08-24T17:36:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/17961/PowerShell/issues/17961"}
| 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:3ab0479f-fd84-9f97-1748-1f8ea05e79a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9184:32E44A:76088F:A1543F:6A554BBB |
| html-safe-nonce | a4568f0f659ebf1a7d3e02e2db1f5eaa9f2927c785da333cbc0b901867a8781b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTg0OjMyRTQ0QTo3NjA4OEY6QTE1NDNGOjZBNTU0QkJCIiwidmlzaXRvcl9pZCI6IjQ4MTcwOTY3NzAxNDc0MjM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 335253a682e854e4f53699f3ceb7d3a04443972914bf0b6da85dfc06808c0e88 |
| hovercard-subject-tag | issue:1349804896 |
| 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/17961/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29ff29dbc53f77475c383e20dd63d3c8ff25652e2fcb793f58a03bce386d1dc9/PowerShell/PowerShell/issues/17961 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29ff29dbc53f77475c383e20dd63d3c8ff25652e2fcb793f58a03bce386d1dc9/PowerShell/PowerShell/issues/17961 |
| 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 | dkaszews |
| hostname | github.com |
| expected-hostname | github.com |
| None | cd9eea424140838b22e9eabd53d92b5702617ddd6d76efcd3a37f08d44309ca5 |
| 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 | 3084b9f587e8f1e19803bbe0c77ac77ce3c99c5c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width