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

Binding \u001bd is buggy #3494

Open
injust opened this issue Oct 5, 2024 · 0 comments
Open

Binding \u001bd is buggy #3494

injust opened this issue Oct 5, 2024 · 0 comments

Comments

@injust
Copy link
Contributor

injust commented Oct 5, 2024

Description of the problem or steps to reproduce

I found two different bugs because I was binding \u001bd instead of Alt-d.

VS Code

  1. Bind \u001bd to DeleteWordRight
  2. Open micro in VS Code's integrated terminal and test +Delete (it works)
  3. Open and exit raw mode
  4. Test +Delete again (it writes d instead of performing the action)

If you bind Alt-d instead, this bug doesn't happen.

Ghostty

  1. Bind \u001bd to DeleteWordRight
  2. Open micro in Ghostty, run raw mode, and press +Delete
  3. It outputs EventRaw: d: "\x1bd"

If you bind Alt-d instead, it prints EventKey: Alt-d: "\x1bd".

According to Ghostty's inspector, it is sending Alt-delete as expected.

Specifications

Commit hash: 04c5770
OS: macOS Sequoia 15.1
Terminal: Ghostty

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