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

fix escape characters being forcefully inserted when calling 'zig env' #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gogopex
Copy link

@Gogopex Gogopex commented Jul 28, 2024

Fixes: #105

This removes escape characters being inserted due to various shells configurations. I think the -- plain can technically be dropped, as escape characters for color rendering are inserted regardless.

I also tried solutions with:

  • --color off (it led me to realize it was shell related)
  • forcing a clean env during this scope (but I think it'd run into cross-platform issues)
  • adding version checking as --plain was introduced in ~0.11, but I don't believe it is needed in the end.

cc: @melenaus

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

Successfully merging this pull request may close these issues.

zig_fmt_autosave writes escape characters in the current buffer
1 participant