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.
Issue originates in term.js
: https://github.com/sourcelair/xterm.js/issues/265
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?
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