master (commit 99441c7)The key repeat is broken on OSX Catalina, somewhere between d2fd73b and 99441c7.
__REPRO:__
esy run)jExpected: j should repeat and you should end up with jjjj... in the input box
Actual: Only one j is entered
Interestingly, this does not repro on OSX 10.14.
This is blocking upgrade for Onivim 2: onivim/oni2#1149
Another interesting thing is that it looks like backspace and enter (probably more) do work still, but letters don't.
Ie in that same example, you can hold backspace to delete all of the letters, or in Oni2 holding enter does move the cursor as much as expected.
I first see this behaviour once this PR is merged: https://github.com/revery-ui/revery/pull/672
I expect its something unrelated to actual input, and more something with some macOS specific option (ApplePressAndHoldEnabled or something) and hooking up the notifications has tripped that up.
That is further solidified by the fact that if you hold something like i you get the accent pop-up menu (in the corner of the window) and that it doesn't exhibit for arrows or backspace/enter.

EDIT: Had a look in electron land how its dealt with : https://electronjs.org/docs/all#systempreferencessetuserdefaultkey-type-value-macos
Looks like we need to sort out the NSUserDefaults? I tried messing with the plist file that was added there, but I can't see it being loaded anywhere.
Apparently this is still an issue. Reported on oni2: https://github.com/onivim/oni2/issues/1222
Should be fixed with #716.
Tested on 10.14/Catalina - looks good to me. Thanks @CrossR and @zbaylin !