Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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