Hyper: Key repeat in hyper canary

Created on 27 Sep 2017  路  8Comments  路  Source: vercel/hyper

  • [ ] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: MacOS 12.13 High Sierra
  • Hyper.app version: 2.0.4
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/pablopunk/5af1eb66a0ecd9833a252a63d38c3547
  • Relevant information from devtools _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Canary straight out of the box

Issue

Basically pressing and holding any letter won't repeat it. Like, I press and hold k and it prints just one.

Also, if I press and hold space it does repeat this one.

v2 Bug 馃憜 Is Upstream

Most helpful comment

This is an upstream issue, so from here let's follow the discussion over at sourcelair/xterm.js#265

Here's a workaround: Disable Apple press and hold for Hyper by pasting this into any terminal:

defaults write co.zeit.hyper ApplePressAndHoldEnabled -bool false

You need to restart Hyper for this to take effect

All 8 comments

This is an upstream issue, so from here let's follow the discussion over at sourcelair/xterm.js#265

Here's a workaround: Disable Apple press and hold for Hyper by pasting this into any terminal:

defaults write co.zeit.hyper ApplePressAndHoldEnabled -bool false

You need to restart Hyper for this to take effect

defaults write co.zeit.hyper ApplePressAndHoldEnabled -bool false

Doesn't seem to work for me on 2.1.1 馃槩

I fixed it for all apps on my mac:

defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

Then reboot and it's done!

@pablopunk thanks for sharing, do you know of any way for the below command to take affect without a reboot?

defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

@ipatch not sure, maybe logout and login, try that.

looks like xterm recently fixed this problem on their end

looks like xterm recently fixed this problem on their end

Fixed in 3.10.0 of xterm last December in xtermjs/xterm.js#265

Hyper is on 3.12.0 as of #3536.

But the problem still exists for me in Hyper 2.1.2. Maybe not in stable yet? How can I find that out?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cristian-sima picture cristian-sima  路  51Comments

indutny picture indutny  路  46Comments

b0rski picture b0rski  路  66Comments

rofazayn picture rofazayn  路  65Comments

deepsweet picture deepsweet  路  47Comments