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 support for additional escape characters #564

Closed
wants to merge 1 commit into from

Conversation

chrisduerr
Copy link

This patch adds support for the escapes \xHH and \e which will be part of the next TOML release.


I'm not sure what toml-rs' concrete policy on additions before the next official toml release is, but I found #397 and thought contributions might be welcome.

These escapes would be extremely useful to me already, since they make specifying escape sequences like \e[?1049h significantly easier compared to using unicode \u001b[?1029h. So my goal is to make use of these upcoming TOML features even before official standardization.

This patch adds support for the escapes `\xHH` and `\e` which will be
part of the next TOML release.
@epage
Copy link
Member

epage commented May 31, 2023

As it isn't released yet, things can change. I would like to wait until there is a release

@epage epage closed this May 31, 2023
@chrisduerr chrisduerr deleted the extra_escapes branch May 31, 2023 14:10
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.

2 participants