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

Ctrl+\ wrongly recognised as invalid #561

Open
leg100 opened this issue Dec 29, 2024 · 4 comments
Open

Ctrl+\ wrongly recognised as invalid #561

leg100 opened this issue Dec 29, 2024 · 4 comments

Comments

@leg100
Copy link

leg100 commented Dec 29, 2024

Describe the bug
VHS recognises the control sequence Ctrl+\ as invalid, but I think it should be valid.

Setup

  • Arch
  • Bash
  • Kitty

To Reproduce

cat > vhs.tape
Ctrl+\
vhs vhs.tape
File: vhs.tape
  1 │ Ctrl+\
          ^ Not a valid modifier

  1 │ Ctrl+\
          ^ Invalid control argument: +

  1 │ Ctrl+\
           ^ Expected control character with args, got \

parser: 3 error(s)
recording failed

Expected behavior
Expect VHS to not report any errors and to submit the control sequence to terminal.

@Delta456
Copy link
Contributor

Where is Ctrl+\ used?

@leg100
Copy link
Author

leg100 commented Dec 29, 2024

Where is Ctrl+\ used?

It's used in my Bubbletea app to clear a selection.

@Delta456
Copy link
Contributor

@meowgorithm should we support this?

@sevenc-nanashi
Copy link

sevenc-nanashi commented Jan 19, 2025

Bumping this.
I'm trying to use asciinama with vhs, and it requires Ctrl+\.

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

3 participants