chrisdone/jquery-console — pull request #18 by johnkpaul (2012-03-29 03:15:47+00:00)
Title: OSX pasting issue - check for meta key in addition to control key when pasting with keyboard

When attempting to paste using cmd+v into a jquery-console box, the result can be seen here - https://github.com/fogus/himera/issues/2

Basically, the text is pasted, but before that the character "v" is added. This is because on OSX, the command key does not set event.ctrlKey to true, but rather event.metaKey. This is by design on macs, as it follows the W3C Events Specification. http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent-metaKey