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

Add shorthand for escape character #790

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

chrisduerr
Copy link
Contributor

This adds a shorthand for the escape character \e (0x1B).

This is useful especially when talking about things like terminal escape
sequences, which use this character regularly.

Fixes #715.

This adds a shorthand for the escape character `\e` (0x1B).

This is useful especially when talking about things like terminal escape
sequences, which use this character regularly.

Fixes toml-lang#715.
@chrisduerr
Copy link
Contributor Author

I'm aware that the inclusion of this shorthand is not agreed upon yet. But I thought I might as well just send a PR right away so it doesn't just sit around as an issue nobody cares about.

Feel free to just close this if the decision has been made against supporting it. But I think it would be a nice addition.

@eksortso
Copy link
Contributor

If it does pass muster (and I personally support its inclusion), it probably won't come in before v1.0.0 is released.

@chrisduerr
Copy link
Contributor Author

1.0 has been released, so an evaluation of this feature (and the related issue) might be relevant now?

@pradyunsg pradyunsg merged commit e56ab35 into toml-lang:main Mar 6, 2022
@pradyunsg
Copy link
Member

Thanks for filing a complete PR for this @chrisduerr! :)

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.

Support \e ESC Escape Character
3 participants