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

Non-alphabetic control characters are missing syntax highlighting #4

Open
austintraver opened this issue Dec 4, 2022 · 0 comments
Open

Comments

@austintraver
Copy link

Non-alphabetic characters do not have their control-character highlighted. This is the case with

  • CTRL+[
  • CTRL+@
  • CTRL+^
  • CTRL+]
  • CTRL+\
  • CTRL+-

The following section of the code is where the pattern would need to be adjusted, and I am uncertain if the implementation in charmbracelet/vhs currently supports inputting these six control-codes via the CTRL+<KEY> syntax.

"control": {
"type": "PATTERN",
"value": "Ctrl\\+[A-Z]"
},

@austintraver austintraver changed the title Some control characters are missing syntax highlighting Non-alphabetic control characters are missing syntax highlighting Dec 4, 2022
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

No branches or pull requests

1 participant