Hyperterm doesn't handle Alt key combinations correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: macOS 10.12.2
- Hyper.app version: 1.0.1
- The issue is reproducible in vanilla Hyper.app: Added
modifierKeys: { altIsMeta: true }to otherwise stock .hyper.js
Issue
Issue: when trying to do Alt key combinations (ie. Alt+Left_arrow, Alt+backspace), Hyperterm doesn't interpret this as a command (such as skipping back/forward a word or deleting an entire word). When using Alt+arrow keys, Hyper places [D or [C, etc. and when using Alt+delete, it deletes two words instead of one. Alt+delete also causes multiple lines of text to be erased in emacs.
Relevant info: using zsh shell + ohmyzsh, only modification to .hyper.js is
modifierKeys: { altIsMeta: true } to get Alt to work at all.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Alt+arrow and Alt+delete behavior in Hyper with the reported .hyper.js setting, using zsh and the stated macOS version. Compare the resulting escape sequences and deletions with expected shell behavior; done means word navigation and deletion work without extra characters or unintended erasure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, zsh
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100