Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Add -NoANSI option to all Write-commands #953

Open
DennisL68 opened this issue Apr 4, 2023 · 0 comments
Open

Request: Add -NoANSI option to all Write-commands #953

DennisL68 opened this issue Apr 4, 2023 · 0 comments

Comments

@DennisL68
Copy link

System Details

  • posh-git version/path: 1.1.0 C:\Program Files\WindowsPowerShell\Modules\posh-git\1.1.0
  • PowerShell version: 7.2.9
  • git version 2.39.2.windows.1
  • OS: Microsoft Windows NT 10.0.19045.0

Issue Description

All output from the Write-commands contains colored ANSI-output. If I need to apply logic comparison or pipe the text to a command that can't handle ANSI, the result will be messed up because of the included ANSI escape sequences.

If adding a switch like -NoANSI, the usage of the Write commands should provide plain text output.
It would be that more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant