Hi guys, I’ve developed a package called atom-2048 and it worked in atom 0.XX.
While trying to port it for atom 1.0, it turns out I can’t use
keydown event anymore. It won’t fire.
But if I use
atom.views.getView(atom.workspace).addEventListener "keydown" (e)->, the event is propagated to me, but I can’t prevent it.
So how can I fix this?