vercel / vercel/hyper

Cant use ctrl+h as keybinding, as it is treated identically to backspace.

Open
#3,204 10 comments 8 reactions 0 assignees View on GitHub

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. This is a duplicate of a closed issue, it was requested to open a new one if this persists.
  • OS version and name: Windows 10 with WSL Ubuntu 18.04
  • Hyper.app version: 2.0.0 (stable)
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I noticed the keycode for CTRL+h is the same as backspace when using WSL through Hyper, but not when using it through CMD or Console. Here are my findings.

The keymaps section of Hyper settings is empty.
Both screenshots use the same WSL installation. Each time, I run showkey -a, then press c-h, then backspace.

CMD
image

Hyper
image

As you can see, only in Hyper does c-h look identical to backspace, according to WSL.

Furthermore, I have ctrl+h keybindings set inside the linux system (for example, switch panel left in tmux), and they work in CMD but not Hyper.

I hope to see this issue resolved, I plan to try and do some digging in Hyper code to locate the problem myself as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue with Hyper 2.0.0 and WSL Ubuntu by running showkey -a, comparing Ctrl+H with Backspace, and checking the tmux keybinding behavior against CMD or Console. Done means Hyper sends Ctrl+H distinctly so the Linux-side binding works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.