Closed piersmyers closed 2 years ago
@piersmyers confirmed to be ANSI. Will tackle that.
@piersmyers
Awesome, thank you so much for doing this so quickly Jan, works perfectly now. You're a ⭐.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What would you like to see changed/added?
Please add the ability to include the git status to the console title. I still use Posh Git in my Windows 10 powershell 7 terminal and it does set the POSH_GIT_STATUS environment variable that I could use but OMP doesn't like it to be added to my console_title_template, e.g.:
"console_title_template": "{{ if .Root }}(Admin) {{ end }}{{ .Folder }}{{ .Env.POSH_GIT_STATUS }}"
I assume it is because it is full of escape characters to colourise it. Could it be possible to cleanse this variable so that it can be added to the console title?