Title: async_update_prompt and async_alert do not respect the allow_style settable · Issue #1581 · python-cmd2/cmd2 · GitHub
Open Graph Title: async_update_prompt and async_alert do not respect the allow_style settable · Issue #1581 · python-cmd2/cmd2
X Title: async_update_prompt and async_alert do not respect the allow_style settable · Issue #1581 · python-cmd2/cmd2
Description: The async_update_prompt and async_alert methods within cmd2.Cmd do not respect the allow_style settable. If allow_style is set to NEVER, then ANSI escape codes should be stripped before outputting using these methods as well.
Open Graph Description: The async_update_prompt and async_alert methods within cmd2.Cmd do not respect the allow_style settable. If allow_style is set to NEVER, then ANSI escape codes should be stripped before outputting ...
X Description: The async_update_prompt and async_alert methods within cmd2.Cmd do not respect the allow_style settable. If allow_style is set to NEVER, then ANSI escape codes should be stripped before outputting ...
Opengraph URL: https://github.com/python-cmd2/cmd2/issues/1581
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"async_update_prompt and async_alert do not respect the allow_style settable","articleBody":"The `async_update_prompt` and `async_alert` methods within `cmd2.Cmd` do not respect the `allow_style` settable.\n\nIf `allow_style` is set to `NEVER`, then ANSI escape codes should be stripped before outputting using these methods as well.","author":{"url":"https://github.com/tleonhardt","@type":"Person","name":"tleonhardt"},"datePublished":"2026-02-20T21:25:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1581/cmd2/issues/1581"}
| 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:9b6c4808-38e5-d782-8670-998d9249df69 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99FE:8AE8C:63EBF92:8D1B75F:6A4FDF17 |
| html-safe-nonce | 3480e04bfff86fdf1d0075070d1b817b889cdd9a3f3288c79893e8becd60e60a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUZFOjhBRThDOjYzRUJGOTI6OEQxQjc1Rjo2QTRGREYxNyIsInZpc2l0b3JfaWQiOiI2MzU2MDU2NDYzMTQ4ODM0NTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 27219952008bfa8baa4d17c166f332af3cd14a037fb3c668876a24ee307327d2 |
| hovercard-subject-tag | issue:3970439601 |
| 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/python-cmd2/cmd2/1581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/816cb13f6ee130d8803245893bf21e25e1a5b229b758d28d5193172282824477/python-cmd2/cmd2/issues/1581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/816cb13f6ee130d8803245893bf21e25e1a5b229b758d28d5193172282824477/python-cmd2/cmd2/issues/1581 |
| og:image:alt | The async_update_prompt and async_alert methods within cmd2.Cmd do not respect the allow_style settable. If allow_style is set to NEVER, then ANSI escape codes should be stripped before outputting ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tleonhardt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| turbo-cache-control | no-preview |
| go-import | github.com/python-cmd2/cmd2 git https://github.com/python-cmd2/cmd2.git |
| octolytics-dimension-user_id | 17161025 |
| octolytics-dimension-user_login | python-cmd2 |
| octolytics-dimension-repository_id | 51442999 |
| octolytics-dimension-repository_nwo | python-cmd2/cmd2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51442999 |
| octolytics-dimension-repository_network_root_nwo | python-cmd2/cmd2 |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width